Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
phpBB3Auth - Migrate phpBB3 user/password to VB4 Details »»
phpBB3Auth - Migrate phpBB3 user/password to VB4
Mod Version: 1.00, by MoreLinux (Contributor) MoreLinux is offline
Developer Last Online: Aug 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (10 votes - 4.50 average) Installs: 26
Released: 08 Jul 2010 Last Update: Never Downloads: 217
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code  

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:
  • Add the field "PWD_Synced" in the phpBB3 table phpbb_users. You can use the following statement.
    "ALTER TABLE `phpbb_users` ADD `PWD_Synced` BOOL NOT NULL DEFAULT '0';"
  • copy phpBB3Auth directory to your vb forum installation directory
  • change the path to controller.php directory in phpBB3-plugin.xml
  • copy the hooks_phpBB3.xml to FORUM_ROOT/inclucdes/xml directory
  • in login.php do:
    search for:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    insert below:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • activate plugin system (if not done already) in admincp
  • in admin cp import the product file "phpBB3-plugin.xml" at "Download / Upload" Plugins
  • re-check if the include for controller.php is right
  • in includes/class_bootstrap.php search for:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    change:
    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    to:
    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • test the product

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 09 Jul 2010, 03:58
Kolektor's Avatar
Kolektor Kolektor is offline
 
Join Date: Jun 2010
must be included in the impex.
Reply With Quote
  #3  
Old 09 Jul 2010, 04:42
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Real name: Sandy
it solved a big prob
__________________
My Mastiya Forum
chudai access programmer

Last edited by funmasti : 10 Jul 2010 at 05:45.
Reply With Quote
  #4  
Old 09 Jul 2010, 08:57
MoreLinux MoreLinux is offline
 
Join Date: Dec 2009
@Kolektor and Funmasti, Thanks

Funmasti, I would love to hear about your experience with phpBB3Auth.
Reply With Quote
  #5  
Old 09 Jul 2010, 18:15
MoreLinux MoreLinux is offline
 
Join Date: Dec 2009
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.

Last edited by MoreLinux : 11 Aug 2010 at 21:54.
Reply With Quote
  #6  
Old 20 Aug 2010, 16:35
CRDeveloper's Avatar
CRDeveloper CRDeveloper is offline
 
Join Date: Aug 2009
Real name: Pablo X.
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?
Reply With Quote
  #7  
Old 20 Aug 2010, 17:25
CRDeveloper's Avatar
CRDeveloper CRDeveloper is offline
 
Join Date: Aug 2009
Real name: Pablo X.
Now its working, thanks for the mod!
Reply With Quote
  #8  
Old 27 Aug 2010, 21:34
sarangan sarangan is offline
 
Join Date: Jun 2008
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..
Reply With Quote
  #9  
Old 01 Oct 2010, 00:55
charl13dontsurf charl13dontsurf is offline
 
Join Date: Feb 2010
Nevermind!

You rock!

Last edited by charl13dontsurf : 01 Oct 2010 at 01:14. Reason: I'm an idiot
Reply With Quote
  #10  
Old 21 Mar 2011, 17:18
Vcize Vcize is offline
 
Join Date: Dec 2010
Is there anything like this for going from phpbb3 to vb3?
Reply With Quote
  #11  
Old 16 Apr 2011, 09:18
Lestat_ Lestat_ is offline
 
Join Date: Apr 2011
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
Reply With Quote
  #12  
Old 17 May 2011, 22:24
Tracyf Tracyf is offline
 
Join Date: Apr 2011
Can't get it to work

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
Reply With Quote
  #13  
Old 17 May 2011, 22:44
thetgc thetgc is offline
 
Join Date: Apr 2009
+1 for being added to impex... this would have helped me when i migrated 2 years ago!
Reply With Quote
  #14  
Old 02 Jun 2011, 16:06
Alright_Guys! Alright_Guys! is offline
 
Join Date: Apr 2011
Thanks for your code.
I just picked out some lines to help me coding a password updater. Works great!
Reply With Quote
  #15  
Old 15 Jul 2011, 01:33
CPTA CPTA is offline
 
Join Date: Jul 2011
it this working?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 09:08.

Layout Options | Width: Wide Color: