The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to get forumid and use a conditional
Hi again,
I want to show some text in a specific forum (which atm is 132). I have used the conditional: Code:
<vb:if condition="$forumid == 132"><strong style="color:#FF0000;">This thread is archived!</strong><hr /></vb:if> |
#2
|
||||
|
||||
Try this.
HTML Code:
<vb:if condition="$forum[forumid] == 132"><strong style="color:#FF0000;">This thread is archived!</strong><hr /></vb:if> HTML Code:
<vb:if condition="$GLOBALS[forumid] == 132"><strong style="color:#FF0000;">This thread is archived!</strong><hr /></vb:if> |
#3
|
|||
|
|||
I did use your first code a while back but got asked to change it and it worked. See here: https://vborg.vbsupport.ru/showthread.php?t=296345
I will try it again and see what happens. --------------- Added [DATE]1410260114[/DATE] at [TIME]1410260114[/TIME] --------------- Thanks ozzy47, the GLOBALS code worked. Thanks mate. Can't like your post as I need to like others first lol. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|