Deutsch
Diese Hack zeigt auf der index.php unter dem username der das letzte posting gemacht hat auch den titel des threads auf dem dieser das reply geschrieben hat!
English
This hack showes the thread title in the "Last Post" col.
Information
[Version nummer] maybe 1.0 beta
[Files to change] index.php and forumhome_lastpostby template
Installation
== in index.php ==
find:
below that add:
== in forumhome_lastpostby template ==
find:
und this add:
thats all folk
have phun!
Diese Hack zeigt auf der index.php unter dem username der das letzte posting gemacht hat auch den titel des threads auf dem dieser das reply geschrieben hat!
English
This hack showes the thread title in the "Last Post" col.
Information
[Version nummer] maybe 1.0 beta
[Files to change] index.php and forumhome_lastpostby template
Installation
== in index.php ==
find:
PHP Code:
// prepare template vars
if (!$showforumdescription) {
$forum['description']='';
}
PHP Code:
$lastposttitle = $DB_site->query("SELECT title FROM thread WHERE forumid='$forum[forumid]' ORDER BY lastpost DESC");
$lastposttitle = $DB_site->fetch_array($lastposttitle);
$lastposttitle = $lastposttitle[title];
if (strlen($lastposttitle) > 20) {
$lastposttitle = substr($lastposttitle,0,18);
$lastposttitle .= "..";
}
find:
PHP Code:
<a href="member.php3?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$forum[forumid]"><b>$forum[lastposter]</b></a>
PHP Code:
<br><a href="showthread.php3?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]"><b>$lastposttitle</b></a></a></smallfont></td>
have phun!
Comment