The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help showing Forum discription only to guest.
Hi i want to show one part of forum discription only to guests and other part only to members. Please tell me what codes should i use or how i can do that.
|
#2
|
||||
|
||||
I suppose you can put this around the description in the template:
Code:
<if condition="!$show['guest']"> stuff to show to logged in users <else /> stuff to show to guests </if> |
#3
|
|||
|
|||
i have tried it but it don't work.
|
#4
|
||||
|
||||
Where did you try it and what was the exact result? (I assume you looked at the page first as an admin and then logged out and looked at the page again as a logged out guest?)
|
#5
|
|||
|
|||
i first viewed the page as admin but both the texts were being shown and then i logged out of the forum and still both the texts were being shown
|
#6
|
||||
|
||||
It is <if condition="!$show['member']"> not <if condition="!$show['guest']">. But I don't know if conditionals work in the forum description.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|