Webmastersite.net
Register Log In

vBulletin cookies update
issue when using vbulletin cookies

Comments on vBulletin cookies update

sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
Posted May 10, 2006 - 11:37 PM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted May 12, 2006 - 6:50 PM:

Where is the license number of vbulletin stored, how would it be found?
sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
Posted May 13, 2006 - 8:54 AM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted May 15, 2006 - 12:33 AM:

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.)
sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
Posted May 15, 2006 - 12:58 AM:

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 # ||
|| #################################################################### ||
\*======================================================================*/
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted May 15, 2006 - 10:00 PM:

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.
sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
Posted May 22, 2006 - 2:20 PM:

Hello.

Was this included in 3.318? If so where do I enter my license #?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted May 23, 2006 - 7:37 AM:

Put it in integration/vbulletin.php where it asks.
sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
Posted May 23, 2006 - 10:27 AM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
#10 - Quote - Permalink
Posted May 24, 2006 - 3:04 PM:

As I said above, integration/vbulletin.php. Not vbulletinencoder.php.
sifuhall
Member

Usergroup: Customer
Joined: Apr 13, 2006

Total Topics: 5
Total Comments: 16
#11 - Quote - Permalink
Posted May 24, 2006 - 10:28 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.