Hi ....
der Block ist falsch in die viewtopic.php eingebaut ...
suche:
Code: Alles auswählen
// Editing information
//
if ( $postrow[$i]['post_edit_count'] )
{
$l_edit_time_total = ( $postrow[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total'];
$l_edited_by = ' $sql = "SELECT COUNT(topic_id) AS topics
FROM ". TOPICS_TABLE ."
WHERE topic_poster = '". $postrow[$i]['user_id'] ."'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not count topics", '', __LINE__, __FILE__, $sql);
}
$topics = $db->sql_fetchrow($result);
$poster_topics = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Topics'] . ': '. ( $topics['topics'] == 0 ? $lang['None'] : $topics['topics'] ) : '';
<br /><br />' . sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'], $postrow[$i]['post_edit_time'], $board_config['board_timezone']), $postrow[$i]['post_edit_count']);
}
else
{
$l_edited_by = '';
}
//
// Again this will be handled by the templating
// code at some point
ersetze mit:
Code: Alles auswählen
// Editing information
//
if ( $postrow[$i]['post_edit_count'] )
{
$l_edit_time_total = ( $postrow[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total'];
$l_edited_by = '<br /><br />' . sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'], $postrow[$i]['post_edit_time'], $board_config['board_timezone']), $postrow[$i]['post_edit_count']);
}
else
{
$l_edited_by = '';
}
$sql = "SELECT COUNT(topic_id) AS topics
FROM ". TOPICS_TABLE ."
WHERE topic_poster = '". $postrow[$i]['user_id'] ."'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not count topics", '', __LINE__, __FILE__, $sql);
}
$topics = $db->sql_fetchrow($result);
$poster_topics = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Topics'] . ': '. ( $topics['topics'] == 0 ? $lang['None'] : $topics['topics'] ) : '';
//
// Again this will be handled by the templating
// code at some point
Markus