Seite 2 von 3

Verfasst: 10.12.2006 00:57
von ard
Sehr gut, dann hat sichs ja erstmal erledigt.

Verfasst: 12.12.2006 22:02
von Tanja63
danke euch beiden :)

Verfasst: 18.12.2006 11:52
von Tanja63
hab grad den Counter installiert, aber weiß nicht wie ich die Statistik in den Footer bekomme :(
Aus der beiliegenden Anleitung werd ich nicht ganz schlau.

Verfasst: 20.12.2006 18:22
von Tanja63
bump

Verfasst: 22.12.2006 11:17
von Tanja63
bump
oder kennt jemand einen anderen Mod ?

Verfasst: 22.12.2006 13:45
von redbull254
Hallo,Tanja63

verlinke mal die Mod...., dann schau ich mal nach.

Verfasst: 22.12.2006 14:08
von Tanja63
hier ist der mod zum download :)

vll. hast du mehr glück als ich.

Danke, redbull254 :)

Verfasst: 27.12.2006 21:24
von Tanja63
bump
leider hat sich nichts getan :(

Verfasst: 27.12.2006 22:10
von Lilly246

Code: Alles auswählen

##############################################################
## 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 ]--------------------------
#
Hi!

Hast Du in der page_header den Pfad angegeben?

LG - Lilly

Verfasst: 28.12.2006 00:24
von Tanja63
vielen Dank für deine Einbauanleitung :)
Leider war sie nicht im Downloadpack enthalten, so dass es Probleme aufwarf.

Jap, es funktioniert jetzt alles einwandfrei :)