The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Code:
<if condition="$show['guests']">GUESTS<else />MEMBERS</if> |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Which template are you putting this in?
|
|
#5
|
||||
|
||||
|
Try the inverted version
Code:
<if condition="$show['member']"> MEMBERS <else /> GUESTS </if> |
|
#6
|
|||
|
|||
|
When i did that it just showed the same for both again
|
|
#7
|
||||
|
||||
|
And the template you are putting it in is?...
|
|
#8
|
|||
|
|||
|
I am putting it into one of the templates for the side columns of this mod
https://vborg.vbsupport.ru/showthread.php?t=175181 |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|