The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to get logout hash
How can i get the logout hash without including global. I included the init script but whenever i include global it just overloads. its too much for the site and i think somethings conflicting. So is there anyway to get the logout has so i can logout properly.
Or will i just need to create a custom page or something in forums and make a pop up window and people logout from there. thanks. |
#2
|
|||
|
|||
$bbuserinfo[logouthash] for use in the templates
So you get something like this: HTML Code:
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a> |
#3
|
|||
|
|||
Quote:
cool thanks, i wasnt sure if i needed to included global as well. $bbuserinfo[logouthash] worked fine as in the script i have it builds an array bbuserinfo and then i use global to include it. works great now thanks. |
#4
|
|||
|
|||
Are there any things I need to call before I can get the $bbuserinfo? I know the cookie is set and I see them in phpinfo but I'm not sure why I can't echo them in PHP.
|
#5
|
||||
|
||||
$vbulletin->userinfo
$bbuserinfo is used in templates. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|