Advanced count down

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Advanced count down

Beitrag von Blisk »

I have set up vount down to 1.1.2007 time 0:0:0

And countdown is one hour earlier than it should be.
I checked server time ti is setted ok.

I also tryed to change GMT time but it is the same.
What could be wrong?
Zuletzt geändert von Blisk am So 31.Dez, 2006 12:32, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I checked server time ti is setted ok.
How do you checked it?

And which time zones the board and your userprofile will have?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

Same here, one hour earlier. Boardtime GMT+1, userprofile also GMT+1
Login = one hour earlier
Logout = correct time
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

:( I have replace the admin/admin_countdown.php and no results, problem still stands. On a Dutch PHPBB forum are several persons with the same problem.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Do you have edit the time?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

Countdown set on 2 Januari 2007 0 : 0 : 0 in acp, boardtime correct GMT+1 That give the right time in logoff (guest) countdown works good
Userprofile GMT+1 on forumtime correct but not on the countdown, one hour earlier
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Oh, sorry, I've uploaded not the newest one.
Please download the MOD again and replace the code on includes/page_header.php...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

re-edit and it don't work. time still one hour earlier!
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

... and now I've no more Ideas ...

All my tests will be positiv, I've everytime the right end time.
Will your board/profile set to the right sommer-/wintertime?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

[quote="oxpus";p="68132"]... and now I've no more Ideas ...

All my tests will be positiv, I've everytime the right end time.
Will your board/profile set to the right sommer-/wintertime?[/quote]

No summer-/wintertime I set by hand.

It is possible for me personally put an hour ahead in your mod. So that I stand forced well? I have it then concerning login to be an hour force! What then would the possibility way?
Zuletzt geändert von kaza am Mo 01.Jan, 2007 19:59, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No summer-/wintertime I set by hand.
How?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

[quote="oxpus";p="68135"]
How?[/quote]

I do it this way

Code: Alles auswählen

UPDATE phpbb_users SET user_timezone = '1.00' WHERE user_timezone = '2.00'; 
UPDATE phpbb_config SET config_value = '1' WHERE config_name = 'board_timezone';
Edit: It does not make how I put the time area in userprofile. GMT, 1,2,3.... the countdown time remain 1 hour earlier. The forumtime change good
Zuletzt geändert von kaza am Mo 01.Jan, 2007 20:50, insgesamt 3-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

After saving the stop time... Will it be the same as saved or one hour earlier, too?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

[quote="oxpus";p="68139"]After saving the stop time... Will it be the same as saved or one hour earlier, too?[/quote]

The time stay at the same time watever I do with the userprofile. Only the boardconfig GMT change the countdowntime in logout But it possible is a time 1 force hour forward? A personal edit.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Little missunderstanding:

If you enter the stop time on ACP, will this time be displayed after saving as you've entered it?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

[quote="oxpus";p="68146"]Little missunderstanding:

If you enter the stop time on ACP, will this time be displayed after saving as you've entered it?[/quote]

No, for example:
countdown is set on 3 january 2007 0 0 0
The time now is Mon Jan 01, 2007 23:55
Remaining Days: 0 - 23 : 5 min : 00 = This I see with useraccount GMT+1
Remaining Days: 1 - 1 : 5 min : 00 = this I see as a guest, the correct time
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I don't mean the count down on the board view, I mean when you enter 0 h at ACP, will this still be displayed on ACP after saving it?
Or will you already see there the wrong hour?

Only on ACP I mean, not the board view!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

[quote="oxpus";p="68157"]I don't mean the count down on the board view, I mean when you enter 0 h at ACP, will this still be displayed on ACP after saving it?
Or will you already see there the wrong hour?

Only on ACP I mean, not the board view![/quote]

Yes, on ACP the time stay correct I see the time I has entered
Zuletzt geändert von kaza am Di 02.Jan, 2007 00:29, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, then I'll try to reproduce it this evening to fix it...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

A'm sorry to tell you, but it had no results. Still one hour.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Maybe this error:
Delete from include/page_header.php these two lines

Code: Alles auswählen

	$event_stop -= $userdata['user_timezone'] * 3600;
	$event_stop += (date('I')) ? 3600 : 0;
and retry...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
kaza
Beiträge: 14
Registriert: Mo 01.Jan, 2007 12:50
Wohnort: Rotterdam Holland
Kontaktdaten:

Beitrag von kaza »

:p YeSSSSS, LogIn correct, LogOff correct

Dank für Ihre Geduld und Zusammenarbeit .... I think
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No problem.
I'll update the MOD for the rest of the world ...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

This update works for me OK.
TNX
Antworten