The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
ipbAuth - Use old Invision Power Board Passwords after migrating to vBulletin Details »» | |||||||||||||||||||||||||||||
ipbAuth - Use old Invision Power Board Passwords after migrating to vBulletin
Developer Last Online: Oct 2018
For anyone that's migrating from IPB ( Invision Power Board ) 2.X to vBulletin 4.x. The reason I built this is because the impex import system does not migrate passwords for a move from IPB to vBulletin. This is largely because the passwords are hashed differently, so there's no way to "convert" a password.
This plugin takes a different approach, where you keep the old IPB passwords around, and authenticate users against it first. If they authenticate successfully, then we sync the password the user typed in with vBulletin. Voila...a migration without making your users reset their passwords. Borrowed heavily from ideas by malcolmx in his LDAP Auth Plugin. THANKS MALCOLMX! Installation Notes: 1. copy ipbAuth directory to your vb forum installation directory 2. change the path to controller.php directory in ipb-plugin.xml 3. copy the hooks_ipb.xml to FORUM_ROOT/includes/xml directory 4. in login.php search for: Code:
if ($vbulletin->GPC['vb_login_username'] == '') { eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], .... } Code:
(if ($vbulletin->GPC['vb_login_username'] == '') { eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], .... } ($hook = vBulletinHook::fetch_hook('ipb_login_hook')) ? eval($hook) : false; 6. in admin cp import the product at "Plugins & Products -> Download / Upload Plugins", use "Import Plugin Definitions XML File" at the bottom of the page, example import input './ipbAuth/ipb-plugin.xml' 7. in includes/class_bootstrap.php search for: Code:
$show['nopasswordempty'] Code:
defined('DISABLE_PASSWORD_CLEARING') ? 1 : 0; Code:
defined('DISABLE_PASSWORD_CLEARING') ? 0 : 1; 8. Configure the database settings in ipbconfig.inc.php ... this should point to your IPB database that has the members_converge table in it. Be sure to supply a username and password that can read and update the table. Make a copy of the database first...before you turn this plugin on! 9. Make a backup copy of the old IPB database first...before you turn this plugin on! 10. Test A little story: The whole reason this happened was that IPB treated me like crap. I was a long-time customer of their hosted board service on their 2.X product. Last weekend, I had planned to upgrade to 3.x, and move my board to my own servers. So, I logged into their site and purchased the 3.x product. It popped up an error that basically said they had flagged the purchase, and were going to keep my money, but not let me download the software until I could be "verified"...perhaps up to 2 days later. So, I decided I didn't like being treated like a thief. I bought a brand-new copy of vB, and wrote this plugin to ease the migration for my board members. I'm posting it here so that hopefully, more people can move away from IPB. Karma rocks. Download Download Now
Show Your Support
|
Comments |
#22
|
||||
|
||||
Is their a way to have my ipb v2.3.6 board read the members and passwords from vb 4.0
I have ipb for my arcade and need my vb forum members to be able to use their vb log on info at my ipb board |
#23
|
|||
|
|||
This mod solved a big problem and saved me a lot of work. Thank you for putting in the time to code this solution. I also appreciate the level of commenting in your code. It made it very easy for me to see what was happening, know what to expect in the old IPB database to confirm it worked, and allowed me to make a change to search on a different field when looking up the userid. Good work.
|
#24
|
|||
|
|||
HELP!!
I tried to install this mod as i have upgraded from IPB 2.3.6, i thought i followed the directions correctly, but when i try and login with any username i get this error Parse error: syntax error, unexpected $end in /home/goozebum/public_html/forums/ipbAuth/controller.php on line 85 |
#25
|
|||
|
|||
I'm guessing this will work for IPB 2.3 to vB 3.8 as well with some table name changes?
|
#26
|
|||
|
|||
Great plugin!
|
#27
|
|||
|
|||
Quote:
Btw, excellent idea, and thanks so much for posting this mod! |
#28
|
|||
|
|||
Receiving the following:
Fatal error: A required field called import_ipbpass is missing or has an invalid value. Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 849 |
#29
|
|||
|
|||
Hey Everyone - I spent a hell of a lot of time trying to get some functionality that I was just able to finally get wanted to share with everyone.
Basically my clients IPB didn't rely on usernames - it was mostly email addresses so I wanted this process to ALSO check if the user typed in an EMAIL address into the login and initiate this script properly if email matched the "email" field in IPB. I then use https://vborg.vbsupport.ru/showthread.php?t=275348 which will take over the login process AFTER the new PW is saved. All you need to do is edit the controller.php file in your ipbauth folder: Find PHP Code:
PHP Code:
I'm no programmer so use this at your own risk - I very well could be missing something and it could not be doing something that is important here... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|