Back to vBulletin 3 Articles

logout link on extranal page solved now
by tanshah 10 Dec 2006

I have reading lot about the suggested solution to make a link for logout on extranl pages but most of the guys was compaling that solution offer is not working i have worked on that and few hours re search i got the solution which i want to share to help others here is detail

require_once('path/global.php');
require_once('path/includes/functions_login.php');
$hh=$vbulletin->userinfo['logouthash'];
$url1="
<ahref= \"http://url/forum/login.php?$session[sessionurl]do=logout&amp;logouthash=".$hh."\">logut out</a>";
after that you can put link any where you want in your code
if its php then
just <? echo $url1?>

and you are done

vblts.ru supports vBulletin®, 2022-2024