View Full Version : When a post is made?
sheppardzwc
04-26-2009, 01:15 PM
Is there an <if> statement for when a post is created in a specific forum? Along with that, the title of that thread? I'm trying to create a line of text that will show up near the header when a post is made in a specific forum for my technical staff.
Lynne
04-26-2009, 02:37 PM
The variable names used in the if statement would depend on which template you are using. So, which template are you modifying?
sheppardzwc
04-26-2009, 02:52 PM
The variable names used in the if statement would depend on which template you are using. So, which template are you modifying?
I'll probably use navbar. Our header is already customized and I don't want to add much more to it.
Lynne
04-26-2009, 03:15 PM
You can try using $forumid in that template. I've never done a condition for the forumid in the navbar before. But, try (change x to your forumid):
<if condition="$forumid == 'x'">
whatever
</if>
sheppardzwc
04-26-2009, 03:49 PM
You can try using $forumid in that template. I've never done a condition for the forumid in the navbar before. But, try (change x to your forumid):
<if condition="$forumid == 'x'">
whatever
</if>
Ok, but is there any way that it could only show if a new post is made in that forum? i.e.
<if condition="$newpost[forumid] == true">
stuff
</if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.