Seite 1 von 1
Datum wird im index nicht angezeigt
Verfasst: 25.10.2005 22:29
von SmellyFreeze
Hi ,
Also ich ahbe ein problem....
im index wird das datum des letzen posts nicht anzeigt...
falls ihr euch überzeugen wollt:
http://hhscouts.hh.ohost.de/Forum/
wie kann ich das beheben??
bitte um hilfe
Verfasst: 25.10.2005 22:35
von kratzer54847
verlink mal deine index.php
KB:datei
Verfasst: 25.10.2005 22:37
von SmellyFreeze
Verfasst: 25.10.2005 22:49
von Markus67
Hi ...
suche:
Code: Alles auswählen
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($forum_data[$j]['user_id']);
$last_post = $last_post_time . '<br />';
$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> ';
$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'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
ersetze mit:
Code: Alles auswählen
$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post = $last_post_time . '<br />';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($forum_data[$j]['user_id']);
$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'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
Markus
Verfasst: 25.10.2005 22:53
von SmellyFreeze
Oki thx markus ist wieder richtig!!
kann geclosed werden
ähm nochwas weißt du vielleicht nochwas wegen meinem prob von advanced repost post hack v2?? der post ist unter admin und benutzung!
thx im vorraus!