The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Default text to display in every first post
I'm trying to display some text which will show in every first post in every thread, but I also only want it to display in a specific forum section. The id of the forum is definitely 22 and I've already found some code which apparently should work.
Here is the code I am currently using in the template "ad_showthread_firstpost_start". Code:
<vb:if condition="$forum[forumid] == 22"> This is the custom text. </vb:if> If I remove the if condition then the text displays fine, but it obviously then displays in every single thread on the site. I am testing this on a dev forum so the forums are turned off. I can't see that being an issue but thought worth mentioning in case. Any help would be much appreciated! Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|