![]() |
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. |
$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> |
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. |
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.
|
$vbulletin->userinfo
$bbuserinfo is used in templates. |
All times are GMT. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|