News:

Wondering if this will always be free?  See why free is better.

Main Menu

How to seperate Posts and replies

Started by rongup, October 20, 2005, 03:39:13 AM

Previous topic - Next topic

rongup

I wanted to seperate the posts and replies of the index of forum
I Use SMF Default Theme
pls help me

rongup


1MileCrash

i will since im so cool.
open the file Themes/default/Boardindex.template.php.

first find this
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="5">
<tr>
<td colspan="4" class="catbg', $category['new'] ? '2' : '', '" height="18">';


make the colspan 5.
Quote
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="5">
   <tr>
      <td colspan="5" class="catbg', $category['new'] ? '2' : '', '" height="18">';

now, that's just so it stays pretty. to actually do it do it,

find this,

// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="smalltext" valign="middle" width="22%">';


replace with this.

// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], '
</span></td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['topics'], '
</span></td>
<td class="smalltext" valign="middle" width="22%">';


result: http://model98.org/forum/index.php?;theme=1

is this what you wanted?
The only thing php can't do is tell you how much milk is left in the fridge.



rongup

#3
Thanks a lot genius
But i dont want it to be so broad.
I want the SMF way on this forum
Also on testing it the part of the head /Topic of the board after the Topics disapears into white

rongup

#4
I got this problem solved
Thanks :D

Advertisement: