Bram de Jong - MTG wrote:
Hi everyone,
(Hi! First post here)
for a site I'm building I'm trying to use one generalised login system for everything on the site (forum / wiki / ftp / ...). I was wondering if anyone has done any work on joining phpBB and MediaWiki.
In a perfect world people would log into PhpBB and an account would be made for MediaWiki with the same login/pass. Whenever a user logs into the site, he should automatically be logged into MediaWiki.
So - has it been done? Google didn't really help me this time.
thanks a lot,
- bram
I asked the same question here a couple of days ago, no answer thoguh. I wanted to join the PHPBB and MediaWiki together with one login just as you.
I found a quite ugly lite fix that did it though.
First I joined the together the usertables for phpbb and mediawiki. I used the one for phpbb as I already have all my users there, and merged in all the columns for mediawiki user-table.
Then I changed all the table and columns references in mediawiki to match phpbb usertable and username and password column.
Half way there. Users from phpbb can now log in with the same details in my wiki. New registrations will be directed to phpbb registration form. Luckily mediawiki and phpb encrypt passwords the same way.
Here comes the ugly part.
Users login to the wiki, mediawiki valides the password, if correct the information will be posted into the php-loginscript. Not good, not secure, not stable, but it works. A lot of things could go wrong there.. and I wouldn't recommend it.
I though I should try and make something better, but I hanv't yet. So I made a fast easy hack.
Any better ideas anyone?
Peter Andersson ------------------- peter@wa.se http://wa.se