The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
Hey man, i managed to get it working by adding codes from other templates lol.
I seem to be good at that :P Here is my code for what you are looking for. Code:
<if condition="$show['guest']"> <div class="smallfont"> <img src="URL FOR GUEST IMAGE HERE"> <strong>Welcome,</strong> Guest <p> Already Member? <a href="http://or-gaming.com/forum/usercp.php?langid=1">Login</a><br> Or <a href="http://or-gaming.com/forum/register.php">Register</a> an account </div> </if> <a href="http://www.YOURSITE.com/forum/profile.php?$session[sessionurl]do=editavatar"><img src="http://www.YOURSITE.com/forum/image.php?u=$bbuserinfo[userid]" alt="Your Avatar" border="0" /></a> This shows the users avatar when logged in.. also has a log out {username} at the bottom, with PM's aswell. It also has alternative text for guests with links to the Register page and Login page, with an image just above. Code:
<if condition="$show['member']"> <div class="smallfont"> <div ALIGN="center"> <a href="http://www.YOURSITE.com/forum/profile.php?$session[sessionurl]do=editavatar"><img src="http://www.YOURSITE.com/forum/image.php?u=$bbuserinfo[userid]" alt="Your Avatar" border="0" /></a> </div> <br> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['notifications']"> <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifications"); </script> <else /> <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script> </if> <else /><if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if></if> <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if> </div> <br> <div ALIGN="center"> <if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar/logout.gif" border="0" width="110" height="26" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></if> </div> <else /> </if> </div> </td> </tr> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|