PDA

View Full Version : Add custom text to "new thread" on specific forum


Lucas79
05-02-2012, 11:13 AM
Hi All,

I've done some searching, but can't seem to find what I am looking for.

It seems quite easy to add custom text to the "Post New Thread" section, but what I want/need is a custom text on 1 specific Forum. In our case I'd like to add a text in our "Sales" forum with specific rules for selling stuff.

Anyone has any idea how to accomplish this (easy :D) ?

We use vbulletin 4.1.12.

Thanks in advance and kind regards,

Lucas

kh99
05-02-2012, 11:20 AM
So it sounds like you know how you would add text by editing the newthread template? Then you would just need to surround your new text by if tags, and check the forum id, like:

<vb:if condition="$forumid == X">
Rules for sales forum
</vb:if>


of course you would change X to the actual id number of your Sales forum.

Lucas79
05-02-2012, 03:26 PM
Thanks! Just the answer I was looking for.

I am still kinda new to vbulletin, so sometimes the simplest of problems still elude me. :o

Going to work on some nice "Sales rules" now.

It is Ducth, but this is how it looks like now: (http://www.type-r.nl/newthread.php?do=newthread&f=62)

Thanks again, and kind regards,

Lucas

shabsta
07-27-2012, 06:06 PM
So it sounds like you know how you would add text by editing the newthread template? Then you would just need to surround your new text by if tags, and check the forum id, like:

<vb:if condition="$forumid == X">
Rules for sales forum
</vb:if>


of course you would change X to the actual id number of your Sales forum.can you advise as to which file needs to be edited or where inside the admin cp i navigate to, to find the template?