Ta bort Last post image
Moderator: Moderatorgrupp
Ta bort Last post image
Jag har lyckats ta bort bilden i viewforum_body.tpl, men kan inte hitta var jag ska ta bort den på forumindex-sidan. Tips ?
Feel the Force !
windsurf.se
windsurf.se
Verkar inte vara därHolger skrev:Det kan hända att den finns i includes/page_header.php
Feel the Force !
windsurf.se
windsurf.se
Ursäkta, det borde vara denna kod i viewforum.php:
Kod: Markera allt
$newest_post_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> ';
Kod: Markera allt
$newest_post_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> ';
Holger Gremminger
Ingen support via PM!
Ingen support via PM!
Ser ju ut som om det skulle vara det, men även om jag tar bort hela raden(erna) så finns bilden kvar ?!!?
Feel the Force !
windsurf.se
windsurf.se
I index.php så finns följande kodblock:
På sista raden tar du bort:
Sitter inte hemma nu, så jag kan inte kolla att det löser hela ditt problem...
/marcus
Kod: Markera allt
if ( $forum_data[$j]['forum_last_post_id'] ) {
$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'] . ' ' ) : '<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>';
}
Kod: Markera allt
$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>';
/marcus
Vilka är online
Användare som besöker denna kategori: 7 och 0 gäster