The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want hide all text what is in tags [code ] for guests
How i can do that? Thanks |
|
#2
|
||||
|
||||
|
Edit the bbcode_code template and use a condiitonal around $code.
|
|
#3
|
|||
|
|||
|
Can you give me more info please?
|
|
#4
|
|||
|
|||
|
The conditional will be something like:
Code:
<if condition="$show['member']">
<!-- your contents go here to show to member, i.e. hide from guests -->
</if>
|
|
#5
|
||||
|
||||
|
Here's an example I like to use:
HTML Code:
<if condition="$show['member']"> $code <else /> You have no business looking for code that you can't see, missy! </if> |
|
#6
|
||||
|
||||
|
One thing to note is post caching. It will totally ruin what you're trying to achieve. Make sure you disable it.
|
|
#7
|
|||
|
|||
|
Ok But how to turn this down? I cant find it
Thanks for help to all! |
|
#8
|
||||
|
||||
|
It's in the vbulletin settings under Server Settings and Optimization Options.
Hint: Always check the settings first before giving up. |
|
#9
|
|||
|
|||
|
lol sorry maybe im blind but i cant find it :P
Under Server Settings and Optimization Options i have Lang Settings and Skins settings ... |
|
#10
|
|||
|
|||
|
<a href="http://www.vbulletin.com/docs/html/vboptions_group_server" target="_blank">Server Settings and Optimization Options</a>
It should be there alright, its in the manual! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|