Author Topic: Clock congiguration  (Read 22642 times)

0 Members and 1 Guest are viewing this topic.

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« on: June 15, 2002, 10:47:03 AM »
Can somebody tell me how i can change the time zone of the clock because now is set up in the server time.
But my local time is +1.
How i can set this ?
Thanx in advance :)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #1 on: June 15, 2002, 04:02:58 PM »
Hi,

open "includes/constants.php" and edit:
Code: [Select]
define('TIME_OFFSET', '+1');

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #2 on: June 15, 2002, 10:20:07 PM »
i edit this line and i make it +2 but nothing happens :(

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #3 on: June 16, 2002, 09:18:11 AM »
Hi,

you are right, a little bug.

Open "includes/functions.php" and change line
Code: [Select]
$user_info['timezone_offset'] = TIME_OFFSET;
to
Code: [Select]
$user_info['timezone_offset'] = "+1";

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #4 on: June 17, 2002, 02:35:43 PM »
I replace this line and i make it +2.
Nothing happens :(

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #5 on: June 17, 2002, 02:48:34 PM »
Do you edited

Code: [Select]
$user_info['timezone_offset'] = "+1";

or

Code: [Select]
define('TIME_OFFSET', '+1');

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #6 on: June 17, 2002, 03:00:52 PM »
I edit both of them  :?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #7 on: June 17, 2002, 03:43:13 PM »
Ok, again ;)

Replace:
Code: [Select]
$user_info['timezone_offset'] = TIME_OFFSET;

with:
Code: [Select]
$user_info['timezone_offset'] = "+1";

Do NOT change "+1" to "+2".


Then change
Code: [Select]
define('TIME_OFFSET', '+1');
to
Code: [Select]
define('TIME_OFFSET', '+2');
or what you want.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #8 on: June 17, 2002, 03:54:39 PM »
i make it.
Nothing  :cry:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #9 on: June 17, 2002, 04:03:10 PM »
I hope you do not look at the date at the left side under the random image. This is just an example that you can insert php code in the templates and has nothing to do with 4images.
You have to check the date for example looking at the date an image is added or a comment was posted.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #10 on: June 17, 2002, 04:24:02 PM »
Yes. I am talking for the time in the left side under random image.
But i don't think is an example.
The time is working but is back one hour.
Is not an example :)
The url if you want to see it is http://www.vinilio.com/members_album

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Clock congiguration
« Reply #11 on: June 17, 2002, 04:34:33 PM »
Insert back IMMEDIATELY our original copyright!!!!!

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Vienix

  • Full Member
  • ***
  • Posts: 144
    • View Profile
    • com.municate.nl
Clock congiguration
« Reply #12 on: June 17, 2002, 04:39:23 PM »
Oh and you are using a
modified 4grey template...

Don't you ?
Thats It !

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #13 on: June 17, 2002, 04:39:55 PM »
But is there !!!!!
Only the URL is missing

Offline Yngwiedis

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://www.vinilio.com
Clock congiguration
« Reply #14 on: June 17, 2002, 04:42:54 PM »
No. I am using a modified default template