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');
Board Statistics
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

Board Statistics
Met groet, The Sting
Re: Board Statistics
Het is als volgt opgelost. Hoop dat iemand er wat aan heeft.The Sting schreef: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
Het bestand dat ik aangepast heb is:
admin/admin_statistics.php
Op regel 117 staat:
//Function name changed by Opweb.nl
function renumberorder()
{
global $db;
En op regel 162:
//Function name changed by Opweb.nl
renumberorder();
Met groet, The Sting
Luuk heb jij ervaring met deze mod?.Luuk schreef:Heb je ook alle bestanden geupload?
Zo niet: staat in het bestand ook includes/functions_admin.php geinclude?
In acp werkt ie nu goed, maar zet ik hem als link in de overal_head.tpl, breekt ie uit en bovendien laat ie alleen zien wat ik op all heb gezet, de gene die ik op reg heb gezet laat ie niet zien?.
Met groet, The Sting