vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - World Time Zones (https://vborg.vbsupport.ru/showthread.php?t=94505)

mtha 09-02-2005 06:33 AM

nice,

you may want to add GMT+x index to the left of each timezone too.

says

GMT + 0 | [Western Europe Time] London, Lisbon, Dublin, Reykjavik, Casablanca

it'd be easier to track down time
just an idea, how about adding the timezone list into database, and let admin be able to edit the list (add/remove city name ...),

Cyricx 09-23-2005 04:22 PM

This is awesome Boofo :)

[high]* Cyricx clicks install!
[/high]

Definately like the two suggestions above as well :)

Mike Gaidin 09-23-2005 07:59 PM

Nice one Bob. :up:

[high]* Mike Gaidin clicks install.[/high]

SlipNslide281 09-23-2005 09:46 PM

This is awesome, do you think you will be making for for RC3??

Gizmo5h1t3 09-23-2005 09:47 PM

works fine on RC3 mate....

theArchitect 09-26-2005 03:17 AM

It works with the exception that the times are out by 12 hours.

My Local setting is for Eastern Australia and according to the forum clock it is 2:16 pm but on the world times page it is 2:16 am.

Any thoughts?

Boofo 09-26-2005 04:17 AM

Quote:

Originally Posted by theArchitect
It works with the exception that the times are out by 12 hours.

My Local setting is for Eastern Australia and according to the forum clock it is 2:16 pm but on the world times page it is 2:16 am.

Any thoughts?

Did you set your server time correctly in the worldtimes file?

theArchitect 09-26-2005 04:28 AM

Quote:

Originally Posted by Boofo
Did you set your server time correctly in the worldtimes file?

My appologies, I seem to have missed that step in the instructions.

Though, I don't seem to see a "how to" set the time in the instructions.

Boofo 09-26-2005 04:51 AM

In this line:

PHP Code:

 $servertime = ($vbulletin->options['timeoffset'] - ($timediff+2)); //Server is on GMT time 

change the:

PHP Code:

 +

to reflect your own server time. It is set at GMT by default. So, if you are 14 hours ahead of GMT, then it would have to be changed to +16. ;)

theArchitect 09-26-2005 05:18 AM

Quote:

Originally Posted by Boofo
In this line:

PHP Code:

 $servertime = ($vbulletin->options['timeoffset'] - ($timediff+2)); //Server is on GMT time 

change the:

PHP Code:

 +

to reflect your own server time. It is set at GMT by default. So, if you are 14 hours ahead of GMT, then it would have to be changed to +16. ;)

Many thanks kind Sir.


All times are GMT. The time now is 09:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01140 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete