Seite 1 von 1

Problem zwischen zwei mods

Verfasst: 19.08.2007 13:52
von frein
Hi Leuts,

Folgendes Problem:
ich hab vor längerer Zeit in dieses Forum das Mod Geo map Version 1.2.1
eingebaut, das hat immer funktioniert. Seit ich aber das statistics Mod eigebaut hab wird die Karte der Geo map nicht mehr angezeigt.
Womit kann das zusammenhängen?
Danke für jede Hilfe

Link zum Forum:
http://deinfussballboard.vbhosting.de/index.php

## MOD Title: GEO Map
## MOD Author: Ghost Walker < info@newscenterx.de > (Stanislav
## MOD Version: 1.2.1

## MOD Title: Statistics_Mod
## MOD Author: Wicher < N/A > (N/A) http://www.detecties.com/modforum
## MOD Version: 4.2.6

Verfasst: 20.08.2007 00:42
von porfavor
poste doch mal bitte beide einbauanleitungen, dann kann man dir schneller helfen.

Verfasst: 20.08.2007 06:25
von frein
##############################################################
## MOD Title: GEO Map
## MOD Author: Ghost Walker < info@newscenterx.de > (Stanislav Eckert) http://forum.newscenterx.de/viewforum.php?f=7
## MOD Description: GEO Map is a simple but very useful module
## which allows a geographical user search
## in a freely definable area after input the
## postal zip code and the country for users.
## MOD Version: 1.2.1
##
## Installation Level: Easy
## Installation Time: 5 min
## Files To Edit: templates/subSilver/subSilver.css
## templates/subSilver/overall_header.tpl
##
## Included Files: db_update.php
## geomap.php
## modules/GeoMap/geomap.txt
## modules/GeoMap/gumconfig.php
## modules/GeoMap/GEOMap_Logo.png
## modules/GeoMap/images/karte.png
## modules/GeoMap/images/map.php
## modules/GeoMap/images/usermap.png
## modules/GeoMap/images/edit.gif
## modules/GeoMap/language/index.html
## modules/GeoMap/language/german.php
##
##############################################################
## MOD History:
##
## 2006-12-10 - Version 1.2.1
## - (bugfix-only version) parser errors in geomap.txt, db_update.php fixed and plzid numbers recreated
##
## 2006-11-22 - Version 1.2
## - added places to zip list
##
## 2006-07-26 - Version 1.1.7
## - global parameters issue in search function fixed
##
## 2006-07-26 - Version 1.1.4
## - updated installation instructions for orion boards
## - added zip validation
## - added a "redraw map" button in useradministration
## - fixed db_update.php
##
## 2006-07-16 - Version 1.1.3
## - fixed "Hacking attempt" error on some systems
## - general info doesn't disappear anymore
##
## 2006-07-11 - Version 1.1.2
## - added deactivating message
## - fixed bad link
##
## 2006-07-06 - Version 1.1.0
## - administration menu added
## - fixed multiple search results
##
## 2006-05-13 - Version 1.0.6
## - Fixed double entries in select field box (country)
##
## 2006-04-26 - Version 1.0.4
## - GD version is read correctly now. (rectangle points problem)
## - Fixed: correct page refreshing (instant update)
##
## 2005-05-19 - Version 1.0.3
## - Fixed: Info labels at the bottom shows sometimes the wrong country
## - If GD version less than 2.0.1 the script shows rectangles instead of ellipses
##
## 2005-0?-?? - Version 1.0.0 to 1.0.2
## - Not documented! Sorry...
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
copy db_update.php to db_update.php
copy geomap.php to geomap.php
copy modules/GeoMap/geomap.txt to modules/GeoMap/geomap.txt
copy modules/GeoMap/gumconfig.php to modules/GeoMap/gumconfig.php
copy modules/GeoMap/images/GEOMap_Logo.png to modules/GeoMap/images/GEOMap_Logo.png
copy modules/GeoMap/images/karte.png to modules/GeoMap/images/karte.png
copy modules/GeoMap/images/map.php to modules/GeoMap/images/map.php
copy modules/GeoMap/images/usermap.png to modules/GeoMap/images/usermap.png
copy modules/GeoMap/images/edit.gif to modules/GeoMap/images/edit.gif
copy modules/GeoMap/language/index.html to modules/GeoMap/language/index.html
copy modules/GeoMap/language/german.php to modules/GeoMap/language/german.php
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.css
#
#-----[ FIND ]------------------------------------------
#
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
#
#-----[ AFTER, ADD ]------------------------------------
#
hr.geomap{border: 1px solid #C2C2C2}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
&nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
#
#-----[ IN-LINE AFTER, ADD ]----------------------------
#
&nbsp;<a href="geomap.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="User Map" hspace="3" />GEO Map</a>&nbsp;
#
#-----[ RUN ]-------------------------------------------
#
db_update.php
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
# Do not forget to read the readme file "README.TXT"!
# EoM
#
# This MOD was created with: CBACK MIRO ModEditor (http://www.community.cback.de)





#################################################################
## MOD Title: Statistics_Mod
## MOD Author: Wicher < N/A > (N/A) http://www.detecties.com/modforum
## MOD Description: The Statistics Mod is a complete statistics core for your phpBB 2 board.
##
## MOD Version: 4.2.6
##
## Installation Level: easy
## Installation Time: 10 Minutes
## Files To Edit: index.php
## admin/index.php
## includes/constants.php
## includes/page_header.php
## language/lang_english/lang_main.php
## language/lang_english/lang_main.php
## templates/subSilver/index_body.tpl
## templates/subSilver/overall_header.tpl
## templates/subSilver/admin/index_body.tpl
##
## Included Files: statistics.php
## statistics_index.php
## admin/admin_edit_module.php
## admin/admin_statistics.php
## admin/admin_statistics_updates.php
## admin/statistics_admin_index_check.php
## admin/statistics_page_footer_admin.php
## admin/statistics_page_header_admin.php
## admin/admin_stats_config.php
## admin/admin_stats_config.php
## admin/admin_stats_lang.php
## admin/download_lang.php
## admin/import_lang.php
## language/lang_english/lang_admin_statistics.php
## language/lang_english/lang_statistics.php
## contrib/language/lang_dutch/lang_admin_statistics.php
## contrib/language/lang_dutch/lang_statistics.php
## contrib/language/lang_german/lang_admin_statistics.php
## contrib/language/lang_german/lang_statistics.php
## modules/.htaccess
## stats_mod/core.php
## stats_mod/db_cache.php
## stats_mod/functions.php
## stats_mod/content/bars.php
## stats_mod/content/statistical.php
## stats_mod/content/values.php
## stats_mod/includes/admin_functions.php
## stats_mod/includes/constants.php
## stats_mod/includes/lang_functions.php
## stats_mod/includes/stat_functions.php
## stats_mod/includes/template.php
## templates/subSilver/statistics.tpl
## templates/subSilver/statistics_index.tpl
## templates/subSilver/admin/stat_admin_lang.tpl
## templates/subSilver/admin/stat_newupdates.tpl
## templates/subSilver/admin/stat_config_body.tpl
## templates/subSilver/admin/stat_edit_lang.tpl
## templates/subSilver/admin/stat_edit_module.tpl
## templates/subSilver/admin/stat_import_language.tpl
## templates/subSilver/admin/stat_install_module.tpl
## templates/subSilver/admin/stat_manage_body.tpl
## templates/subSilver/admin/stat_select_module.tpl
## templates/subSilver/admin/stat_make_pak.tpl
## templates/subSilver/stats_mod/content_bars.tpl
## templates/subSilver/stats_mod/content_statistical.tpl
## templates/subSilver/stats_mod/content_values.tpl
## templates/subSilver/images/icon_mini_statistics.png
## images/divider_left.gif
## images/divider_mid.gif
## images/divider_right.gif
## install/install_statistics.php
## modules/pakfiles/admin_statistics.pak
## modules/pakfiles/most_active_topics.pak
## modules/pakfiles/most_viewed_topics.pak
## modules/pakfiles/top_posters.pak
## modules/pakfiles/top_smilies.pak
## modules/pakfiles/most_active_topicstarter.pak
## modules/pakfiles/posts_by_month.pak
## modules/pakfiles/stats_overview.pak
## modules/pakfiles/top_attachments.pak
## modules/pakfiles/top_posters_month.pak
## modules/pakfiles/top_posters_week.pak
## modules/pakfiles/topics_by_month.pak
## modules/pakfiles/users_by_month.pak
## modules/pakfiles/lastonline.pak
## modules/pakfiles/least_interesting_topics.pak
## modules/pakfiles/most_active_polls.pak
## modules/pakfiles/most_active_pollstarter.pak
## modules/pakfiles/most_interesting_topics.pak
## modules/pakfiles/most_least_interesting_topics.pak
## modules/pakfiles/top_avatars.pak
## modules/pakfiles/top_words.pak
## modules/pakfiles/most_ignored_users.pak
## modules/pakfiles/most_active_forums.pak
## modules/pakfiles/last_created_posts.pak
## modules/pakfiles/last_created_topics.pak
## modules/pakfiles/private_messages.pak
## modules/pakfiles/top_shoutbox_poster.pak
## modules/pakfiles/fastest_users.pak
## modules/pakfiles/top_languages.pak
## modules/pakfiles/top_styles.pak
## modules/pakfiles/most_logged_on_users.pak
## modules/pakfiles/most_logged_on_users_install.txt
## modules/pakfiles/advancedkarma.pak
## modules/pakfiles/cashmod.pak
## modules/pakfiles/genders.pak
## modules/pakfiles/genders_evil.pak
## modules/pakfiles/age_statistics.pak
## modules/pakfiles/Activity_Arcade_stats.pak
## modules/pakfiles/Activity_Arcade_All_Time_High_Score_Players.pak
## modules/pakfiles/Activity_Arcade_Top_xx_Users_Game_Plays.pak
## modules/pakfiles/Install_Activity_Arcade_Mod_Top_xx_Users_Game_Plays/Top_xx_Users_Game_Plays_db_update.php
## modules/pakfiles/Install_Activity_Arcade_Mod_Top_xx_Users_Game_Plays/install.txt
## modules/pakfiles/Activity_Arcade_Mod_Top_xx_Players.pak
## modules/pakfiles/Activity_Arcade_Mod_Top_xx_Games.pak
## modules/pakfiles/Activity_Arcade_Mod_xx_Newest_Games.pak
## modules/pakfiles/last_created_album_posts.pak
## modules/pakfiles/top_album_posters_ever.pak
## modules/pakfiles/top_album_posters_this_month.pak
## modules/pakfiles/top_album_posters_this_week.pak
## modules/pakfiles/most_viewed_photos_ever.pak
## modules/pakfiles/most_viewed_photos_this_month.pak
## modules/pakfiles/most_viewed_photos_this_week.pak
## modules/pakfiles/posts_by_gender_evil.pak
## modules/pakfiles/posts_by_gender_niels.pak
## modules/pakfiles/top_countries_ipcountryflags.pak
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Original MOD Author: Acyd Burn < N/A > ( Meik Sievertsen ) http://www.opentools.de/board
## Acyd really did most of the work.
## Helping hands: Danb00 < N/A > (N/A) http://www.extremephpbb.com
## John Hjorth < N/A > (N/A) http://www.phpbbfm.dk
## WileCoyote
## JonnyBoy4000
## Darth Pincho
## Diablo Gamer for bringing me the idea to make a available updates page.
## femu for uploading German translation for the mod (not for modules)
## And those i forgot to mension..
##
## When updating from versions before 4.1.3, then completly UNinstall statistics mod and install this one.
## If you are updating from 2.1.5 you first have to uninstall 2.1.5 completely
## For uninstalling 2.1.5 you can download that old version here:
## http://www.detecties.com/modforum/Mods/ ... ics215.zip
## Use it to see what files to delete from your server.
## In the zip is mod_uninst.php included wich you can use to uninstall 2.1.5 from your database.
##
## Statistics mod is Module driven, every Module is one Statistic.
##
## 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.
##
## For anyone who wants to write a module pak file:
## module pak file name may NOT start with "lang_" or have "lang_" in the name
## because then they wont show up in the selectbox when you want to install it in statistics mod.
## When creating a language pak file it MUST start with "lang_" otherwise
## it wont show up in the selectbox when you want to import it.
#################################################################
## MOD History:
##
## 2007-07-09 - Version 4.2.8
## - Downloadlink for updates for modules on module manage page..
## 2007-07-08 - Version 4.2.7
## - fixed a few issues with the lang CP.
## 2007-07-07 - Version 4.2.6
## - fixed a number of issues that would cause phpbb not to approve this mod.
## - Submitted to phpbb.com for approval again
## ????-??-?? - V4.2.5
## - Less higher td's in statistics page.
## ????-??-?? - V4.2.4
## - Due to relocation of my modforum some code in some files was altered.
## ????-??-?? - V4.2.3
## - Little cosmetic changes in Available Updates page.
## - Added possibility to display only Statistics Overview module on the statistics page.
## When clicking on a modulelink in Statistics Overview it then
## displayes Statistics Overview module plus the one you clicked on.
## - Updated Statistics Overview module, which is needed for correct working of the above add.
## ????-??-?? - V4.2.2
## - fixes in admin_statistics_updates.php and statistics_admin_index_check.php
## ????-??-?? - V4.2.1
## - fixes in admin_statistics_updates.php and statistics_admin_index_check.php
## for those who dont have remote file open permissions (allow_url_open or CURL)
## ????-??-?? - V4.2.0
## - fixes in top_words.pak
## - fixes in most_logged_on_users.pak
## - fixes in genders.pak
## - fixes in genders_evil.pak
## - Changed available updates page
## - added posts_by_gender_evil.pak
## - added posts_by_gender_niels.pak
## - added top_countries_ipcountryflags.pak
## ????-??-?? - V4.1.9
## - Added CURL support for those who have an host like Dreamhost
## - Fixes in admin_edit_module.php.
## - Fixes in admin_statistics.php.
## - Fixes in download_lang.php.
## - Updated top_words.pak.
## - Updated least_interesting_topic.pak
## - Updated most_interesting_topic.pak
## - Added most_least_interesting_topics.pak
## ????-??-?? - V4.1.8
## - Fixed some stuff in updates page.
## - Will now tell admin on admin index if there are statistics updates available..
## ????-??-?? - V4.1.7
## - Added most active forums module.
## - Added new page in ACP where you can see if there are any updates available.
## ????-??-?? - V4.1.6
## - Did some recoding in the Album modules, they where after all not ready for Smartors Photo Album.
## They now are compatible with Smartors Photo Album AND Full Album Pack.
## - Also fixed little bugs in core.php and lang_functions.php
## ????-??-?? - V4.1.5
## - Took bug out statistics_index.php.
## - Added back to top link
## - Updated 12 modules
## ????-??-?? - V4.1.4
## - Added 7 modules for Smartor Photo Album.
## ????-??-?? - V4.1.3
## - Fixed bug with index block.
## ????-??-?? - V4.1.2
## - Added option to display one module at admins choice on the index.
## ????-??-?? - V4.1.1
## - Changed version numbering.
## - Fixed activity arcade modules.
## - Changed chmod-ding stuff.
## ????-??-?? - V4.0.1f
## - Changed minor issues in both gender modules.
## - Changed minor issues in last_online.pak
## - Updated some modules.
## - Updated install/install_statistics.php, it was'nt checking for exiting mod for module lastonline.
## - Updated install.txt, forgot a copy line.
## ????-??-?? - V4.0.1e
## - Changed minor issues in last_online.pak
## - Fixed bug in install/install_statistics.php
## gender modules where not installed correct.
## ????-??-?? - V4.0.1d
## - Changed minor issues in both gender modules.
## ????-??-?? - V4.0.1c
## - Thanks to MarieMM i took out of 7 modules a bug (again).
## ????-??-?? - V4.0.1b
## - Added pak module genders_evil.pak submitted by Evil>3 (requires Evil's 'Gender Mod' http://www.phpbb.com/phpBB/viewtopic.php?t=467168)
## ????-??-?? - V4.0.1a
## - Thanks to MarieMM i took out of 7 modules a bug.
## - Thanks to kber its now clear what files to edit.
## ????-??-?? - V4.0.1
## - Took several bugs out some modules
## - Added 5 Activity / Arcade Modules (require Arcade_MOD_v2.1.2: http://www.phpbb-arcade.com/download.php?id=421)
## ????-??-?? - V4.0.0 - Final ( i hope) [Oke, that was to much to ask...]
## - Submitted to phpbb.com for approval
## - Ruled out touch in template.php because of certain permissions on several servers.
## - Added cashmod.pak
## - Added genders.pak
## ????-??-?? - V3.0.1 - BETA 3.u (Wicher)
## - New translation language/lang_german/lang_admin_statistics.php by JonnyBoy4000.
## - Took out all referals to http://www.opentools.de out the modules
## because acyd burn is no longer supporting this mod. (should have done that some time ago)
## - Removed admin_mod_package.php
## ????-??-?? - V3.0.1 - BETA 3.t (Wicher)
## - Made table for [extra_info] LONGTEXT so it can contain more text.
## - Added Statistics header link in lang_main.php
## - Added better error controle, now its clear wich module has invalid functioncalls (if they do).
## - Added module most_logged_on_users.pak
## - Took bug out last_online.pak
## - Took bug out most_ignored_users.pak
## - Added advancedkarma.pak (requires Advanced Karma Mod: http://siava.ru/forum/topic168.html)
## - Changed a few things in admin/download_lang.php
## ????-??-?? - V3.0.1 - BETA 3.s (Wicher)
## - Changed some stuff in install/install_statistics.php.
## - When uninstalling with statsmod301_uninst_db.php, not only the statistics tables will be deleted
## but also, if you installed statistics mod with easymod, from the history of easymod.
## That way it will be possible to re-install the same statistics version again with easymod.
## - Changed some minor things in private_message.pak (better english language by Darth Pincho)
## - Added lang_spanish.pak, translation from Darth Pincho.
## ????-??-?? - V3.0.1 - BETA 3.r (Wicher)
## - Took a bug out stats_mod/includes/lang_functions.php
## -- When your boardlanguage does not exist (yet) within statistics mod it will now go with english language.
## - Took bug out admin_edit_module.php, there where lang_xxx paks in select box.
## - Added forgotten language variable in private_messages.pak
## - Took bug out last_created_posts.pak and last_created_topics.pak.
## -- Did not display the date.
## ????-??-?? - V3.0.1 - BETA 3.q (Wicher)
## - Took a bug out Language CP, selectbox did not work..
## - included lang_english.pak for those who want to translate into there own language.
## -- Please submit your completed language pakfile to this topic or send it in a PB to Wicher at phpbb.com.
## - took bug out install.txt, dutch and german languages where english installed.
## ????-??-?? - V3.0.1 - BETA 3.p (Wicher)
## - No more need to edit common.php first anymore.
## - Removed unset_dbpasswd.txt since that is not needed anymore.
## - All modules and database are now automatic installed by executing install_statistics.php
## - Added statsmod301_uninst_db.php for any one that, for any reason, wants to uninstall Statistics Mod 3.0.1xx
## Statistic files still have to be deleted by hand. I dont know if that will be added in the future.
## - Added top_shoutbox_poster.pak
## - Added fastest_users.pak
## - Added top_languages.pak (by MJ from www.phpbbfm.net) (thanks to John Hjorth for submitting)
## - Added top_styles.pak (by MJ from www.phpbbfm.net) (thanks to John Hjorth for submitting)
## - Included danish language (by John Hjorth) in fastest users.pak
## ????-??-?? - V3.0.1 - BETA 3.o (Wicher)
## - Language CP is online!!
## - Added German language files.
## - Added Dutch language files.
## - Added a few language variables.
## - Added German language to a few modules (forgot earlier)
## ????-??-?? - V3.0.1 - BETA 3.n (Wicher)
## - Took bug out core.php
## ????-??-?? - V3.0.1 - BETA 3.m (Wicher)
## - Added files for Artemis style, can i believe be used for several styles that make use of the eXtreme Styles mod.
## - Such styles can be found at http://www.phpbbstyles.com/ as well as the eXtreme Styles mod.
## - Files for Artemis are in the Contrib folder.
## - Added private_messages.pak
## - Changes in:
## --- Stats_Mod/core.php
## --- language/lang_english/lang_statistics.php
## --- templates/statistics.tpl
## ????-??-?? - V3.0.1 - BETA 3.l (Wicher)
## - Added last_created_posts.pak and last_created_topics.pak
## ????-??-?? - V3.0.1 - BETA 3.k (Wicher)
## - Took out a bug in functions.php, something to do with auth permissions. (thanks to Vampy)
## ????-??-?? - V3.0.1 - BETA 3.j (Wicher)
## - Added most_ignored_users.pak.
## ????-??-?? - V3.0.1 - BETA 3.i (Wicher)
## - Added link to statistics in ACP.
## ????-??-?? - V3.0.1 - BETA 3.h (Wicher)
## - Took out language CP (admin_stats_lang.php) because it has still bugs in it.
## ????-??-?? - V3.0.1 - BETA 3.g (Wicher)
## - Code changes in:
## most_active_topics.pak
## most_interesting_topics.pak
## least_interesting_topics.pak
## most_viewed_topics.pak
## most_active_polls.pak
## top_attachments.pak
## ????-??-?? - V3.0.1 - BETA 3.f (Wicher)
## - Added stat_make_pak.tpl and admin_mod_package.php (not sure if there are bugs in that)
## ????-??-?? - V3.0.1 - BETA 3.e (Wicher)
## - Fixed theme select
## - Fixed some other bugs so it will now work oke on Categories hierarchy - 2.1.4.
## ????-??-?? - V3.0.1 - BETA 3.d (Wicher)
## - Fixed install in overall_header.tpl if installed on Categories hierarchy - 2.1.4
## ????-??-?? - V3.0.1 - BETA 3.c (Wicher)
## - Fixed version check in top_attachments.pak
## - Fixed Debug line, now only visible by admin
## - Changed .htaccess otherwise Explain link would not work
## - Added 7 more pak files
## ????-??-?? - V3.0.1 - BETA 3.b (Danb00)
## - Fixed the installer as in some cases it would cause a debug install error
## ????-??-?? - V3.0.1 - BETA 3.a (Wicher)
## - editted the files and rezipped the mod to be compatible with phpbb 2.0.19
## - added dutch language to the pak files.
## ????-??-?? - V3.0.0 - BETA 3 (Acid Burn)
## - 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)
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
PLEASE READ THIS CAREFULLY!!
You might want to print this information for later use.
.
Prepare the Modules Folder
In order to install the Statistics Mod and for full operation, you might have to chmod the modules directory to 777. But most likely you wont need to, the install_statistics.php will attempt to do it for you.
.
Installing the Statistics Mod (DATABASE and (all known to me) MODULES):
Now we want to create the tables, therefore we run install/install_statistics.php (http://www.yoursite.com/phpBB2/install/ ... istics.php) Please be sure to enter the correct URL, the install_statistics.php file has to be placed within the install folder.
Executing install/install_statistics.php will also install all current available modules.
.
After all this delete the folder install from your server.
.
How to install a new module?
Create a folder with the name pakfiles under your modules directory (modules/pakfiles) and upload the .pak file to this directory. Now you are able to select it from the Install Module Screen.
.
How to install a new language?
Create a folder with the name pakfiles under your modules directory (modules/pakfiles) and upload the lang_xxxx.pak file to this directory. Now you are able to select it from the Language CP Screen.
.
If, for any reason, you wish to uninstall the Statistics Mod, you can upload statsmod301-425_uninst_db.php to the root of your phpbb and execute it.
This will remove all statistic tables out of the database.
You will then have to delete the statistics files by hand at this time.
.
If you are using template Artemis please look in the contrib folder,
you will find Artemis/statistics.tpl there.
Also language files for Dutch and Germane are in the contrib folder.
Copy the apropiate files to the apropriate destinations.
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
'U_MARK_READ' => append_sid("index.$phpEx?mark=forums"))
);
#
#-----[ AFTER, ADD ]------------------------------------------
#

$sql = "SELECT * FROM " . STATS_CONFIG_TABLE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query statistics config table', '', __LINE__, __FILE__, $sql);
}
$stats_config = array();
while ($row = $db->sql_fetchrow($result))
{
$stats_config[$row['config_name']] = trim($row['config_value']);
}
if (intval($stats_config['stat_index']) != 0)
{
include_once($phpbb_root_path."statistics_index.$phpEx");
}
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'VERSION_INFO' => $version_info,
'L_VERSION_INFORMATION' => $lang['Version_information'])
);
#
#-----[ AFTER, ADD ]------------------------------------------
#

// Statistics MOD
include('./statistics_admin_index_check.'.$phpEx);
// Statistics MOD
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#

// Statistics mod
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_STAT_HEADERLINK' => $lang['statistics'],
'U_STAT_HEADERLINK' => append_sid('statistics.'.$phpEx),
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Statitics Mod Header Link
$lang['statistics'] = 'Statistics';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
#
#-----[ BEFORE, ADD ]------------------------------------------
#
{STATISTIC_BLOK}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_user_logged_out -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_logged_in -->
&nbsp;<a href="{U_STAT_HEADERLINK}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_statistics.png" width="12" height="13" border="0" alt="Statistics" hspace="3" />{L_STAT_HEADERLINK}</a>&nbsp;
<!-- END switch_user_logged_in -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<h1>{L_VERSION_INFORMATION}</h1>

{VERSION_INFO}

<br />
#
#-----[ AFTER, ADD ]------------------------------------------
#
<h1>{L_STATISTICS_VERSION_INFORMATION}</h1>
{STATS_AVAILABLE}
<br /><br />

#
#-----[ COPY ]------------------------------------------
#
copy root/statistics.php to statistics.php
copy root/statistics_index.php to statistics_index.php
copy root/admin/*.* to admin/*.*
copy root/language/lang_english/*.* to language/lang_english/*.*
copy root/modules/.htaccess to modules/.htaccess
copy root/stats_mod/*.* to stats_mod/*.*
copy root/stats_mod/content/*.* to stats_mod/content/*.*
copy root/stats_mod/includes/*.* to stats_mod/includes/*.*
copy root/templates/subSilver/*.* to templates/subSilver/*.*
copy root/templates/subSilver/admin/*.* to templates/subSilver/admin/*.*
copy root/templates/subSilver/stats_mod/*.* to templates/subSilver/stats_mod/*.*
copy root/templates/subSilver/images/icon_mini_statistics.png to templates/subSilver/images/icon_mini_statistics.png
copy root/images/*.* to images/*.*
copy root/install/install_statistics.php to install/install_statistics.php

copy root/modules/pakfiles/*.* to modules/pakfiles/*.*

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

# EoM

Verfasst: 17.11.2007 09:39
von Stiron
Hallo

genau dieses Problem habe ich auch.

Kann mir jemand helfen?

Danke Gruss Ronny

Verfasst: 17.11.2007 10:02
von uwe310
Wegen Dem GeoMap mod

Wie siehts denn da aus mit dem chmod?
After uploading all files and updating your database, set the following dir(s) to CHMOD 777:

Directory: modules/GeoMap/images
File: modules/GeoMap/images/karte.png
File: modules/GeoMap/images/map.php
File: modules/GeoMap/images/usermap.png
MFG
Uwe

Verfasst: 17.11.2007 12:46
von Stiron
Hallo

CHMOD habe ich alles auf 777

Die Geo Map hat schon sehr lange bei mir funktioniert. Bis ich den Statistic mod eingebaut habe.

Seit dem funktioniert die Karte nicht mehr.

Das muss doch dann damit zusammen hängen oder?

Kann es sein, dass es damit etwas zu tun hat, dass das Geo Map Module auch an dem Platz auf dem Server ist, wo man alle Module vom statistic mod hinmachen muss?

Oder vielleicht hat der Statistic mod irgend etwas in der Datenbank überschrieben.

Ich weiss nicht weiter.

Gruss Ronny

Verfasst: 19.11.2007 08:56
von Stiron
Hallo

Ich hatte ja auch den Fehler. Jetzt habe ich Ihn gefunden!

Man darf vom statistic mod, die Datei .htaccess nicht auf dem Server laden.

Wer dies schon getan hat, kann diese vom Server wieder löschen. Die Funktionen der beiden Mods, werden nicht beeinträchtigt.

Ort der .htaccess: ./modules/.htaccess

Gruss Ronny