Seite 1 von 1

Besucherzähler

Verfasst: 22.09.2005 21:59
von franticfreak
habe mir den chCounter3.1.1 gezogen und möchte ihn gerne NUR im portal einbaun, soll ich dennoch so wie in der anleitung vorgehen oder anderes?

Verfasst: 22.09.2005 22:05
von Peggy
Brauchst dann nur dieses {COUNTER} in eine Box im Portal reinsetzen (also in die portal_body.tpl, nicht in die overall_footer.tpl).

Verfasst: 22.09.2005 22:18
von franticfreak
Kann man dann im ACP auch farbe,anzahl der schon dagewesenen besucher ändern?

Verfasst: 22.09.2005 22:22
von Peggy
Einstellungen kannst du hier machen:

www.deinedomain.de/chCounter/administration/

Farbe ändern:
chCounter/templates/stats/style.css

Verfasst: 22.09.2005 23:37
von franticfreak
Ok
aber nen anderes prob habe ich, in der datei die runtergeladen habe sind ja halt diese ganzen php datein auch die index datei, aber wenn ich die auf den root machen will muss ich die alte überschreiben, hab ich mal gemacht(natürlich voher nen backup gemacht) und logischweise komm ich nicht mehr ins forum
daher meine frage

muss ich dann "nur" das hier machen?
############################################################
## MOD Title: chCounter integration
## MOD Author: Christoph Bachner < webmaster@christoph-bachner.net > http://www.christoph-bachner.net
## MOD Description: Includes the chCouter into every phpBB page.
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 3 Minutes
## Files To Edit: (3)
## page_header.php
## overall_footer.tpl
## simple_footer.php
##############################################################
### Author Notes:
##
## This MOD is NOT EasyMod compatible.
## The chCounter should be installed first.
##
###
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//

#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// chCounter
//
ob_start();
$chCounter_force_new_db_connection = FALSE;
include( 'absolute_path_to_counter_directory/counter.php' );
$chCounter = ob_get_contents();
ob_end_clean();


#
#-----[ FIND ]------------------------------------------
#
'SITENAME' => $board_config['sitename'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'COUNTER' => $chCounter,



#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_footer.tpl

#
#-----[ IN-LINE FIND ]------------------------------------------
#
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span>

#
#-----[ In-LINE AFTER, ADD ]------------------------------------------
#
<br />
{COUNTER}



#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/simple_footer.tpl

#
#-----[ IN-LINE FIND ]------------------------------------------
#
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001,2002 phpBB Group</span>

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<br />
{COUNTER}




#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#


#
# ADDITIONAL INSTRUCTIONS/HINTS
#
# 1. The chCounter must be installed first.
# 2. You must customize the path to the counter directory that is added to the file page_header.php.
# 3. The placeholder {COUNTER} _must_ be noted within the templates. To be able to count JavaScript and screen resolutions,
# an (invisible) output of the counter has to be transferred to the visitors. But of course you can note this placeholder
# whereever you like.
# 4. To pretend that the phpBB session IDs are stored by the counter (which would be a serious security issue),
# you have to tell the counter to remove the "sid" variable (without quotes)
# (Administration Area -> Settings -> Statistics -> Common -> Pages statistic: purge of the query string)
# You may even add every GET variable that is used by phpBB to this list. The variables:
# sid; mode; u; search_author; t; p; f; highlight; folder; logout; start; postdays; postorder; search_id; mark; view; agreed; vote; watch; unwatch; c; redirect; topicdays; coppa; order;
#


# EoM

Verfasst: 23.09.2005 00:52
von franticfreak
ist es den nicht möglich unter der "wer ist online" rubrik die anzahl der dagewesen leute abzufragen? also zb

Heute online gewesen
Gestern
Gesamt

Das würde mir schon reichen

Verfasst: 23.09.2005 20:08
von franticfreak
kann mir das einer beantworten???

Den diese mod ist etwas sehr umständlich finde ich, in dem ordnder den man sich runterlädt sind so viel datein, und wenn ich die zb die index.php in den root machen will muss ich die vorhanden index datein überschreiben nur dann funzt logischer weise nichts mehr

also welche datein sollen kopiert werden und welche nicht??ich steig da nicht wircklich durch

Verfasst: 25.09.2005 23:05
von franticfreak
Hallo! weiß keiner mir zu helfen oder will keiner?