Hi folks,
my first mod

I tried to keep it like the BoardMod format, but it's my very first so be kind with me, please. This mod shows now not only the name of the topic starter but also the date on which the topic was startet.
<id>
'Beitrag begonnen am' für YaBB SE 1.40
</id>
<version>
1.1 Final
</version>
<mod info>
This Mod shows not only the name of the topic starter but also the date on which the topic was started. My moderators requested it because they want a better overwiew.
IMPORTANT: Make a backup of the files english.lng, german.lng and MessageIndex.php !!
Mail: [email protected]
</mod info>
<author>
Eloya
</author>
<homepage>
http://www.travar.de
</homepage>
<edit file>
english.lng
</edit file>
<search for>
$txt[109] = "Started by";
</search for>
<replace>
$txt[109] = "Started by / at";
</replace>
<edit file>
german.lng
</edit file>
<search for>
$txt[109] = "Begonnen von";
</search for>
<replace>
$txt[109] = "Begonnen von / am";
</replace>
<edit file>
Sources/MessageIndex.php
</edit file>
<search for>
$lastposter = $row['posterName'];
$lastPosterID = $row['ID_MEMBER'];
$mdate = $row['posterTime'];
$mname = $row['mname'];
</search for>
<add after>
$firstid = $row['ID_FIRST_MSG'];
</add after>
<search for>
}
if ($mid != '-1') {
LoadRealName ($mname);
$name2 = $realNames[$mname];
}
</search for>
<add after>
$result2 = mysql_query("SELECT posterTime from {$db_prefix}messages WHERE ID_MSG='$firstid'");
while ($row = mysql_fetch_array($result2))
{
$mdate2 = $row['posterTime'];
}
</add after>
<search vor>
# Print the thread info.
$mydate = timeformat($mdate);
</search for>
<add after>
$mydate2 = timeformat ($mdate2);
</add after>
<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">$mname</font><br><font size="1">$mydate2</font></td>
</replace>
Yours,
Nico