![]() |
phpBB3Auth - Migrate phpBB3 user/password to VB4
1 Attachment(s)
For all the phpBB3 administrators who want to migrate their phpBB3 to VB4 and hate the idea that the users have to use the "Forgotten your password?" method to logon to the new VB4 board.
The idea heavily borrowed from the ipbAuth mod created by viarun. The solution I implemented is that I first hash the password the phpBB3 way and check the hashed password against the entry in phpbb3.users table. When the hashes are the same I use the normal VB4 method to store the password in the VB4 database. Because I don't like to destroy the original phpBB3.users table I added an extra field "PWD_Synced" to the table and use that field to remember that a password was already synced. We are running this mod on our brand new VB4 forum http://www.astroforum.nl and it work perfect. 330+ phpBB3 users already migrated their password to the new board. Many thanks to viarun and malcolmx in his LDAP Auth Plugin. THANKS guys! Installation instructions:
Important information In my documentation I forgot too mention that it is best to install the plug-in after you migrated the data from phpBB3 to VB4. You can leave the phpBB3 database on-line and when you go live the users start to login on VB4 and automagically the password gets migrated to VB4. Detailed installation instructions and all files needed are in the zip file. Have fun with it, MoreLinux |
must be included in the impex.
|
it solved a big prob
|
@Kolektor and Funmasti, Thanks
Funmasti, I would love to hear about your experience with phpBB3Auth. |
I updated the docu a bit. The following was added.
Important information In my docu I forgot to mention that it is best to install the plug-in after you migrated the data from phpBB3 to VB4. You can leave the phpBB3 database on-line and when you go live the users start to login on VB4 and auto-magically the password gets migrated to VB4. |
I need help with this.
Can i have this path include('phpBB3Auth/controller.php'); if the folder is in public_html/forum/ ??? Do i have to set the config file? |
Now its working, thanks for the mod!
|
It's not working for me.. I have succesfully imported all those 33.000 users I had in my phpbb3 installation and moved all to vb latest version succesfully.. I also have installed everything correct.. But login doesn't works..
Please help need.. :( |
Nevermind!
You rock! |
Is there anything like this for going from phpbb3 to vb3?
|
this is heaven ! thank you so much mate, you saved me lots and lots of troubles - works excellent, this was the final step I needed to make the transition from phpbb to vbulletin - thank you, you saved my day :D
|
Ok so I installed this and i cannot get it to work.
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '<host>' (1) in [path]/phpBB3Auth/controller.php on line 99 Unable to connect to DB: Unknown MySQL server host '' (1) What does this mean and how do I fix it? EDIT: Nevermind I got it right after this post :) |
+1 for being added to impex... this would have helped me when i migrated 2 years ago!
|
Thanks for your code.
I just picked out some lines to help me coding a password updater. Works great! |
it this working?
|
amazing
|
I wish I knew about this mod a couple of months ago, Impex sucks and I have lots so many many members because this wasn't included
|
excellant - thankyou :)
Quote:
|
Hi, sorry if I'm being a bit dim but I don't understand this:
'copy phpBB3Auth directory to your vb forum installation directory change the path to controller.php directory in phpBB3-plugin.xml' Is the phpBB3Auth directory the folder called 'auth' that sits within the includes directory on phpbb? If so do I copy across the whole of that folder to my vBulletin installation inside the 'install' folder or somewhere else? Where then do I need to put: phpBB3_functions.php phpBB3config.inc.php controller.php I'm fine with the rest of it. Any help anyone can give would be much appreciated! Thanks, Victoria |
Bump!
Can anyone shed any light on this please? |
@VictoriaS, the directory is called phpBB3Auth and it is put into the forum root directory.
|
I cannot get this to work. When my path to controller.php is anything other than /phpBB3Auth/controller.php it tells me cannot connect to database. When i have it set to /phpBB3Auth/controller.php it doesn't seem to work, but does let you try to login and tell you the password is incorrect.
I see others had this problem and then figured it out, but didn't post the solution in this thread. Thoughts? |
Did you copy the phpBB3auth directory to your forum directory (the same one with forum.php)?
|
Quote:
My guess is something is up with the path to controller.php, but that's just a guess. Thanks for your input. |
OK, I looked at the code a little and it looks like you need to edit the phpBB3config.inc.php file to set the database information for the db that has the old passwords (seems to be missing from the installation instructions).
I'd put the path back the way you had it when you were getting the db error - I think you had it right. |
Quote:
|
I'm still getting unable to connect to DB. It doesn't show any error message after the message, which seems odd.
I reset the include path to be ./phpBB3Auth/controller.php which is what came out of the box. config file info: $phpBB3DbHost='<localhost>'; $phpBB3DbName='<dbname>'; $phpBB3DbUser='<dbuser>'; $phpBB3DbPass='<dbpwd>'; $phpBB3DbPrefix='phpbb_'; I feel like it's really close to working....anyone have an idea? |
I'm pretty sure you need to change all those entires like <dbname> to be an actual value, for instance <dbname> would be the user name that you use to connect to the database. If it's the same database server that you're using for vbulletin, then I guess they would be the same values that you have in your config.php.
ETA: oh, I just looked at the "out of the box" values and I see that you did change them...so where did you get those values? They look kind of strange with <> aoround them. |
Quote:
So for others having problems: - You must set the DB settings for the phpBB server in the config file - The correct path for controller.php is likely ./phpBB3Auth/controller.php |
Thanks for this, saved me a lot of effort!
|
I am so jealous right now. I am moving from smf to vb4 at the end of the month and would kill for a mod like this one.
|
Does this still work with 4.2.0 patch level 2? I know i had used it some time ago but im unable to get ti to work on anymore, you try to login and tell you the password is incorrect.
|
Please be an example ?
|
I also had problem converting my phpbb forum. Some password got converted but Some user complain about incorrect password.
|
Has anyone had any success getting this to work with vB3? It would really save my bacon if it has already been done by someone else.
|
Hey gang, I have issues in running this cool phpbbauth system.
After the install, i get this error: HTML Code:
Warning: include(./vbulletin/phpBB3Auth/controller.php): failed to open stream: No such file or directory in [path]\login.php(114) : eval()'d code on line 1 Thanks guys! Bill |
Worked fine for me on 4.2.0! :)
Thanks a lot, you saved me so much time! |
Totally awesome! Just worked perfectly! Wondering if this could be managed at VB5 too, because it's the next step I've to take
Thank you very much |
What would be the chances of doing the same with WordPress to VB4?
Thanks! [edit: working on it myself, almost there] |
when can i un install it? will it transfer everything right away or only when a person logs in
|
All times are GMT. The time now is 07:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|