AKUFC
12-15-2003, 08:32 PM
I am not to familar with VB, I am trying to get the forum display to show the thread starter in its own table like the olden days, instead of below the title, I tried adding another column in the header, as well as the thread sections:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
</tr>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&order=desc&sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&order=asc&sort=title">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&order=asc&sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=views">$vbphrase[views]</a> $sortarrow[views]</td>
</tr>
That is the orignal code, when I moved the code around, it caused some misalignments, the view row was not displaying the number of views, bascially everything go moved over one, I think the problem is occuring in the bottom row of the thread title display section where you can choose how many threads per page etc.
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
Where would I find the "bottomcolspan" function I think that needs to be changed one more column to the function?
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
</tr>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&order=desc&sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&order=asc&sort=title">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&order=asc&sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&order=desc&sort=views">$vbphrase[views]</a> $sortarrow[views]</td>
</tr>
That is the orignal code, when I moved the code around, it caused some misalignments, the view row was not displaying the number of views, bascially everything go moved over one, I think the problem is occuring in the bottom row of the thread title display section where you can choose how many threads per page etc.
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
Where would I find the "bottomcolspan" function I think that needs to be changed one more column to the function?