forumuma sorunsuz bir şekilde
Statistics Mod Version 2.1.5
Kod: Tümünü seç
#################################################################
## Mod Title: Board Statistics
## Mod Version: 2.1.5
## Mod Author: Acyd Burn < acyd.burn@gmx.de > - Meik Sievertsen ( http://www.opentools.de/board )
## Mod Description:
## Original Idea and Statistics Mod 2.0.x (c) Nivisec
##
## (This Description comes from the Original Statistics Mod V2.0.0b, made by Nivisec)
## The Statistics Mod is a complete statistics core
## for your phpBB 2 board.
##
## Unlike the previous 1.x versions, it now does not rely on hard coded
## statistics, but instead uses modules. Users may enable/disable modules
## from the admin control panel and they are very easy to install. Just
## upload the module directory into your statistics module directory that
## you define in the admin control panel.
##
## You also now have complete control over what user levels can view each
## individual module!
##
## A new nice feature is your ability to define the update period for each
## module of statistics. If the update period has not arrived, a fast database
## cached version will be used instead of calculating the complete new set of
## statistics. Usefull for long query modules and rarely updated statistics modules.
##
## Active/De-Activate your modules at will inside the admin control panel. You can
## also place your favorite modules on top of your page. A simple click moves a module
## up and down.
##
## Installation Level: easy
## Installation Time: 5-10 Minutes
## Files To Edit: constants.php
## templates/subSilver/overall_header.tpl (if you are editing your header)
## includes/template.php (if you use the file-cache version of the template)
## Included Files: install.txt (This file, you don't have to upload it)
## mod_table_inst.php (Only needed for Installation, after Installation: DELETE the File from your webspace)
##
## statistics.php
## admin/admin_statistics.php
## includes/functions_stats.php
## includes/functions_module.php
## language/lang_english/lang_statistics.php
## language/lang_german/lang_statistics.php
## templates/subSilver/statistics.tpl
## templates/subSilver/admin/stat_config_body.tpl
## templates/subSilver/admin/stat_edit_module.tpl
## templates/subSilver/admin/stat_manage_modules.tpl
## templates/subSilver/images/icon_mini_statistics.png
## stat_modules/*
##
## Complete Dedicated Page: -- OLD Page: http://nivisec.com/mods/statistics_2.php
## -- NEW Page: http://www.opentools.de/board (Download Section)
## http://www.opentools.de/board/show_modules.php (For Downloading/Uploading Modules)
##
## - Download the latest version
## - Download more modules
## - Submit your own written modules
#################################################################
##
## Author Note:
##
## Make sure you run the mod_table_inst.php to
## add the required tables before installing any other parts.
##
## After it is installed, you should see a new admin control panel
## section to get you started.
## You have to install and activate Modules before you see anything
## within your statistics page.
##
## To access the statistics page, you simply open statistics.php
## after it is uploaded. You may also optionally install the
## extra icon link as instructed below.
##
## Module Authors should read the docs/module_coding_guidelines.html
## or http://www.opentools.de/docs/module_coding_guidelines.html
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
geliyor ve başka hiçbir şey gelmiyor hata mesajıda vermiyor.Kurulum dosyasında sadece şunu kuramadım nedenide böyle bir ifade template.php'de yok.nedeni bu olabilirmi?Statistics Mod Version 2.1.5
Installed on 16:39 16-Ağustos-2006
Statistics Page Loaded 12 Times
Kod: Tümünü seç
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#-------------------------------------------------------------
# NOTE: THIS STEP IS ONLY NEEDED IF YOU USE THE FILE-BASED CACHED TEMPLATE.PHP FILE
#
# If you are using the template cache system (only file-based is mentioned here),
# please adjust your template.php as followed (This will NOT disable the Template Caching)
# It is a little tweak to let the template use the non-cached output if no cached template
# file could be found.
#-------------------------------------------------------------
#
#-----[ OPEN ]---------------------------------------------
#
includes/template.php
#
#-----[ FIND ]---------------------------------------------
# around line 144
$fp = fopen($cache_file, 'w+');
fwrite ($fp, '<?php' . "\n" . $this->compiled_code[$handle] . "\n?" . '>');
#
#-----[ REPLACE WITH ]--------------------------------------
#
$fp = @fopen($cache_file, 'w+');
if (!$fp)
{
eval($this->compiled_code[$handle]);
return true;
}
fwrite ($fp, '<?php' . "\n" . $this->compiled_code[$handle] . "\n?" . '>');
#
#-----[ FIND ]---------------------------------------------
# around line 188
$fp = fopen($cache_file, 'w+');
fwrite ($fp, '<?php' . "\n" . $code . "\n?" . '>');
#
#-----[ REPLACE WITH ]--------------------------------------
#
$fp = @fopen($cache_file, 'w+');
if (!$fp)
{
$_str = '';
eval($code);
$this->assign_var($varname, $_str);
return true;
}
fwrite ($fp, '<?php' . "\n" . $code . "\n?" . '>');
# EoM