Seite 1 von 1
Recent Topics, Sachen entfernen
Verfasst: 30.06.2005 22:09
von nasenkopf
Hab mir Recent Topics von Acid geholt.
http://www.phpbbhacks.com/download/589
Ich will alles bis auf dem Threadnamen von der anzeige entfernen!
Also der Author, das Datum und die Forenkategorie soll weg, sodass nur der Threadname da bleibt.
Was muss ich in der recent.php entfernen?
danke!
Verfasst: 30.06.2005 22:13
von Markus67
Hi ...
in der recent.php hast du 2 Bereiche ...
Überschrift
Code: Alles auswählen
// ############## output ##############
echo '<table width="100%" cellpadding="1" cellspacing="1" border="0" align="center">
<tr>
<th colspan="2">'. $topic_limit .' last topics</th>
</tr>';
// ############## output ##############
Inhalt
Code: Alles auswählen
// ############## output ##############
echo '<tr>
<td valign="top" nowrap="nowrap">'. $topic_type .'<a href="'. $topic_url .'">'. $topic_title .'</a></td>
</tr>
<tr>
<td><a href="'. $forum_url .'">'. $line[$i]['forum_name'] .'</a>: '. $last_url .' '. $last_time .'</td>
</tr>';
// ############## output ##############
Hier kannst du rausnehmen was du nicht brauchst
Markus
Verfasst: 30.06.2005 22:28
von nasenkopf
ok danke Markus

- klappt.
hab folgendes in Fett und Groß entfernt:
// ############## output ##############
echo '<tr>
<td valign="top" nowrap="nowrap">'. $topic_type .'<a href="'. $topic_url .'">'. $topic_title .'</a></td>
</tr>
<tr>
<td><a href="'. $forum_url .'">'. $line[$i]['forum_name'] .'</a>: '. $last_url .' '. $last_time .'</td>
</tr>';
// ############## output ##############
Andere Frage:
Wenn man nun auf einen der letzen Beiträge dort klickt, kommt man zum Thread,
aber nicht zum letzten Post.
Kann man das noch irgendwie einstellen?
danke!
Verfasst: 07.07.2005 11:22
von nasenkopf
Weiß das jemand`?
Folgende Zeile muss ich verändern:
$topic_url = $root_path .'viewtopic.php?t='. $topic_id;
Es wird dann so angezeigt:
Ich bräuchste es aber so:
Verfasst: 07.07.2005 12:27
von nasenkopf
Ich hab geschafft.
Folgendes hab ich eingefügt:
$topic_last_post_id = $line[$i]['topic_last_post_id'];
Und die $topic_url geändert:
$topic_url = $root_path .'viewtopic.php?p='. $topic_last_post_id . '#' . $topic_last_post_id;