Version: 1.0.1, by Boofo
Developer Last Online: Jun 2012
Category: Miscellaneous Hacks -
Version: 3.5.8
Rating:
Released: 08-16-2005
Last Update: 08-17-2005
Installs: 78
Uses Plugins Template Edits
Additional Files
No support by the author.
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!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Sorry for the stupid question, but... is this supposed to add a menu item to the vb menu or does one just need to go in and create a link to it? What's the best method to do this? The only way I see this now is by going directly to the URL /worldtimes.php.
Sorry for the stupid question, but... is this supposed to add a menu item to the vb menu or does one just need to go in and create a link to it? What's the best method to do this? The only way I see this now is by going directly to the URL /worldtimes.php.
Sorry for the stupid question, but... is this supposed to add a menu item to the vb menu or does one just need to go in and create a link to it? What's the best method to do this? The only way I see this now is by going directly to the URL /worldtimes.php.
Thx in advance,
Jim
As Boofo said, you will need to add a link yourself.
If you are not sure how to do this you will need to edit your navbar template, which is done via your style manager.
I added my link to the Quick Links menu. If you want to do the same search for
As for time, so things don't make sense, allthough I've edited the worldtimes.php file to get it to work:
San Diego is currently at UTC/GMT -7 hours; I had to set the $servertime to timediff+9 to get it to display proper PDT. By the instructions, it would have seemed that you'd take the line +2, add your time zone offset (-7) and get the setting -5.
Several of the world city times were also off; I'm assuming this might be because of the UTC/GMT/daylight saving time differences? Here's what I came up with (I've removed some I didn't want). Notice how for PDT below it had to be set to -8 where above it had to be set to +9.
$timezones['-11'] = "[Hawaii] Honolulu, Chatham Island, Papeete, Tahiti, Cook Islands";
$timezones['-8'] = "[PDT (Pacific Daylight Time)] Los Angeles, San Diego, Seattle, San Fransisco";
$timezones['-7'] = "[MDT (Mountain Daylight Time)] Denver, Phoenix, Salt Lake City";
$timezones['-6'] = "[CDT (Central Daylight Time)] Des Moines, Chicago, St. Paul, New Orleans, Houston";
$timezones['-5'] = "[EDT (Eastern Daylight Time)] Detroit, New York, Miami, Boston, Atlanta";
$timezones['0'] = "[WET (Western Europe Time)] London, Lisbon, Dublin";
$timezones['1'] = "[CET (Central Europe Time)] Brussels, Rome, Paris, Amsterdam, Zürich, Madrid, Berlin, Stockholm";
$timezones['2'] = "[EET (Eastern Europe Time)] Athens, Johannesburg, Cape Town, South Africa, Cairo, Jerusalem";
$timezones['2'] = "Riyadh, Baghdad, Khartoum, Kuwait City";
$timezones['3'] = "Dubai, Abu Dhabi, Tbilisi, Muscat, Baku";
$timezones['4.5'] = "Bombay, Calcutta, Madras, New Delhi";
$timezones['7'] = "Perth, Singapore, Beijing, Manila, Hong Kong, Taipei, Kuala Lumpur";
$timezones['9'] = "Tokyo, Seoul, Osaka, Saporro, Yakutsk";
$timezones['9'] = "[EAST (East Australian Standard)] Brisbane, Guam";
$timezones['9'] = "Sydney, Melbourne, Canberra, Magadan";
$timezones['11'] = "Auckland, Wellington, Fiji, Kamchatka";