![]() |
"if" condition for forum id?
Hi. Basically I want to add something to the navbar template, but only have it show up for certain usergroups, and in certain sections of the forum. I know the condition for usergroups, but what's the condition for e.g. "if currently in forum id 10"? Is there one?
Thanks! |
I think you could try
Code:
<if condition="$forumid == X AND is_member_of($bbuserinfo, Y)"> Remember, you can join up multiple conditions by using 'AND'. |
Excellent, just what I was looking for thanks!
Is there a list out there somewhere of useful vb variables? If not, someone should make one! It'd definitely come in handy :D |
Not sure about a list, but you're welcome. Happy to help.
|
All times are GMT. The time now is 03:19 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:
|