The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Login / Logout Link
I searched but I guess I'm not useing the right keywords....
Anyhow, can someone give me a example (or point me to a post) that shows something to this affect: if user is not logged in display text/link: Click here to Login if user is logged in display text/link: Click here to logout Can anyone help me out? Thanks, Eroc |
#2
|
|||
|
|||
I don't know if this explains it, but here's the bit from my template, just modified.
Code:
<if condition="$bbuserinfo['userid']"><td width="39"><table width="78" height="39" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="$stylevar[imgdir_misc]/logout.gif"><A HREF="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()" onMouseOver="JSFX.fadeIn('logout')" onMouseOut="JSFX.fadeOut('logout')"><img name="logout" class="imgFader" src="$stylevar[imgdir_misc]/logout.gif" width="78" height="39" border="0"></A></td> </tr> </table></td></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|