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)

Boofo 09-27-2005 01:39 PM

This is in the process of being totally rewritten so it should be accurate everywhere no matter hwat the DST settings are. Right now it is based off of the viewer's DST setting.

Sanjiyan 10-03-2005 03:51 PM

installed this, but I cant find any link to the worldtime.php file in quick links or nothing, where does it put the link or do I have to make the link manually ?

poolking 10-03-2005 04:36 PM

Quote:

Originally Posted by Sanjiyan
installed this, but I cant find any link to the worldtime.php file in quick links or nothing, where does it put the link or do I have to make the link manually ?

You have to make the link yourself.

Sanjiyan 10-06-2005 09:21 PM

All the time zones for me are two hours ahead of the actual time zones, any ideas why? its not a timezone issue with the user cp settings.

Boofo 10-06-2005 11:31 PM

Quote:

Originally Posted by Sanjiyan
All the time zones for me are two hours ahead of the actual time zones, any ideas why? its not a timezone issue with the user cp settings.

Check this post out. I think it will solve your problem. ;)

https://vborg.vbsupport.ru/showpost....8&postcount=29

Magma 10-07-2005 12:00 AM

working :D thanks

mtha 10-07-2005 12:13 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. ;)


I just wonder WHY you dont add this into installation instruction?

people need to check, or edit it before uploading, or you should head that off from $vbulletin->options[timeoffset]

using this, you wont need to worry about that editing

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


Boofo 10-07-2005 12:18 AM

Ok, fine! You caught me, I'm lazy, ok? Are you happy now? Everyone knows now. And here I thought I would actually get away with this. Damn! ;)

Lea Verou 10-07-2005 01:07 AM

Wow, looks nice but is it fully phrased?

Boofo 10-07-2005 01:47 AM

Quote:

Originally Posted by Loukrhtia
Wow, looks nice but is it fully phrased?

Nope, not yet, but the updated and brand spanking new, unbelievable and fantastic version will be. Reserve your seat now and be prepared to be amazed! ;)


All times are GMT. The time now is 07:57 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.01210 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (4)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