PDA

View Full Version : What is the logout url for vbulletin


kobescoresagain
05-19-2005, 06:34 PM
I found this when I went to properties:
http://www.sccollectors.com/forums/login.php?do=logout&u=1

I am trying to make an image logout button for a vbadvanced page, if I put this url in it doesn't work because it will only allow user 1 to logout. What should I use? Any help would be appreciated.

Brad
05-19-2005, 06:56 PM
Use bbuserinfo to return the current userid:

<a href="/path/to/login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]">Log Out</a>

kobescoresagain
05-19-2005, 07:14 PM
Okay so I am going to splice the image and if I put the following
<a href="http://www.sccollectors.com/to/login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]">Log Out</a> as the url it will logout when someone clicks on that portion of the image? www.sccollectors.com is the site url the forum urls is www.sccollectors.com/forums do I need to put the forum url instead of the site url?

thanks I go it to work