Seite 1 von 1
Unsere Benutzer haben insgesamt 900 Beträge geschrieben.
Verfasst: 30.04.2003 12:09
von maribossa
Hi leute, diesen Satz habt ihr bestimmt schön öffter gelesen.
jetzt meine Frage, wie kann ich das ändern, dass nicht die BEITRÄGE, sondern die ARTIKELZAHL (ist ja mehr) angezeigt wird?

Verfasst: 30.04.2003 12:27
von Bodymaker
Noch besser. Du gibst an: "Unsere Benutzer haben soundsoviel Sätze/Wörter/Buchstaben geschrieben".
Ist doch noch mehr

))
Verfasst: 30.04.2003 12:36
von SÜDGIXXER
Code: Alles auswählen
##############################################################
## MOD Title: Index Stats Fix for 2.0.4
## MOD Author: invisus < webmaster@outload.net > (Miller Larson) www.outload.net
## MOD Description: Restores the number of topics stat in index.php on phpbb v2.0.4
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 2 Minutes
## Files To Edit: index.php, index_body.tpl, lang_main.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes: For some reason somewhere between v2.0.0 and v2.0.3 I noticed that the number of topics in the 'Who is Online' block, was omitted in index.php I've replaced this value. Why was it removed in the first place??
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
$total_posts = get_db_stat('postcount');
#
#-----[ AFTER, ADD]------------------------------------------
#
$total_topics = get_db_stat('topiccount');
#
#-----[ FIND ]------------------------------------------
#
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
#
#-----[ AFTER, ADD]------------------------------------------
#
'TOTAL_TOPICS' => sprintf($lang['Posted_topics_total'], $total_topics),
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// Stats block text
//
#
#-----[ AFTER, ADD]------------------------------------------
#
$lang['Posted_topics_total'] = ' within <b>%d</b> topics'; // Number of topics
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{TOTAL_POSTS}
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{TOTAL_TOPICS}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM