Seite 1 von 1

Anpassung "letzter Beitrag im Index"

Verfasst: 22.01.2006 16:40
von ThaRealMatix
Hallo,

ich habe den Mod bereits erfolgreich einegbaut, allerdings gefällt mir die Reihenfolge nicht so ganz :/

Ich hätte ihn gerne nach folgendem Schema:

Datum/heute von [Poster] "<br>"
Titel des Themas Icon zum letzen Post

...

Ideal wäre es noch, wenn der Titel, sobald er die Tabelle sprengen würde "gepünktelt" wird :)

Gruß

ThaRealMatix

Verfasst: 23.01.2006 20:09
von ThaRealMatix
Hallo,

ich habe mich ein wenig damit beschäftigt und einiges selber hinbekommen. Leider ist der Link zum Thema/Titel des Themas aber immer noch vor dem Datum.

Wenn mir jemand sagen könnte, wie ich das Datum VOR den Link/den Titel bekomme, wäre es perfekt und ich sehr dankbar.

Mein derzeitiger Code:

Code: Alles auswählen

$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
		$last_post = '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a>' . '&nbsp;<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a><br>am:&nbsp;';
		$last_post .= $last_post_time .  $lang['by'] . '';
		$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';

Verfasst: 23.01.2006 22:15
von ThaRealMatix
kann geschlossen werden, hat sich erledigt.