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.