The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
need quick help with showing image to unregistered users
Hi, I want to have some code in my navbar template that will load an image if someone is unregistered. I am not a coder and tried this:
<if condition="$post['usergroupid'] == 1"><a href="http://www.sitename.org/forums/register.php?"><img src="http://www.sitename.org/unregistered.gif" alt="" border="0" /></a> </if> I thought this might load the image for those who are unsubscribed but it doesn't. Can someone tell me what I coded wrong? THANKS!! |
#2
|
|||
|
|||
try-
<if condition="!$bbuserinfo[userid]"><a href="/forums/register.php?"><img src="/unregistered.gif" alt="" border="0" /></a> </if> |
#3
|
|||
|
|||
Thanks
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|