View Full Version : How to show a member something a guest something different
sherwood
02-21-2009, 08:21 AM
Would anyone be able to help me by telling me the code i would need to put into a template so I can show my members a piece of text and then show guests something different.
thanks
Dismounted
02-21-2009, 08:26 AM
<if condition="$show['guests']">GUESTS<else />MEMBERS</if>
sherwood
02-21-2009, 08:34 AM
hmm that didn't seem to work..
It showed the Members bit to the guests aswell and the guest bit didn't show up for any body
Dismounted
02-21-2009, 09:11 AM
Which template are you putting this in?
private_ale
02-21-2009, 09:12 AM
Try the inverted version
<if condition="$show['member']"> MEMBERS <else /> GUESTS </if>
:up:
sherwood
02-21-2009, 09:20 AM
When i did that it just showed the same for both again
Dismounted
02-21-2009, 09:21 AM
And the template you are putting it in is?...
sherwood
02-21-2009, 09:25 AM
I am putting it into one of the templates for the side columns of this mod
https://vborg.vbsupport.ru/showthread.php?t=175181
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.