Türkiye'nin En Eski Webmaster Forumu İyinet'e Hoşgeldiniz!

phpBB3 de tarih yapısı

alorak

0
Onaylı Üye
Üye
Katılım
14 Ekim 2005
Mesajlar
2,035
Açılan Konu
89
Tepki puanı
1
Konum
Ankara
Arkadaşlar phpBB3 de tarih yapısı kod olarak nerede olduğunu bilen var mı çok araştıramadım ama bilen varsa söylerse sevinirim.

Zaten sistem saatini Greenwich e göre baksak bile nasıl oluyorsa 13 dakika gerisinden takip ediyor. Hem bunu düzeltmek ayrıa bugün bir olay oldu.

Bazı mesaj atanlar sanki gelecekteki bir saatte atmış gibi oldu. Ayrıca bazıları da siteye giriş yapınca ileriki bir tarih yazıyor ve hep online gözüküyorlar :) Çok saçma birşey oldu.. Tarih olayları hangi dosyada düzenleniyor bulabilirsem bir ilgilenmek isterim..
 

Alexis

0
Onaylı Üye
Üye
Katılım
24 Ekim 2005
Mesajlar
678
Açılan Konu
64
Tepki puanı
5
Host ile alakalı bence, phpBB3 tarafından çözülecek gibi sorun olduğunu düşünmüyorum.

session.php

PHP:
	/**
	* Format user date
	*/
	function format_date($gmepoch, $format = false, $forcedate = false)
	{

setup() ta da kullanıcı DST tanımlamaları var:

PHP:
	/**
	* Setup basic user-specific items (style, language, ...)
	*/
	function setup($lang_set = false, $style = false)
	{
		global $db, $template, $config, $auth, $phpEx, $phpbb_root_path, $cache;

		if ($this->data['user_id'] != ANONYMOUS)
		{
			$this->lang_name = (file_exists($phpbb_root_path . 'language/' . $this->data['user_lang'] . "/common.$phpEx")) ? $this->data['user_lang'] : basename($config['default_lang']);
			$this->lang_path = $phpbb_root_path . 'language/' . $this->lang_name . '/';

			$this->date_format = $this->data['user_dateformat'];
			$this->timezone = $this->data['user_timezone'] * 3600;
			$this->dst = $this->data['user_dst'] * 3600;
		}
		else
		{
			$this->lang_name = basename($config['default_lang']);
			$this->lang_path = $phpbb_root_path . 'language/' . $this->lang_name . '/';
			$this->date_format = $config['default_dateformat'];
			$this->timezone = $config['board_timezone'] * 3600;
			$this->dst = $config['board_dst'] * 3600;

Ancak bunlara bakmak phpBB3 bug anlamına gelir ki, bu konuda bug olduğunu sanmıyorum.
 
Üst