![]() |
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> |
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> |
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. |
All times are GMT. The time now is 02:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|