[Unknown]
Global Moderator
YaBB God
    
Posts: 7830


|
 |
Re:show date under topic starter
« Reply #1 on: March 09, 2003, 06:22:32 PM » |
|
I like this mod.
<edit file> Sources/MessageIndex.php </edit file>
<search for> $result = mysql_query(" SELECT t.ID_LAST_MSG, t.ID_TOPIC, t.numReplies, t.locked, m.posterName, m.ID_MEMBER, IFNULL(mem.realName, m.posterName) AS posterDisplayName, t.numViews, m.posterTime, m.modifiedTime, t.ID_FIRST_MSG, t.isSticky, t.ID_POLL, m2.posterName as mname, m2.ID_MEMBER as mid, IFNULL(mem2.realName, m2.posterName) AS firstPosterDisplayName, m2.subject as msub, m2.icon as micon, IFNULL(lt.logTime, 0) AS isRead, IFNULL(lmr.logTime, 0) AS isMarkedRead FROM {$db_prefix}topics as t, {$db_prefix}messages as m, {$db_prefix}messages as m2 </search for>
<replace> $result = mysql_query(" SELECT t.ID_LAST_MSG, t.ID_TOPIC, t.numReplies, t.locked, m.posterName, m.ID_MEMBER, IFNULL(mem.realName, m.posterName) AS posterDisplayName, t.numViews, m.posterTime, m.modifiedTime, t.ID_FIRST_MSG, t.isSticky, t.ID_POLL, m2.posterName as mname, m2.ID_MEMBER as mid, IFNULL(mem2.realName, m2.posterName) AS firstPosterDisplayName, m2.subject as msub, m2.icon as micon, IFNULL(lt.logTime, 0) AS isRead, IFNULL(lmr.logTime, 0) AS isMarkedRead, m2.posterTime AS startedPosterTime FROM {$db_prefix}topics as t, {$db_prefix}messages as m, {$db_prefix}messages as m2 </replace>
<search for> <td class="windowbg2" valign="middle" width="14%" bgcolor="' . $color['windowbg2'] . '"> <font size="2">' . $mname . '</font></td> <search for>
<replace> <td class="windowbg2" valign="middle" width="14%" bgcolor="' . $color['windowbg2'] . '"> <font size="2">' . timeformat($row['startedPosterTime']) . '<br />' . $txt[525] . $mname . '</font></td> </replace>
That should be it.
-[Unknown]
|