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 08-16-2005 10:00 PM

World Time Zones
 
World Time Zones
(By Boofo)
==========

Description
--------------
This product will add a separate page with a listing of different world time zones.

Details
---------
1 Product XML
1 PHP file
3 Images


Installation
--------------
1. Upload worldtimes.php to your forums directory
2. Upload the 3 image files to your images/misc directory
3. Go to your AdminCP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-worldtimes.xml file on your computer.

--------------
Done!
Enjoy!

plateau 08-17-2005 07:05 PM

哦,很不错!!!

oh, it is very nice!!! will install it!!!

Boofo 08-17-2005 07:06 PM

Don't forget the install button in case there are any updates. ;)

Marco van Herwaarden 08-17-2005 08:30 PM

So you must make a different file for each member living in another timezone? Or am i missing something?

Boofo 08-17-2005 09:16 PM

Quote:

Originally Posted by MarcoH64
So you must make a different file for each member living in another timezone? Or am i missing something?

No, it lists all the time zones and will highlight yours when you view it.

Marco van Herwaarden 08-17-2005 09:20 PM

Then why you have to set your timezone in the file?

Boofo 08-17-2005 09:30 PM

Quote:

Originally Posted by MarcoH64
Then why you have to set your timezone in the file?

Well, that is the only way, believe it or not, I could get it to show the times right. You are more than welcome to see if it can be done a better way. ;)

Boofo 08-17-2005 11:51 PM

This has been moved into beta as there is a problem with certain timezones. I will get a fix for it as soon as humanly possible. Sorry for releasing it before it was thoroughly tested.

Diana Notacat 08-18-2005 04:36 PM

This is a fantastic idea, and I might find it useful in the future. XD For some reason I'm always shaking my fist at people about timezones, and this might help them out! Great hack!

Boofo 08-18-2005 04:53 PM

New version uploaded. There is no need to change the setting in worldtimes.php now. It should work correctly no matter what setting the timezone setting is set at in the vBulletin Options.

Guests are no longer allowed to view the World Times. That saves from other sites linking to your World Times and using it without installing it. ;)


All times are GMT. The time now is 02:52 PM.

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.01196 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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