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 |
#2
|
|||
|
|||
Heh. I like that someone gave it 1 star, but without downloading it, trying it, etc.
Suppose someone is trying to boost their own plugin's popularity? Kids.... |
#3
|
||||
|
||||
I gave you 5 stars! Even though i would not need this mod i can see the usefulness it has. Thanks and welcome to VB!
|
#4
|
||||
|
||||
ill never use this but useful for impex used forums , might be you sent this to vB-IMPEX team then they add to impex
|
#5
|
||||
|
||||
Great mod and very handy for those switching over.
This feature was suggested about 2-3 years ago but the Jerry said that the first concern was preserving the database and thus it was never added. |
#6
|
|||
|
|||
Yep. To be clear, this mod doesn't alter the vB database at all. It requires access to the old IPB database. It doesn't change the structure, but it does overwrite the old IPB passwords, one by one, as users get synced and login.
Probably not a good candidate to move into Impex, as it requires DISABLE_PASSWORD_CLEARING. The really right way to do this, and support more than just IPB, would be adding "imported_password" and "imported_salt" columns into vB, and then extending the javascript used at login so that you wouldn't have to DISABLE_PASSWORD_CLEARING. That sounded like too much work for me |
#7
|
|||
|
|||
OMG, if I had this two years ago, I would've saved tons of hours of answering "My login doesn't work" emails!!!
Dang... |
#8
|
||||
|
||||
nice mod
|
#9
|
|||
|
|||
Is possible to port this add on for phpBB -> vB?
|
#10
|
|||
|
|||
Yes, it should be a pretty easy exercise.
If you are sure that this isn't solved elsewhere, I would take a shot at it. Not familiar with phpBB, so I would want to be sure there's no existing solution for this before I went and did the research. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|