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 (Coder) MoreLinux is offline
Developer Last Online: Jul 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (11 votes - 4.55 average) Installs: 29
Released: 08 Jul 2010 Last Update: Never Downloads: 252
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.
  #31  
Old 24 Apr 2012, 16:59
rgreene1971 rgreene1971 is offline
 
Join Date: Mar 2012
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.
Reply With Quote
  #32  
Old 10 Aug 2012, 19:45
PikkonMG PikkonMG is offline
 
Join Date: May 2012
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.
Reply With Quote
  #33  
Old 10 Aug 2012, 22:27
yakiclub yakiclub is offline
 
Join Date: Feb 2010
Please be an example ?
Reply With Quote
  #34  
Old 31 Aug 2012, 08:24
arsalan660 arsalan660 is offline
 
Join Date: Jan 2009
I also had problem converting my phpbb forum. Some password got converted but Some user complain about incorrect password.
Reply With Quote
  #35  
Old 17 Oct 2012, 14:55
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Real name: Kerry-Anne (really!)
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.
__________________
Kerry-Anne
Previously known as peterska2

My Sites: peterska2.co.uk Super Clickers World News Zone English Football League Popular Usenet Groups
Do NOT PM or email me for Support or Modification Requests - No Exceptions!!
I do NOT do custom requests. Do not ask for them. - No Exceptions!!
Reply With Quote
  #36  
Old 07 Nov 2012, 02:58
spinferno spinferno is offline
 
Join Date: May 2012
Hey gang, I have issues in running this cool phpbbauth system.
After the install, i get this error:

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

Has anyone else had similar issues and can point me towards whether the fix is to try different paths or to hack the include files?
Thanks guys!
Bill

Last edited by spinferno; 02 Jan 2013 at 02:53. Reason: sanitised client info
Reply With Quote
  #37  
Old 30 Dec 2012, 21:01
Wickex Wickex is offline
 
Join Date: Dec 2012
Worked fine for me on 4.2.0!

Thanks a lot, you saved me so much time!
Reply With Quote
  #38  
Old 18 Sep 2013, 15:41
acalero acalero is offline
 
Join Date: Jun 2013
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
Reply With Quote
  #39  
Old 22 Jun 2014, 12:33
dartho dartho is offline
 
Join Date: Sep 2005
What would be the chances of doing the same with WordPress to VB4?

Thanks!

[edit: working on it myself, almost there]

Last edited by dartho; 05 Sep 2014 at 07:25.
Reply With Quote
  #40  
Old 29 Aug 2014, 22:37
kemraj kemraj is offline
 
Join Date: Aug 2014
when can i un install it? will it transfer everything right away or only when a person logs in
Reply With Quote
  #41  
Old 05 Sep 2014, 07:26
dartho dartho is offline
 
Join Date: Sep 2005
It only updates on log in, so you do not uninstall it until ALL users have logged in, or until you are willing to put them through the VB lost password procedure
Reply With Quote
  #42  
Old 04 Oct 2014, 04:11
superj707 superj707 is offline
 
Join Date: Sep 2014
GREAT MOD! is there an SMF version of this also?
Reply With Quote
  #43  
Old 21 Jul 2015, 11:43
gullbird gullbird is offline
 
Join Date: Jan 2014
i suggest update it like

we copy phpbb_user table to vb database so we need to have only one table instead of whole phpbb database.

once field "PWD_syn" is filled it notifies to admin with instruction to remove those added lines into login.php and bootstrap.php and removing phpbb3auth directory.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:43.

Layout Options | Width: Wide Color: