The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with button code
ok, I need this code here to be changed for when the user is not logged in.
I need one for JOIN NOW when the user isnt logged in and a login in one. can someone please help. Its going in the website code for the top nav here. www.levelboosters.com/forum PHP Code:
|
#2
|
||||
|
||||
Just add an <else /> to the statement for the JOIN NOW option:
HTML Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td> <else /> YOUR JOIN NOW option (get registration link from navbar?) </if> |
#3
|
|||
|
|||
Thank you very much.
|
#4
|
|||
|
|||
How would I do this on a non vb page?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|