I have found the method vBulletin is using to compare the cookie bbpassword to the password in the database, however I am not sure how I can implement it.
The comparison method is to take the value of password in the user table, concat the license number of vbulletin, md5 hash the result, then compare to the bbpassword cookie.
Something like:
MD5([database value for password] . [license #]) == $_COOKIE['bbpassword']
I believe I will have to edit where wsnlinks validates the user.
Any suggestions or help finding this location is greatly appreciated.
Come to think of it just to find the file would require each user typing in the location of their vBulletin, so I may as well just have have people type the license number in the integration file directly. Try 3.3.18 -- should be out by tomorrow -- and fill in the license number in the vbulletin integration file it'll have. Let me know if it works.
I see the file vbulletinencoder.php in the integrations path, and in my admin I have users->Member system integration set to vbulletin3, but I do not see where to enter my vbulletin license #.
I am sure I am just overlooking this, but could you please direct me to where I must enter this info?
Comments on vBulletin cookies update
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
As discussed in this thread:
www.webmastersite.net/forum...Bulletin_cookies-6413.html
I have found the method vBulletin is using to compare the cookie bbpassword to the password in the database, however I am not sure how I can implement it.
The comparison method is to take the value of password in the user table, concat the license number of vbulletin, md5 hash the result, then compare to the bbpassword cookie.
Something like:
MD5([database value for password] . [license #]) == $_COOKIE['bbpassword']
I believe I will have to edit where wsnlinks validates the user.
Any suggestions or help finding this location is greatly appreciated.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Where is the license number of vbulletin stored, how would it be found?
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
Unfortuntely, it is not stored in the database, but hardcodeed into the vB files when you download it from the members area.
Perhaps for WSNLinks we could use a config file?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If it's in a vB file, how does one extract it from which file? (Just show me what it looks like and I can figure out how to extract it.)
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
This is what appears at the beginning of each file (with x's replacing my license):
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.5.4 - Licence Number xxxxxxxx
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2006 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Come to think of it just to find the file would require each user typing in the location of their vBulletin, so I may as well just have have people type the license number in the integration file directly. Try 3.3.18 -- should be out by tomorrow -- and fill in the license number in the vbulletin integration file it'll have. Let me know if it works.
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
Hello.
Was this included in 3.318? If so where do I enter my license #?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Put it in integration/vbulletin.php where it asks.
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
I see the file vbulletinencoder.php in the integrations path, and in my admin I have users->Member system integration set to vbulletin3, but I do not see where to enter my vbulletin license #.
I am sure I am just overlooking this, but could you please direct me to where I must enter this info?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
As I said above, integration/vbulletin.php. Not vbulletinencoder.php.
Member
Usergroup: Customer
Joined: Apr 13, 2006
Total Topics: 5
Total Comments: 16
Thanks for the verification.
Even after updating integration/vbulletin.php I still could not get wsnlinks to validate vbulletin cookies.
I followed the process through classes/members.php until I understood what was happening and why it was not validating correctly.
I made two very minor modifications and now it works perfectly.
If anyone would like to see these modifications please let me know.