Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: kopchev on December 22, 2008, 07:24:08 AM

Title: I need a little help
Post by: kopchev on December 22, 2008, 07:24:08 AM
Hello, I want to change the way the first post of a thread look like: being more specific: i wanna "Posted on: date etc" to be shown, and Reply #... to be shown ot the other posts. Now the fist post begins with << : date etc..., and I want it to begin with << Posted on: date ....>>

The code i should alter is:

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
echo '
<div class="smalltext">&#171; <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' &#187;</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" class="postbuttons">';


Any suggestions...