Extension talk:PHPBB Auth

/Archive 1 - Up until 28th December 2007

I cleaned up the talk page for the new release. If you need help post on the forums @ http://uber.leetphp.com. --Nick 01:22, 28 December 2007 (UTC)

Is the code for this extension mirrored anywhere? The original download site has gone down and the extension is no longer available. 68.223.244.238 21:02, 7 January 2008 (UTC)
 * The site is up --Nick 08:27, 11 January 2008 (UTC)
 * It is down again. May be it would be good to put this code to some place like Google Code, which is available >99% of time? --89.179.245.37 23:17, 25 January 2008 (UTC)
 * I had it in google code, but the interface was lacking. When I checked the help/FAQ the answer to the problems I had was, "Sorry you can't do whatever. We are adding that later". So someday when Google Code gets better. Anyways my site is normally up. --Nick 23:59, 28 January 2008 (UTC)
 * I'm hosting a small project on Google Code and found that interface actually have everything I need. It's interesting what you were lacking in it? And may be they've added this since then? :) --Ipse 04:38, 29 January 2008 (UTC)
 * One of the main issues I had was being able to change the featured file. So if I set Auth_2.3.zip I can not change it to Auth_2.4.zip --Nick 07:49, 16 February 2008 (UTC)

Does someone has a copy of the extension? The authoprs site is now down for 2 days at least and I want to use this extension. Thanks.--89.18.168.236 13:11, 18 May 2008 (UTC)
 * My site is up. --Nick 08:43, 19 May 2008 (UTC)

Hi!! I cant download de source code... anybody can give me a copy of the extension? Thank you! - mail me: zsuarez@draiz.cat

iauthplugin.php ?
Installed the extension on 1.12.0 PHP5.2.5. I received an including error looking for iAuthPlugin.php. Googled/searched and found no such plug-in. The support site seems to be down and I can't verify what version of the extension I have. I do, however see a note that this was tested on my MediaWiki version. Any ideas? --71.106.200.196 03:50, 3 June 2008 (UTC)

You can download everything you need from Download --Nick 06:14, 3 June 2008 (UTC)

How can anonymous users edit wiki pages?
Only logged in can do this. 84.42.63.97 21:48, 27 December 2008 (UTC)

MediaWiki 1.6.x (aka PHP4 users)
For those of us restricted to PHP4 - phpBB3 works on PHP4 - is there any hope to be had in adapting this script to work with MediaWiki 1.6.x? (It is the last stable version to work on PHP4)?

Multiple wiki groups
We made some changes to allow multiple wiki groups:

Note: This code is based on version 2.6 of this mod.

To configure this you have to add multiple groups in your LocalSettings.php as well: Notice the quotes. It is important to write every group in single quotes. Star 17:24, 6 February 2008 (UTC)


 * NOTE: 3.0.3 now has support for multiple wiki groups. But please leave this code here for those who can not use 3.x line. --Nick 21:58, 3 March 2008 (UTC)

Can we do reverse log in?
I know this used to be a feature, but can we still do it? Like, we log in through MediaWiki and it closes phpBB instead? Or does it do both? Thanks! --74.130.45.110 21:17, 9 February 2008 (UTC)


 * I am not sure what you mean by "we log in through MediaWiki and it closes phpBB instead". --Nick 07:47, 16 February 2008 (UTC)
 * I didn't say that. O_o This is what I meant: "we log in through MediaWiki and it logs us into phpBB" What I'm saying is that, you can't log in through phpBB. You can log in through MediaWiki and it'll log you into phpBB with that account; your extension does the other away around. Is it possible to do it this way? --74.130.45.110 22:22, 18 February 2008 (UTC)

Hello! I am also intrested in this method (if we have a account on mediawiki and we can login in the phpbb 3 and wordpress with same account). Actually I am using phpnuke for my main site and i include a plugin in media wiki so that i can login in mediawiki using the username and password of phpnuke. But i could not find such a plugin for phpbb3 and wordpress. So now i want that if i can connect the phpbb3 and wordpress to the phpnuke wia mediawiki it will be good (i think so). so is there any solution regarding this problam.

Ist this extension also working with mediawiki 1.9.3? 77.179.243.255 16:02, 16 March 2008 (UTC)

Security Issue
The Plugin does not test if a phpBB account is active or not, when granting permission to the wiki. So anyone can easily get access, if he just registers to the phpBB. Even if the Admin of the phpBB wants to limit his access by manually activating his phpBB account, the user gets access to the wiki before that. The Plugin should by default check the `user_type` column in the phpBB_user table and report an error, if the type was '1' (deactivated) but grant access if the type is '0' (active account) or '2' (phpBB Board Founder). So, if the phpBB account is inactive, the wiki access should also be restricted.Heinrich krebs 16:44, 15 August 2009 (UTC)
 * I can see why this feature would be needed. I will look into adding it. --Nick 20:52, 11 November 2009 (UTC)

Thanks
Thanks for this extension! It saves us a lot of duplicate user accounts / passwords. :) --Pnagel 09:19, 9 April 2008 (UTC)
 * You are welcome. --Nick 21:05, 11 November 2009 (UTC)

Notice Errors
I followed the installation instructions but I'm getting some errors. I'm using mediawiki version 1.12.0 and phpbb 3.0.1. These are the errors I'm getting:

Notice: Undefined index: MySQL_Database in /home/xxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php on line 243

Notice: Undefined index: MySQL_Host in /home/xxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php on line 244

Notice: Undefined index: MySQL_Password in /home/ixxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php on line 245

Notice: Undefined index: MySQL_Username in /home/xxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php on line 246

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php:243) in /home/xxxx/public_html/xxxx/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/xxxx/wiki/extensions/Auth_phpBB.php:243) in /home/xxxx/public_html/xxxx/wiki/includes/WebResponse.php on line 10

I'm using the correct host, database user, and password.

75.167.218.31 20:20, 13 May 2008 (UTC)

-> you have some empty lines at the bottom of Auth_phpBB.php. Just delete them, then it should work.

Doesn't work --> Exception Error
After trying to log in, I get immediately this error: exception 'Exception' with message 'Unable to find phpBB installed at (http://www.riev.nl/sint/).' in C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php:650 Stack trace: #0 C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php(917): Auth_phpBB->loadPHPFiles('UTF8') #1 C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php(493): Auth_phpBB->utf8('Rick II') #2 C:\domains\riev.nl\wwwroot\sint\wiki\includes\User.php(567): Auth_phpBB->getCanonicalName('Rick II') #3 C:\domains\riev.nl\wwwroot\sint\wiki\includes\User.php(259): User::getCanonicalName('Rick II', 'valid') #4 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(371): User::newFromName('Rick II') #5 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(447): LoginForm->authenticateUserData #6 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(100): LoginForm->processLogin #7 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(17): LoginForm->execute #8 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialPage.php(678): wfSpecialUserlogin(NULL, Object(SpecialPage)) #9 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialPage.php(464): SpecialPage->execute('wfSpecialUserlo...', NULL, Object(SpecialPage)) #10 C:\domains\riev.nl\wwwroot\sint\wiki\includes\Wiki.php(193): SpecialPage::executePath(NULL) #11 C:\domains\riev.nl\wwwroot\sint\wiki\includes\Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title)) #12 C:\domains\riev.nl\wwwroot\sint\wiki\index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest)) #13 {main}

How can I fix this?

Edit: Maybe useful: Path to wiki is www.domain.xx/sint/wiki. My php is www.domain.xx/sint. Both are in the same database, with prefix phpbb3_ and wiki_

75.88.81.83 00:42, 7 June 2008 (UTC)


 * Take a look at this post on the forums. php|uber.leet Forums --Nick 06:00, 7 June 2008 (UTC)
 * Took a look. Didn't work out, because it's not the same problem! Someone else? :-( 75.88.81.83 22:27, 7 June 2008 (UTC)


 * You are going to have to look at it again as it has the answer to your problem. You are getting "Unable to find phpBB installed" it's an error I throw when the plug-in can't find phpBB to load some files from it. --Nick 00:10, 8 June 2008 (UTC)
 * Next error ;-)

Warning: require_once(./sint/includes/utf/utf_tools.php) [function.require-once]: failed to open stream: No such file or directory in C:\domains\riev.nl\wwwroot\sint\wiki\LocalSettings.php on line 52

Fatal error: require_once [function.require]: Failed opening required './sint/includes/utf/utf_tools.php' (include_path='C:\domains\riev.nl\wwwroot\sint\wiki;C:\domains\riev.nl\wwwroot\sint\wiki/includes;C:\domains\riev.nl\wwwroot\sint\wiki/languages;.;C:\php5\pear') in C:\domains\riev.nl\wwwroot\sint\wiki\LocalSettings.php on line 52

75.88.81.83 00:48, 8 June 2008 (UTC)
 * Don't know whát I did... But it's working! Thanks for your help! 75.88.81.83 01:14, 8 June 2008 (UTC)

How about an answer?
I posted an error I'm getting at my mediawiki over a month ago. See the Notice Errors post above. How much longer do I need to wait for an answer? 97.115.227.196 21:28, 25 June 2008 (UTC)


 * If you want support you should follow the link for support and post on the forums. I looked at your error you posted above and it has already been asked and answered on the forums. --Nick 06:49, 31 July 2008 (UTC)

Will this work on a 1.6.8 version of Mediawiki?

 * 1)  MediaWiki: 1.6.8
 * 2) PHP: 5.2.4 (apache)
 * 3) MySQL: 5.0.45-community

Will this user integration work on a mediawiki version 1.6.8?

97.115.181.238 00:48, 14 July 2008 (UTC)


 * For 1.6.8 you should use v2.7 of the plug-in. You can download it from the website. This also means you will have to use phpBB2.

Is it working with 1.12.xx and 1.13 version of Mediawiki?
Will this user integration work on a mediawiki version 1.12.xx ?

Hi here i am giving the answere of my own question that this extension is working well with 1.12.xx and 1.13 versions.

How about my old mediawiki user accounts?
If I've understood correctly, this extension makes MediaWiki use phpBB's user database and leaves MediaWiki's own user database completely unused.

I have a website with MediaWiki and phpBB3 already running separately. If I add this extension, what happens to the current user information in my wiki? Is user information in articles and revision histories etc converted or what happens to them?


 * If there are phpBB accounts with the same name then the plug-in assumes they are the same. So have your MW users go make new phpBB accounts to match their MW usernames. --Nick 20:56, 11 November 2009 (UTC)

Single Sign On
This is possible with phpbb3 and mediawiki?


 * If you are asking if it can be done the answer is yes, it can be done. --Nick 20:57, 11 November 2009 (UTC)

Possible Permissions Problem and solution
After I installed this extension, I was no longer able to edit my Sidebar or anything under the MediaWiki namespace. To solve this, did "view Source" on the page, copied the text, then DELETE the page, then re-create it, then paste the text back and hit save. Now i have editing privs again.


 * Seems odd. I'll have to look into this later. You are the 1st to report it. --Nick 20:58, 11 November 2009 (UTC)

phpBB user id sync with Wiki user id?
Is there an easy way to make it so that when a user logs into the wiki for the first time using their phpBB username/password, that a Wiki account is created with their phpBB id? So that the unique id numbers in phpbb_users and wiki_user are synchronized with one another.


 * Yes, but do not expect this plug-in to support this feature. --Nick 20:50, 11 November 2009 (UTC)

login to both wiki and forum
Has anybody extended this extension so that logging in to the Wiki also logs in to the forum? (and maybe the reverse?) The code includes the hooks for this, but has anybody done it? --GhostInTheMachine 10:00, 13 April 2009 (UTC)


 * Single Sign On (SSO) is currently not supported. --Nick 21:00, 11 November 2009 (UTC)

Group mapping
Are there any plans to extend this extension further to include support for group mapping between phpbb and mediawiki? --Ganiman 13:05, 26 June 2009 (UTC)


 * There are not. --Nick 21:01, 11 November 2009 (UTC)

Username case
I notice that you are using ucfirst(username_clean) to determine the canonical username; is there a reason why you're not simply using the username, and preserving the case? That would allow the Wiki username (as displayed) to exactly match the Forum username. --86.145.38.74 23:09, 27 June 2009 (UTC)


 * IIRC the MW 1.4 code base forces all usernames into a ucfirst(strtolower($username)) convention. --Nick 21:03, 11 November 2009 (UTC)

Security Warning on MediaWiki version 1.10
After install the extension on 1.10, the page Special:Version will error and shows MySQL IP, password .. example: Chienwen 05:33, 2 September 2009 (UTC)


 * I'm looking into this. --Nick 20:49, 11 November 2009 (UTC)

Password issue
I can't seem to get this to work, I type in the correct password and it says the password is wrong. Any help, suggestions? I also turned off the Wiki group option, so you do not need a group to edit, just an account. Mediawiki 1.15.1 with phpbb3 3.5. Rgoodermote 23:00, 9 September 2009 (UTC)


 * If you want support go to the forums. --Nick 21:04, 11 November 2009 (UTC)


 * Not everyone wants to join another forum. Especially for a one time usage. - Rgood erm ote   07:27, 12 November 2009 (UTC)