lttcoder
10-04-2005, 11:23 AM
Hi!
look at this attachment
https://vborg.vbsupport.ru/attachment.php?attachmentid=34120
the hack : https://vborg.vbsupport.ru/showthread.php?t=95663
The problem with this hack is that it will be displayed for ALL THREADS.
But what I want it to do is display for threads inside certain forums.
Lets say I have 4 forums:
PC GAME discussion
PS2 discussion
XBOX discussion
Game releases
And the header should only appear inside GAME RELEASES.
This is the code for the header information.
Any change that should be done here?
Like :
if current.forum = forumid,forumid2,forumdi3 then display header?
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>
<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
look at this attachment
https://vborg.vbsupport.ru/attachment.php?attachmentid=34120
the hack : https://vborg.vbsupport.ru/showthread.php?t=95663
The problem with this hack is that it will be displayed for ALL THREADS.
But what I want it to do is display for threads inside certain forums.
Lets say I have 4 forums:
PC GAME discussion
PS2 discussion
XBOX discussion
Game releases
And the header should only appear inside GAME RELEASES.
This is the code for the header information.
Any change that should be done here?
Like :
if current.forum = forumid,forumid2,forumdi3 then display header?
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>
<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />