Page 1 of 2

Same userdatabase for phpBB and mediawiki ?

Posted: Tue Mar 08, 2005 10:26 am
by Mr_Blonde
Hello,

is it possible to use/combine the user database from phpBB with the one from mediaWiki?

Reason: I am running a phpBB and wiki for private purpose and dont want that the users have to register twice for the board and the wiki.


I am not very familiar with php, mysql and password encryption, but as far as i figured out, both use MD5 hashing for the passwords.

Is there a way to use the same userdatabase?


Thanks in advance.

Regrads,
Olli

Posted: Mon Mar 28, 2005 12:02 pm
by F1Driver
Hi,

I am in the same situation, so instead of starting a new thread, I though I would bump this one.

Has anyone done this yet?

F1Driver

I need the same answer

Posted: Mon Mar 28, 2005 3:13 pm
by darrenforbes
It would be great to know how to do this. My attempts have all failed.

Lets cross our fingers.

Darren :?

Posted: Mon Mar 28, 2005 4:06 pm
by Fabien
Hi, I also am in the same situation. I suppose that it's not very difficult, but I am far from being an php/sql expert and I am unable to create the program to do that. So, I am also hoping...

Posted: Wed Apr 13, 2005 10:13 pm
by johnf
Same question!!

Posted: Wed Apr 13, 2005 10:20 pm
by ChaosBringer
there was a mod for this. read in mod request or mod beta release.

also this is not the forum for this.

Posted: Tue May 10, 2005 4:45 pm
by ganiman
Bump for an old thread with an excellent request for help. I run a site that has mediawiki and phpbb, and could really use some more information on this. I'm also in the process of designing a very large site that will have both mediawiki and forums. Having this functionality will be the deciding factor if I use phpbb or go with another forum package that has better support for this kind of feature.

Posted: Fri May 13, 2005 6:27 pm
by kiltannen
there appears to be a guy writing his own phpBBwiki engine...

check out this thread here

Posted: Mon May 16, 2005 7:27 pm
by ganiman
kiltannen wrote: there appears to be a guy writing his own phpBBwiki engine...

check out this thread here


That's a nice mod idea, but not what I'm looking for. I want the full functionality of Mediawiki, and I want both phpBB and Mediawiki to use the same MySQL user table. I've examined both. They don't appear to be that different from each other where this is too hard to be worthwhile. From what I can tell, it would probably be easier to mod phpBB to use the Mediawiki user table rather than mod Mediawiki to use the phpBB user table. I'm slowly learning more and more about how phpBB code works. Perhaps I will soon find the answer on my own.

Posted: Mon May 16, 2005 8:08 pm
by Nippoo
Apart from if there is a MOD already created for this, there is no way (unless you are very familiar with PHP and MySQL and are able to modify the Mediawiki code to be compatible) to do this.

Posted: Sun May 22, 2005 5:47 pm
by steveurkel
There's an extension to media wiki that uses the phpbb user table for authentication -> http://217.160.138.71/development/index ... Auth_phpBB

For me it doesn't work yet, i get tons of warnings and wiki errors while using it. Maybe someone finds the error or can do a workaround.

Posted: Wed Jun 01, 2005 11:59 pm
by SouthPaw
steveurkel wrote: There's an extension to media wiki that uses the phpbb user table for authentication -> http://217.160.138.71/development/index ... Auth_phpBB

For me it doesn't work yet, i get tons of warnings and wiki errors while using it. Maybe someone finds the error or can do a workaround.


Thanks for the link!! I'll try it out and get back to you on this.

Posted: Sat Jun 04, 2005 5:56 pm
by SouthPaw
yep, I've tested it, and it doesnt work for me either

Posted: Mon Jun 06, 2005 9:58 pm
by bloodynipples
I get a ton of sql errors:

If I am logging in as mediawiki admin:

Code: Select all


Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_query(): 62 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349
Unable to free MySQL result

Backtrace:

    * GlobalFunctions.php line 507 calls wfbacktrace()
    * Database.php line 495 calls wfdebugdiebacktrace()
    * User.php line 500 calls databasemysql::freeresult()
    * SkinTemplate.php line 254 calls user::getnewtalk()
    * OutputPage.php line 420 calls skinmonobook::outputpage()
    * index.php line 221 calls outputpage::output()
If I am logging in as a regular phpBB2 user:

Code: Select all


Warning: mysql_query(): 54 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Warning: mysql_insert_id(): 54 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 555

Warning: mysql_query(): 54 is not a valid MySQL-Link resource in /home/brewcomm/public_html/wiki/includes/Database.php on line 349

Fatal error: Call to a member function on a non-object in /home/brewcomm/public_html/wiki/includes/SpecialUserlogin.php on line 276

Posted: Mon Jun 06, 2005 10:12 pm
by mattyblah
Interesting concept. I will check it out to see how difficult it would be.