Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
Convert phpBB3 passwords to vBulletin 3.8 Details »»
Convert phpBB3 passwords to vBulletin 3.8
Version: 1.00, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.7 Rating:
Released: 10-25-2012 Last Update: Never Installs: 7
Code Changes Additional Files  
No support by the author.

Please note: This requires file edits. It is not possible to do this without file edits, so if you are not comfortable doing this, please don't use this and instead follow the standard ImpEx passwords procedure of telling your users to reset their passwords.

Now that I have warned you about that, time to tell you what this actually does (sorry if I ramble a bit, just realized its literally years since I last released any code - which has shocked me slightly).

Here's the situation:

You have a phpBB3 forum.
You want to import the data to vBulletin 3.8
You are reluctant to do so due to requiring all imported users to reset their passwords before logging in and have heard many reports of huge user loss because of this.

Worry no more! With this converter, your users retain their phpBB3 passwords. When they first log into your newly converted vBulletin site, their password is checked against the phpBB3 database. If it matches, then the password is updated in the vBulletin database so that it remains the same password and they are logged in. If they enter an incorrect password, then they receive the standard password incorrect error and are prompted to try again or reset their password.

Please be aware that this does not update any users without them logging in successfully using phpBB3 authentication and removal of this modification will then prevent any users who have not had their passwords converted from retaining their phpBB3 password without going through the standard password resetting procedure.

In the ZIP file there are 3 files, instructions.txt phpBB3Auth/controller.php and phpBB3Auth/phpbb3_functions.php

It is fairly simple. Open instructions.txt and this tells you exactly what to do. Then, upload the files as indicated in the instructions.

There are file edits required to login.php and includes/config.php

If your phpBB3 database has a table prefix other than phpbb_ then you will also need to edit phpBB3Auth/controller.php

The main other requirement is that the phpBB3 users table is in the same database as your vBulletin tables. This does not mean that you need to have the entire phpBB3 database in the same one as vBulletin, but purely just the users table. This is for two reasons:
1. It is easier to code when it is all in the same database
2. It is better for management as depending on the size or activity of your site it may take a while for most members to visit and successfully log in and so you are less likely to accidently delete the table if it is in the same database as your vBulletin forum.

Any problems, let me know and I will try to help. This works successfully for a conversion I am in the process of doing, and if it helps anyone else then that is a bonus.

I will not be updating this for vB4 or later.
It is not tested for use on vB3.7 or earlier.
This is tested on vB3.8.3 and 3.8.7 and so should work on all versions current and future in the 3.8.x series.

Download Now

File Type: zip phpBB3 to vB3.8 password converter.zip (6.8 KB, 50 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-08-2013, 08:31 AM
Gizmo99 Gizmo99 is offline
 
Join Date: Feb 2002
Location: London
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm

BUT

Instructions wrong and missing a step

In Instructions for login.php edits

Find
if ($getimporteduserid['PWD_Synced'] == '0')

Replace with
if ($checkforimportedpw['PWD_Synced'] == '0')

Now we need to add a new column to your phpbb users table
ALTER TABLE phpbb_users MODIFY PWD_Synced varchar(1) COLLATE utf8_bin NOT NULL DEFAULT '0'

Remember it won't work for Admin accounts just change them to none admin get them to loggin THEN make them admin !

Sorted !!

Giz
Reply With Quote
  #3  
Old 10-26-2013, 09:13 PM
deverill2010 deverill2010 is offline
 
Join Date: Jan 2011
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo99 View Post
Works like a charm

BUT

Instructions wrong and missing a step

In Instructions for login.php edits

Find
if ($getimporteduserid['PWD_Synced'] == '0')

Replace with
if ($checkforimportedpw['PWD_Synced'] == '0')

Now we need to add a new column to your phpbb users table
ALTER TABLE phpbb_users MODIFY PWD_Synced varchar(1) COLLATE utf8_bin NOT NULL DEFAULT '0'

Remember it won't work for Admin accounts just change them to none admin get them to loggin THEN make them admin !

Sorted !!

Giz

I've done as the instructions in the zip have said, and also made your change.

Yet I still can't log in (non admin account). Not sure what else to do?
Reply With Quote
  #4  
Old 10-29-2013, 10:16 PM
deverill2010 deverill2010 is offline
 
Join Date: Jan 2011
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone able to go through this with me?
Reply With Quote
  #5  
Old 10-04-2014, 06:20 PM
superj707 superj707 is offline
 
Join Date: Sep 2014
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would you be able to make one for SMF to VB4?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03927 seconds
  • Memory Usage 2,255KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete