Statistics Mod 3.0.0 BETA 3 (站內統計)
修改版本:
phpBB 2.0.11 ~ 2.0.13
修改檔案:
common.php
檔頭:
代碼: 選擇全部
#################################################################
## Mod Title: Statistics Mod
## Mod Version: 3.0.0 (Third Beta Release -> BETA 3)
## Mod Author: Acyd Burn < acyd.burn@gmx.de > - Meik Sievertsen ( http://www.opentools.de/board )
## Mod Description:
##
## The Statistics Mod is a complete statistics core for your phpBB 2 board.
## It is Module driven, every Module is one Statistic.
##
## Installation Level: easy
## Installation Time: 5-10 Minutes
## Files To Edit: 0
## templates/subSilver/overall_header.tpl (if you are editing your header)
##
## Included Files: several. Please have a look at the Installation Instructions.
##
#################################################################
##
## Author Note:
##
## After you have installed the Mod, you should see new configuration
## settings within your admin panel.
## Play around with them.
##
## 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.
##
## Not included within this BETA but planned (so please do not ask about this):
## - import partial Language Files and Variables
## - edit module source within the Administration Panel
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## VERSION HISTORY
##
## V3.0.0 - BETA 3
## - added a new Module (statistics overview)
## - partly finished the Language Control Panel
## - fixed a bunch of bugs
## - decreased generation times (only noticable for some of you)
##
#################################################################
代碼: 選擇全部
#################################################################
#
#-----[ OPEN ]------------------------------------------
#
common.php
#
#-----[ FIND ]------------------------------------------
#
else if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on')
{
// PHP4+ path
#
#-----[ REPLACE WITH ]-------------------------------------
#
else if (@ini_get('register_globals') == '-1' || strtolower(@ini_get('register_globals')) == 'on')
{
// PHP4+ path
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM