The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Message above a thread please help
I would like to add message above a specific thread. I have seen this done but have no clue how to do this. Can i get some advise how to do this please..
|
#2
|
||||
|
||||
Well, Notices don't allow for a specific thread, so you'd probably have to edit the SHOWTHREAD template and put a condition there -
HTML Code:
<if condition="$threadinfo['threadid'] == 'xxx'"> html to put in template </if> |
#3
|
|||
|
|||
Thanks.. I found this in the newthread template.
HTML Code:
<!--ADDED RULES CODE - CHRIS BURGESS 5/18/7--> <if condition="($forumid == 20) ||($forumid == 82) || ($forumid == 21) || ($forumid == 66) || ($forumid == 75)"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> <span class="smallfont"><strong>B/S/T Rules</strong> </td> </tr> <tr> HTML TEXT WAS HERE </ol></font></td></tr></table><br></if> <!--END ADDED RULES CODE--> But when I remove this the HTML text stayed above the thread. Also one of the thread ID was 91 and it wasn't even included with this code.. I dont get this at all.. I'm going crazzy here... |
#4
|
||||
|
||||
Which template are you wanting to add this to? You said yourself that that is the newthread template, I thought you wanted it in the SHOWTHREAD template. (newthread is what shows if you hit the New Thread button, SHOWTHREAD is what shows if you are viewing the thread will all the posts)
|
#5
|
|||
|
|||
I'm sorry it is the newthread template..
--------------- Added [DATE]1223672987[/DATE] at [TIME]1223672987[/TIME] --------------- i found the template it was in.. Thanks for your help... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|