ah ok that seems to have worked. Although there is an error in the piece of code I just downloaded:
The code is:
Code:
// If logged in display logout link
echo "<a href=\"".$forumpath."login.php?$session[sessionurl]do=logout&logouthash=$logouthash";
echo $vbulletin->userinfo['logouthash'];
echo "\">";
echo "<font size=\"1\" face=\"verdana\">Log Out</font></a>
";
Note that after the first $forumpath the string should then be ."
/login.php..." Otherwise the Log Out link points to an invalid path.