Quote:
Originally Posted by RS_Jelle
$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>
So you can use $vbulletin->userinfo['logouthash'] in PHP files, but the template way is a bit cleaner ofcourse.
|
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.