Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by Castel Castel is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-18-2002 Last Update: Never Installs: 10
 
No support by the author.

This a modified version of Mas*Mind's "World Time Zones" on index page, located at https://vborg.vbsupport.ru/showthrea...hreadid=12210. Instead of including the data on the forum index, the times zones are listed on a standalone page and a graphic shows which time zone a user is in (thanks to
FireFly for helping me out with that feature).

I've had this running on my site for about 4 months now but never bothered to release it until some people requested this in the original hack thread. This also works on 2.2.1 by the way.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-02-2002, 06:36 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I looked just now and it wasn't working correctlt, ie no cities were displayed there were 54 queries, now it displays the cites there are only 6, obviously something went wrong
Reply With Quote
  #13  
Old 07-16-2002, 03:09 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone please help with adding the "odd" timezones, like +9:30 for Adelaide and Darwin or +5:30 for Bombay and Calcutta to the worldtimes.php page?
Reply With Quote
  #14  
Old 05-22-2003, 05:21 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know, this isn't a very active thread and it looks like any sign of support for this died off almost a year ago ...... but it still a nifty little hack. Thanks, Castel (and others) for coming up with this idea.

Thanks also to Boofo (yea, yea.. get over it ) for a few other ideas to customize it for our forum. A few formatting changes can really make a difference.

Unfortunately, I'm a real dunce when it comes to thinking up this stuff on my own. So I could use a little help to add something we'd really want....... This display lists predominant cities, the date, and current time for every time zone around the world -- based on the UTC offset for each place that's selected by the member. What I'd like to do is show two columns of time for each zone ...... standard time and daylight saving time.

I guess all we really have to do, in this case, is add or subtract one from the time variable already calculated in the php script? (Is that even close?)

Then ........ given two times for each place for our members to look at, I could add text info below this table to give the daylight saving time start/stop dates for each country. That information is readily available online.... so that's easy.

Could someone help out with the coding that would gives us a second time to add in another column?

Thanks ..... as always,

Talis.
Reply With Quote
  #15  
Old 05-22-2003, 06:32 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tell you what...you get me the info about the DST for each areea listed and I will see about incorporating it into the hack for you.
Reply With Quote
  #16  
Old 05-22-2003, 07:10 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh darn. Does this mean I have to take back all the rotten things I've said lately? (That's not fair!!)

But, gee ... that would really make this nice. (Such a dilemma.)

Okay. Here's the best site I've found for reliable information about Worldwide Daylight Saving. So from this, it would be easy to add this info below. (Ha! My part of this is real easy.)

Or we could have the cities wrap to two lines and add 3 fields to each zone to show (hard coded) DST start and stop dates, along with the DST time. Then everything would be right there for each time zone and our members won't have to look this up at the bottom.

I'm also curious as to whether we can show exclusions for places that don't observe DST.... maybe make that time a blank?

And I don't know if we can do half hours...... But by editing the cities, we can work around the problem X-Fan was talking about. Just add a comment in the appropriate time zone to say, "Add 30 minutes Adelaide's time."
Reply With Quote
  #17  
Old 05-22-2003, 07:46 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PM me a list of the DST info for each listing in the hack. Also, give me some sort of idea on a layout you have in mind (also in PM). Give me a couple of choices and I'll see which one will work the best way.

P.S. You don't have to take back anything you said because it is all true, anyway.
Reply With Quote
  #18  
Old 05-27-2003, 07:04 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will still get back to you on the DST options, Boofo. I wanted to find out what a few members think, first.

Meanwhile, I've figured out how to do some of the other stuff to make it look nice (globe, background, $timezone). But I don't know how to set the local zone's font color to red. Puzzled.
Reply With Quote
  #19  
Old 05-27-2003, 10:46 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post a link to it and let's see what you have.
Reply With Quote
  #20  
Old 05-28-2003, 01:34 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohh, so that's how this is....

You show me yours, so I gotta show you mine? (I probably should have expected that!)

http://www.virtualcup.org/vcup/worldtimes.php
Reply With Quote
  #21  
Old 05-28-2003, 01:45 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 09:34 PM Talisman said this in Post #19
Ohh, so that's how this is....

You show me yours, so I gotta show you mine? (I probably should have expected that!)

http://www.virtualcup.org/vcup/worldtimes.php
Isn't that how it is supposed to be?

Looks good (and familiar ), but you need to center the date and the globes under the Local heading.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:01 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.05516 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete