The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I changed some of the graphics in my vb theme, now the if statement in my header will not work. Specifcally, the register button does not appear for unregistered visitors, they just see the quick links button. Any tips?
HTML Code:
<if condition="$show['registerbutton']"> <td width="63" height="25" align="left" valign="top"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/ambience_nav_reg.gif" alt="" width="63" height="25" border="0" /></a></td> <else /> <td width="63" height="25" align="left" valign="top" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/q_links.gif" alt="" width="63" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td> </if> |
#2
|
||||
|
||||
![]()
$show[registerbutton]
You might try dropping the quotes. |
#3
|
|||
|
|||
![]()
I tried that and it gave me a nasty parse error
|
#4
|
||||
|
||||
![]()
Is $show['registerbutton'] actually being set?
|
#5
|
|||
|
|||
![]()
where do I check? that is pretty much what I have been trying to find out.
it was working fine before, but I added an extra button. I modified the table so everything would fit, but the register button stopped appearing for non-registered guests. Everyone sees the quicklinks button. |
#6
|
||||
|
||||
![]()
Post the original template bit.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|