Board Statistics Mod Version 2.1.5 sorunu? - çözüldü

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
fikretba
Kayıtlı Kullanıcı
Mesajlar: 121
Kayıt: 20.05.2006, 11:08
İletişim:

Board Statistics Mod Version 2.1.5 sorunu? - çözüldü

Mesaj gönderen fikretba »

Merhaba
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
#################################################################
kurdum.Herşey mükkemmel istatistlik linkine tıkladığımda ekrana sadece
Statistics Mod Version 2.1.5
Installed on 16:39 16-Ağustos-2006
Statistics Page Loaded 12 Times
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?

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
save and close'dan sonraki ifadede bir şeyler anlatıyor ama ben ne olduğunu anlayamadım.
En son fikretba tarafından 21.08.2006, 15:52 tarihinde düzenlendi, toplamda 1 kere düzenlendi.
Kullanıcı avatarı
MeQueR
Kayıtlı Kullanıcı
Mesajlar: 203
Kayıt: 28.07.2006, 00:22
Konum: Türkiye

Mesaj gönderen MeQueR »

tamam işte orda sana istatistikleri veriyormuş? :?
Bu mesaj değiştirilmemiştir.... ayrıntılı bilgi için istediğiniz numarayı çevirin :) ..

NOT: cupranın numarasını çevirirseniz mesuliyet kabul edilmez :roll:

beklediğiniz gibi gelmedim ama olsun :P
fikretba
Kayıtlı Kullanıcı
Mesajlar: 121
Kayıt: 20.05.2006, 11:08
İletişim:

Mesaj gönderen fikretba »

verdiğin bilgi için tşk ederim.

sorunun bundan olduğuna eminmisiniz statics modun içinde zaten bir sürü tpl dosyası var orda gerekli çıktıyı verecek peki orjinal phpbb dosyasında bu ifade yokki? sadece contrib klasöründe var ama o klasörde sunucuda olmaması gereken bir klasör....

Kod: Tümünü seç

#------------------------------------------------------------- 
# 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. 
peki burada ne diyor?


bu modu kurmuş olan arkadaşlarımız varsa bilgilerini paylaşmasını diliyorum tşkler...
Kullanıcı avatarı
Iceman
Kayıtlı Kullanıcı
Mesajlar: 75
Kayıt: 25.11.2005, 20:29
Konum: İstanbul
İletişim:

Mesaj gönderen Iceman »

aynı sorun bende de var bununla ilgili bir başlık açmıştım. Güncelleme yapayım dedim. Bu konu hakkında bilgisi olan varsa yardım bekliyoruz.
fikretba
Kayıtlı Kullanıcı
Mesajlar: 121
Kayıt: 20.05.2006, 11:08
İletişim:

Mesaj gönderen fikretba »

Iceman yazdı:aynı sorun bende de var bununla ilgili bir başlık açmıştım. Güncelleme yapayım dedim. Bu konu hakkında bilgisi olan varsa yardım bekliyoruz.
ben sorunu çözdümmmmmmm :)

kimse sorun çözdüğü yok bu forumlarda kendi sorumlarımı kendim çözüyorum nankörlük yapmayım :) ama sorunlarla çok fazla ilgilenilmiyor bu bir gerçek... ben elimden geldiğince yardımcı olmaya çalışıyorum.


demo için tıklayın

kendi bulduğum geçici çözüm için tıklayın
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Bing [Bot] ve 1 misafir