Board Statistics
Geplaatst: 17 jan 2005, 19:42
Hallo All,
Mod Title: Board Statistics
## Mod Version: 2.1.5
Heb de stats mod ingebouwd, lokaal goed, maar geupt krijg ik deze melding, in het acp linker menu komt niet, iemand??.
Fatal error: Cannot redeclare renumber_order() in /home/forum/public_html/admin/admin_statistics.php on line 119
Dit is de code
#################################################################
## 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:
# Copy/Upload all files to their respective Location
#
# statistics.php -> statistics.php
# admin/admin_statistics.php -> admin/admin_statistics.php
# includes/functions_stats.php -> includes/functions_stats.php
# includes/functions_module.php -> includes/functions_module.php
# templates/subSilver/statistics.tpl -> templates/subSilver/statistics.tpl
# templates/subSilver/admin/stat_config_body.tpl -> templates/subSilver/admin/stat_config_body.tpl
# templates/subSilver/admin/stat_edit_module.tpl -> templates/subSilver/admin/stat_edit_module.tpl
# templates/subSilver/admin/stat_manage_modules.tpl -> templates/subSilver/admin/stat_manage_modules.tpl
# templates/subSilver/images/icon_mini_statistics.png -> templates/subSilver/images/icon_mini_statistics.png
# stat_modules/* -> stat_modules (upload the complete directory and all sub directories)
#
#
# Upload the Language Files (English (German is optional)) provided with the Statistics Mod, located at the language folder
# to your language Directory.
#
# language/lang_english/lang_statistics.php -> language/lang_english/lang_statistics.php
#
#
# Installing the Statistics Mod (First Step -- Database):
#
# Upload this File to your phpBB2 Root Directory (where your config.php file is), it is only needed for installation:
#
# mod_table_inst.php -> mod_table_inst.php
#
#
# Now we want to create the tables, therefore we run mod_table_inst.php (http://www.yoursite.com/phpBB2/mod_table_inst.php)
# Contact me if you have questions or problems.
#
#
# For Uninstallation:
# Upload mod_uninst.php -> mod_uninst.php
# Run the script and delete it after execution
#
#
# Now you have to alter existing phpBB2 files, read the instructions carefully and make sure you find the right lines.
#
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
Mod Title: Board Statistics
## Mod Version: 2.1.5
Heb de stats mod ingebouwd, lokaal goed, maar geupt krijg ik deze melding, in het acp linker menu komt niet, iemand??.
Fatal error: Cannot redeclare renumber_order() in /home/forum/public_html/admin/admin_statistics.php on line 119
Dit is de code
#################################################################
## 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:
# Copy/Upload all files to their respective Location
#
# statistics.php -> statistics.php
# admin/admin_statistics.php -> admin/admin_statistics.php
# includes/functions_stats.php -> includes/functions_stats.php
# includes/functions_module.php -> includes/functions_module.php
# templates/subSilver/statistics.tpl -> templates/subSilver/statistics.tpl
# templates/subSilver/admin/stat_config_body.tpl -> templates/subSilver/admin/stat_config_body.tpl
# templates/subSilver/admin/stat_edit_module.tpl -> templates/subSilver/admin/stat_edit_module.tpl
# templates/subSilver/admin/stat_manage_modules.tpl -> templates/subSilver/admin/stat_manage_modules.tpl
# templates/subSilver/images/icon_mini_statistics.png -> templates/subSilver/images/icon_mini_statistics.png
# stat_modules/* -> stat_modules (upload the complete directory and all sub directories)
#
#
# Upload the Language Files (English (German is optional)) provided with the Statistics Mod, located at the language folder
# to your language Directory.
#
# language/lang_english/lang_statistics.php -> language/lang_english/lang_statistics.php
#
#
# Installing the Statistics Mod (First Step -- Database):
#
# Upload this File to your phpBB2 Root Directory (where your config.php file is), it is only needed for installation:
#
# mod_table_inst.php -> mod_table_inst.php
#
#
# Now we want to create the tables, therefore we run mod_table_inst.php (http://www.yoursite.com/phpBB2/mod_table_inst.php)
# Contact me if you have questions or problems.
#
#
# For Uninstallation:
# Upload mod_uninst.php -> mod_uninst.php
# Run the script and delete it after execution
#
#
# Now you have to alter existing phpBB2 files, read the instructions carefully and make sure you find the right lines.
#
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');