jetzt meine Frage, wie kann ich das ändern, dass nicht die BEITRÄGE, sondern die ARTIKELZAHL (ist ja mehr) angezeigt wird?
Unsere Benutzer haben insgesamt 900 Beträge geschrieben.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Unsere Benutzer haben insgesamt 900 Beträge geschrieben.
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?
jetzt meine Frage, wie kann ich das ändern, dass nicht die BEITRÄGE, sondern die ARTIKELZAHL (ist ja mehr) angezeigt wird?
-
Bodymaker
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