DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authphpbb3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:authphpbb3 [2016-06-27 18:11] Eoleplugin:authphpbb3 [2023-04-21 22:44] (current) Aleksandr
Line 1: Line 1:
-====== authphpbb3 Plugin ======+====== AuthPHPBB3 Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : eole.dev@outlook.com email      : eole.dev@outlook.com
 type       : auth action type       : auth action
-lastupdate : 2016-06-27 +lastupdate : 2019-04-17 
-compatible : Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort+compatible : Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : authentication phpbb3 SSO +tags       : authentication phpbb phpbb3 SSO
- +
-downloadurl: https://github.com/EoleDevel/authphpbb3/zipball/master +
-bugtracker : https://github.com/EoleDevel/authphpbb3/issues +
-sourcerepo : https://github.com/EoleDevel/authphpbb3/ +
-screenshot_img: http://img15.hostingpics.net/pics/409736authphpbb3login.jpg?700+
  
 +downloadurl: https://github.com/Eole-dev/authphpbb3/zipball/master
 +bugtracker : https://github.com/Eole-dev/authphpbb3/issues
 +sourcerepo : https://github.com/Eole-dev/authphpbb3
 +screenshot_img: https://raw.githubusercontent.com/Eole-dev/authphpbb3/master/authphpbb3login.jpg
 ---- ----
 +
 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). 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: 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).   * 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. +  * Groups: phpBB groups can be used to set ACL in DokuWiki
-  * Profile: DokuWiki user's link redirects to phpBB user's profile.+  * Profile: DokuWiki user'profile link redirects to phpBB user's profile.
   * Cache: a cache system is used to improve performance (minimal database requests).   * Cache: a cache system is used to improve performance (minimal database requests).
  
Line 35: Line 35:
 ===== Installation ===== ===== Installation =====
  
-Search and install it in the [[plugin:Extension]] manager or install it manually by extracting the contents of the [[https://github.com/EoleDevel/authphpbb3/zipball/master|archive]] to ''lib/plugins'' and **renaming the directory** to ''authphpbb3''.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. 
  
-Please refer to http://www.dokuwiki.org/plugins for additional info on how to install plugins in DokuWiki.+Or install it manually by extracting the contents of the [[https://github.com/Eole-dev/authphpbb3/zipball/master|archive]] to ''lib/plugins'' and **renaming the directory** to ''authphpbb3''. Please refer to [[:plugins]] for additional info on how to install plugins in DokuWiki.
  
 ==== Configuration ==== ==== Configuration ====
Line 47: Line 47:
     - ''Display'' -> ''showuseras'':\\ select ''User's full name as interwiki user link''.     - ''Display'' -> ''showuseras'':\\ select ''User's full name as interwiki user link''.
     - ''Plugin Settings'' -> ''Authphpbb3'' -> ''plugin»authphpbb3»phpbb_root_path'':\\ relative path from DokuWiki root directory to phpbb3 root directory.\\ Default: ''../forums''.     - ''Plugin Settings'' -> ''Authphpbb3'' -> ''plugin»authphpbb3»phpbb_root_path'':\\ relative path from DokuWiki root directory to phpbb3 root directory.\\ Default: ''../forums''.
-    - ''Plugin Settings'' -> ''Authphpbb3'' -> ''plugin»authphpbb3»phpbb_cache'':\\ cache validity period in days (0 will disable cache).\\ Default : ''1''.+    - ''Plugin Settings'' -> ''Authphpbb3'' -> ''plugin»authphpbb3»phpbb_cache'':\\ cache validity period in days (0 will disable cache).\\ Default : ''0''
 +    - ''Plugin Settings'' -> ''Authphpbb3'' -> ''plugin»authphpbb3»phpbb_inline_style'':\\ If checked, inline-style is used in HTML tags of the authentication form.\\ Default : ''1'' (checked).
  
 You must de-activate the following Dokuwiki features. Please refer to [[config:disableactions|Configuration Setting: disableactions]]. You must de-activate the following Dokuwiki features. Please refer to [[config:disableactions|Configuration Setting: disableactions]].
Line 54: Line 55:
   * Set new password   * Set new password
   * Delete own account   * 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**).
 +
 +> **NOTE**\\
 +> if you change your phpBB protocol/port settings after you setup this plugin, you may run into a problem where the site redirects to a wrong URL upon login or logout.\\ In order to fix this problem, and for DokuWiki to recognize the phpBB configuration change, you need to disable the cache of the authphpbb3 plugin by setting the value to 0.\\ Then, try to login and logout from your DokuWiki, the redirection should work. Finally, you can enable the plugin cache again.
  
 ==== Permissions ==== ==== Permissions ====
  
-To make use of DokuWiki's [[ACL]], add the corresponding phpBB group or username to it (''@phpbb_group'' or ''phpbb_username'').+To make use of DokuWiki's [[ACL]], add the corresponding phpBB group or username to it (''@my phpBB group'' or ''my phpBB username'').  For the built-in "Registered users" phpBB group, use the DokuWiki group name ''@REGISTERED''.
  
 By design, phpBB founders will be members of @admin group in DokuWiki. By design, phpBB founders will be members of @admin group in DokuWiki.
Line 63: Line 71:
 ===== Changes ===== ===== Changes =====
  
-{{rss>https://github.com/EoleDevel/authphpbb3/commits/master.atom date}}+{{rss>https://github.com/Eole-dev/authphpbb3/commits/master.atom date}}
  
 ===== Known Bugs and Issues ===== ===== Known Bugs and Issues =====
  
-Please report bugs and request features at the [[https://github.com/EoleDevel/authphpbb3/issues|issue tracker]].+Please report bugs and request features at the [[https://github.com/Eole-dev/authphpbb3/issues|issue tracker]].
  
 For debugging purposes please enable debug mode and check the log file:  For debugging purposes please enable debug mode and check the log file: 
Line 74: Line 82:
     * Please see configuration setting [[config:allowdebug]] and more about available debug tools at [[devel:debugging]]     * Please see configuration setting [[config:allowdebug]] and more about available debug tools at [[devel:debugging]]
  
-===== Discussion =====+===== Discussions =====
  
 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  --- [[user>justme636|justme636]] //2016-06-18 17:36// 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  --- [[user>justme636|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 --- [[user>lgmortier|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. --- [[user>Eole]] //2017-01-08//
plugin/authphpbb3.1467043876.txt.gz · Last modified: 2016-06-27 18:11 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