PDA

View Full Version : vB 3.0 Beta - Need Help with ImageFolio3.1 Membership Integration Hack


websissy
10-04-2003, 04:25 AM
Hello. I need the advice of someone who has some experience with membership integration with vB3.0 Beta 6. I'm trying to install a MySQL membership integration hack provided by the kind folks at ImageFolio which is designed to convince ImageFolio to use vBulletin's member database.

I've had a good deal of success with this already and have managed to confirm using the db_link_test utility provided by the ImageFolio folks that I'm succesfully logging into mySQL, finding and accessing the vBulletin database, finding the vb3 user table, locating the correct member in that table and then the darned thing quits complaining the passwords don't match.

Yet, when I log into vBulletin using that same user name and password, it works just fine. So, I KNOW my problem is not the username OR the password. Furthermore, I've checked and at least on the surface of things both programs appear to be using MD5 password encryption. But still when I enter the username and password in vBulletin it works and when I try it through ImageFolio, it always says the username is okay but complains that the password is invalid!

help, Help, HELP!!! Does anyone have any suggestions here? I'm stuck on high-center and have no IDEA what to try next... B(

Thanks very much for any help you can offer!

Sign me...
Frustrated in New Mexico

websissy
10-04-2003, 03:46 PM
Okay, I've investigated this topic a WHOLE lot further. I learned from the vB3 experts over at vBulletin.com that my problem is caused by the way vB3 handles password encryption... it uses a salted double-encrypted MD5 password encryption technique rather than the simpler MD5 encryption used in vB2.

That's the reason ImageFolio's little mySQL.pl Perl module is failing to verify the password. I tried diligently for a couple of hours to figure out how to change the provided Perl program to get it to do the same password encryption that vB3 uses; but I'm forced to admit I just don't know enough about Perl to be able to accomplish the required Perl program changes.

Implementing this program requires absolutely NO changes to vB3 at all. All that's needed is a relatively minor patch to ImageFolio's 150 line Perl module to get it to correctly encrypt and verify the vB3.0 user password. When that's up and working, I'll be able to validate my ImageFolio users against the vBulletin member database and the world will be at peace again.

Is anyone here willing to tackle this change for me? I'm willing to listen to almost any reasonable proposals...

Thanks!

Dean C
10-05-2003, 10:36 AM
Sorry but vB3 hacking discussion is not currently allowed here. Please read the announcement. It will be allowed once RC1 is out which shouldn't be too long now - hopefully ;)

Closed