DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authphpbb3

This is an old revision of the document!


authphpbb3 Plugin

Compatible with DokuWiki

Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort

plugin Provides user authentication against phpBB 3.x

Last updated on
2017-01-26
Provides
Auth, Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with authentication, phpbb3, sso

By Eole

This plugin allows users to authenticate using phpBB credentials directly in DokuWiki. This plugin is a two-ways authentication meaning a user can authenticate in phpBB or DokuWiki (SSO-like system).

Features list:

  • Authentication: you can login using DokuWiki form with phpBB credentials. A user authenticated using phpBB will be authenticated in DokuWiki and vice versa (mutual authentication).
  • Groups: phpBB groups can be used to set ACL.
  • Profile: DokuWiki user's link redirects to phpBB user's profile.
  • Cache: a cache system is used to improve performance (minimal database requests).

Limitations

DokuWiki and phpBB need to be on the same domain for the authentication to work.

For the SSO feature, the plugin piggybacks on phpBB's cookie by fetching the user's session ID from it.

Installation

Search and install it in the Extension manager or install it manually by extracting the contents of the archive to lib/plugins and renaming the directory to authphpbb3.

Please refer to http://www.dokuwiki.org/plugins for additional info on how to install plugins in DokuWiki.

Configuration

  1. In the “Extension Manager”:
    1. plugin authphpbb3 must be enabled.
  2. In the “Configuration Manager”:
    1. Authenticationauthtype:
      select authphpbb3.
    2. Displayshowuseras:
      select User's full name as interwiki user link.
    3. Plugin SettingsAuthphpbb3plugin»authphpbb3»phpbb_root_path:
      relative path from DokuWiki root directory to phpbb3 root directory.
      Default: ../forums.
    4. Plugin SettingsAuthphpbb3plugin»authphpbb3»phpbb_cache:
      cache validity period in days (0 will disable cache).
      Default : 1.

You must de-activate the following Dokuwiki features. Please refer to Configuration Setting: disableactions.

  • Register
  • Update profile
  • Set new password
  • Delete own account

If you are not using the default protocol (http) and the default port (80), check you have configured the server port and server protocol in your phpBB installation.

⇒ By example, if your phpBB installation is using HTTPS, server port should be 443 and server protocol should be https:// (not empty).

Permissions

To make use of DokuWiki's ACL, add the corresponding phpBB group or username to it (@phpbb_group or phpbb_username).

By design, phpBB founders will be members of @admin group in DokuWiki.

Changes

Known Bugs and Issues

Please report bugs and request features at the issue tracker.

For debugging purposes please enable debug mode and check the log file:

  • Configuration ManagerBasic Settingsallowdebug
  • The debug log will be located at data/cache/debug.log
  • Please see configuration setting allowdebug and more about available debug tools at debugging

Discussion

I've been looking for such a plugin for a long time. This one works perfectly with the latest versions of DokuWiki (2015-08-10a “Detritus”) and phpbb3 (3.1.9). My users can now use both the forum and the wiki with same user data. Even ACL handling can be done easily by adding users to group in the forum. Thank you very much, you did a great job! Please keep maintaining and enhancing it — justme636 2016-06-18 17:36

This plugin work perfectly with the very last versions (2016-06-26a “Elenor of Tsort” and phpBB 3.1.10). Thank you! However, whatever the login/logout used (doku or phpBB), after having logged, you stay on the start page, and after having logged out, you stay on the login phpBB page. How to redirect to the page you were browsing when you pressed login or logout ? This was easily done with the manual integration of old phpBB versions with a &redirect=<?php echo $_SERVER['REQUEST_URI']; ?>. Dokuwiki or phpBB forums doesn't seem to address this issue — lgmortier

Hello, thank you for the feedback. The plugin has been updated to handle login redirections. However, phpBB doesn't natively support logout redirection yet. — Eole 2017-01-08

plugin/authphpbb3.1485426156.txt.gz · Last modified: 2017-01-26 11:22 by Eole

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki