PDA

View Full Version : Where to find the Cookie Hash value ? (10 character value)


fer_75
09-25-2009, 08:32 AM
Hi,

Im installling a plugin in vb, that ask me for the Cookie Hash value, it says:

Open the file /includes/functions.php from your vBulletin directory and find a variable that looks like:
define('COOKIE_SALT', 'A12345678Z');
The value used for the cookie hash is the second value that appears on this line, it will be alphanumeric and 10 characters long

Example: Cookie Hash is A12345678Z

BUT when I open includes/functions.php this is the way I have my COOKIE_SALT defined as:

define('COOKIE_SALT', $vbulletin->config['Misc']['cookie_security_hash']);

So I DO NOT HAVE have the 10 characters value.

My question is WHERE TO FIND THE 10 character value of my ?

(im using vb 3..8.4)

PLEASE HELP:

Lynne
09-25-2009, 02:10 PM
You need to ask this question in the modification thread. They will be able to help you better and tell you exactly what you should do.

fer_75
09-25-2009, 03:36 PM
Thank you, but the plugin im instaling is not from vb.org (is from pligg)..

However the only thing i need to know is where to find the 10 character value of my Cookie Hash.

Any idea?

James Birkett
09-25-2009, 04:20 PM
The hash is not 10 characters; it's 32.
Maybe they want the salt? Which would be: xxxxxxxxxx

Adrian Schneider
09-25-2009, 07:33 PM
If they need your cookie salt, that's it. It shouldn't matter what the value is, as long as you use whatever vBulletin uses. If you want the exact (scalar, and not variable) value, then open up your config.php file and find $config['Misc']['cookie_security_hash'] = 'XXXXXXXXXXXX';The cookie salt is supposed to be your vBulletin license #, which you can usually find at the top of all your files.


PS, probably not a good idea to post your license #. :)

James Birkett
09-25-2009, 08:36 PM
Agreed that you shouldn't post it.
(X'd it out in my post)