vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Where to find the Cookie Hash value ? (10 character value) (https://vborg.vbsupport.ru/showthread.php?t=223925)

fer_75 09-25-2009 08:32 AM

Where to find the Cookie Hash value ? (10 character value)
 
Hi,

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

Quote:

Open the file /includes/functions.php from your vBulletin directory and find a variable that looks like:
PHP Code:

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:

PHP Code:

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
PHP Code:

$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)


All times are GMT. The time now is 10:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02215 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete