Log in

View Full Version : Message above a thread please help


dt-pain
10-10-2008, 05:45 PM
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..

Lynne
10-10-2008, 06:23 PM
Well, Notices don't allow for a specific thread, so you'd probably have to edit the SHOWTHREAD template and put a condition there -
<if condition="$threadinfo['threadid'] == 'xxx'">
html to put in template
</if>

dt-pain
10-10-2008, 07:19 PM
Thanks.. I found this in the newthread template.

<!--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...

Lynne
10-10-2008, 07:27 PM
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)

dt-pain
10-10-2008, 07:55 PM
I'm sorry it is the newthread template..

--------------- Added 1223672987 at 1223672987 ---------------

i found the template it was in.. Thanks for your help...