obmob
11-21-2007, 03:33 AM
Hello, I'm trying to modify my template to show the reply, closed and new thread buttons inside the navbar. I thought it was working ok, but today i closed a thread and realized the closed button isn't shown, instead, i have the reply button.
This is my navbar table, i want it to look alike webhostingtalk.com forums:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><div style="font-weight:bold" class="pspace"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /> <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions</a> » $navbits[breadcrumb] $navbits[lastelement]</div></td>
[B]<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['newthreadlink']">
<td class="alt1"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else /></td></if>
</tr>
</table>That bold line seems to be my problem, but i don't know if it is because i moved that into the navbar out of showthread template... anyone has an idea on how could i fix this problem?
Thank you in advance :D
This is my navbar table, i want it to look alike webhostingtalk.com forums:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><div style="font-weight:bold" class="pspace"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /> <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions</a> » $navbits[breadcrumb] $navbits[lastelement]</div></td>
[B]<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['newthreadlink']">
<td class="alt1"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else /></td></if>
</tr>
</table>That bold line seems to be my problem, but i don't know if it is because i moved that into the navbar out of showthread template... anyone has an idea on how could i fix this problem?
Thank you in advance :D