Im using the following code in the footer bar on my site so if a member is logged in they see the logout link - however when the link is clicked a popbox comes up and just says 'undefined' and im not sure why. Any suggestions?
HTML Code:
<if condition="$bbuserinfo['userid'] <> 0"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a> -</if>
Weird find to this - If I right click the link and click 'open link in new window' then it works fine...no im really confused.