Re: Anzeige Anzahl der Themen
Verfasst: 25.11.2012 16:44
Mach mal besser in dem anderen Thema weiter... hier geht es um Memberlist; soweit ich es sehen konnte.
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
{
$member['posts_in_queue'] = 0;
}
Code: Alles auswählen
$sql = 'SELECT COUNT(topic_id) AS topic_starts FROM ' . TOPICS_TABLE . '
WHERE topic_poster = ' . (int) $user_id;
$result = $db->sql_query($sql);
$member['topic_starts'] = (int) $db->sql_fetchfield('topic_starts');
$db->sql_freeresult($result);
Code: Alles auswählen
'POSTS_PCT' => sprintf($user->lang['POST_PCT'], $percentage),
Code: Alles auswählen
'TOPIC_STARTS' => $member['topic_starts'],
'U_TOPIC_STARTS' => append_sid("{$phpbb_root_path}search.$phpEx", 'author_id=' . $user_id . '&sf=titleonly&sr=topics'),
Code: Alles auswählen
<dt>{L_TOTAL_POSTS}:</dt>
<dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF -->
<!-- IF POSTS_PCT --><br />({POSTS_PCT} / {POSTS_DAY})<!-- ENDIF -->
Code: Alles auswählen
<!-- IF TOPIC_STARTS and S_DISPLAY_SEARCH --><dt>{L_TOPICS}:</dt> <dd><strong><a href="{U_TOPIC_STARTS}">{TOPIC_STARTS}</a></strong></dd></dt><!-- ENDIF -->