PDA

View Full Version : World Time Zones


Boofo
17 Aug 2005, 18:16
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
17 Aug 2005, 20:05
哦,很不错!!!

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

Boofo
17 Aug 2005, 20:06
Don't forget the install button in case there are any updates. ;)

Marco van Herwaarden
17 Aug 2005, 21:30
So you must make a different file for each member living in another timezone? Or am i missing something?

Boofo
17 Aug 2005, 22:16
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
17 Aug 2005, 22:20
Then why you have to set your timezone in the file?

Boofo
17 Aug 2005, 22:30
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
18 Aug 2005, 00:51
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
18 Aug 2005, 17:36
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
18 Aug 2005, 17:53
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. ;)

Dan
18 Aug 2005, 19:46
Nice job Bob :D I really like it

Boofo
18 Aug 2005, 20:17
Nice job Bob :D I really like it

Thank you, sir. ;)

Marco van Herwaarden
18 Aug 2005, 21:05
Bob i got another idea for you. Guess it should be fairly simple to make and i have been walking around with the idea a long time, but just never cam to making it. What about the posters local time in the postbit (the time he made the post, next to the time the post was made).

Boofo
18 Aug 2005, 21:08
Bob i got another idea for you. Guess it should be fairly simple to make and i have been walking around with the idea a long time, but just never cam to making it. What about the posters local time in the postbit (the time he made the post, next to the time the post was made).

You lost me. The time he made the post would be the same as the time the post was made. Do you mean their local time where they are at? I did that for vb3. It showed their local time at the time the user was veiwing the post. Am I close here to what you are thinking? ;)

Marco van Herwaarden
18 Aug 2005, 21:17
Getting close yes :D

Maybe both the local time of the poster now, and when he made the post.

Boofo
18 Aug 2005, 21:21
Getting close yes :D

Maybe both the local time of the poster now, and when he made the post.

Ok, I'll see what I can do. ;)

IceBurn3000
19 Aug 2005, 03:50
My forum is set for GMT+10 (Australian Eastern Standard Time). All is good, except for the fact that all times are 12 hours ahead of the current time.

Any suggestions on how to fix this?

EDIT: Also, I don't this plugin can tell whether Daylight Savings Time (DST) is active in a particular timezone or not. Currently, it is winter in Australia, and DST isnt 'active' in southern states, however, the times for Sydney, Melbourne & Canberra are all 1 hour ahead of Brisbane (AEST) time.

Thanks,

Boofo
19 Aug 2005, 06:19
My forum is set for GMT+10 (Australian Eastern Standard Time). All is good, except for the fact that all times are 12 hours ahead of the current time.

Any suggestions on how to fix this?

EDIT: Also, I don't this plugin can tell whether Daylight Savings Time (DST) is active in a particular timezone or not. Currently, it is winter in Australia, and DST isnt 'active' in southern states, however, the times for Sydney, Melbourne & Canberra are all 1 hour ahead of Brisbane (AEST) time.

Thanks,

Do you have a test account set up where I can look at the World Times?

IceBurn3000
19 Aug 2005, 10:16
Do you have a test account set up where I can look at the World Times?I will PM you details.

EDIT:Ok, I see the problem. Your server is not set on GMT time, right? The line in the worldtimes.php is for servers set on GMT time. We need to adjust that line according to what time your server is actually on.

This line:

$servertime = ($timeoffset - ($timediff+2)); //Server is on GMT time

is GMT time. We need to change the 2 to match whatever your server time is set to, not the vb setting, but the actual server time. Does that make any sense? ;)

Try -10 instead of +2 and let me know what you get.Work like a charm! Thanks for your help Bob!

merk
21 Aug 2005, 07:13
Just a few suggestions:

Your timezone arrangements for 10 and 11 are wrong. Sydney, Melbourne and Canberra are +10, not +11. They go to +11 for DST, but that should not affect their normal +10 offset.

I believe that they should always remain in the +10, but also highlight them to indicate they are in DST.

--

There should be a PHP method to determin if a certain timezone is in DST. I would use that instead of using a user's DST determination.

--

There is a better (less templates) way to show the local users timezone.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Can Become:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And using conditionals in the single template instead.

--

There are also functions available in the vbulletin options array for server time.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



--

Finally, you should use UTC, not GMT, because GMT changes forward 1 hour for dst. UTC doesnt :)

mtha
02 Sep 2005, 07:33
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
23 Sep 2005, 17:22
This is awesome Boofo :)

/me clicks install!

Definately like the two suggestions above as well :)

Mike Gaidin
23 Sep 2005, 20:59
Nice one Bob. :up:

/me clicks install.

SlipNslide281
23 Sep 2005, 22:46
This is awesome, do you think you will be making for for RC3??

Gizmo5h1t3
23 Sep 2005, 22:47
works fine on RC3 mate....

theArchitect
26 Sep 2005, 04:17
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
26 Sep 2005, 05:17
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
26 Sep 2005, 05:28
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
26 Sep 2005, 05:51
In this line:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



change the:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
26 Sep 2005, 06:18
In this line:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



change the:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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.

Boofo
26 Sep 2005, 06:39
Is it working all right for you now, then? ;)

poolking
26 Sep 2005, 06:59
/me installed

theArchitect
26 Sep 2005, 07:08
Is it working all right for you now, then?Certainly is :up:

Boofo
26 Sep 2005, 08:30
* poolking installed

I wondered when you were going to fiund this thread. ;)

I'm about ready to release another one in a few mninutes I'm sure you will be interested in, sir. ;)

@theArchitect - Great! Enjoy!

jblackburn
26 Sep 2005, 15:22
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

Boofo
26 Sep 2005, 15:27
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

That's exactly what you need to do. ;)

theArchitect
26 Sep 2005, 22:53
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



in the navbar template and then add after



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



You could also choose to make world time a phrase but that would add another stage to the process.

Boofo
26 Sep 2005, 23:24
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



in the navbar template and then add after



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



You could also choose to make world time a phrase but that would add another stage to the process.

I will link this in the first post when I get back. ;)

theArchitect
26 Sep 2005, 23:28
I will link this in the first post when I get back. ;)

Thanks. Glad to be of service.

jblackburn
27 Sep 2005, 14:17
Thanks all for the menu tips.

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";

Jim

Boofo
27 Sep 2005, 14:39
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
03 Oct 2005, 16:51
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
03 Oct 2005, 17:36
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
06 Oct 2005, 22:21
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
07 Oct 2005, 00:31
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. ;)

http://www.vbulletin.org/forum/showpost.php?p=779608&postcount=29

Magma
07 Oct 2005, 01:00
working :D thanks

mtha
07 Oct 2005, 01:13
In this line:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



change the:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
07 Oct 2005, 01:18
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
07 Oct 2005, 02:07
Wow, looks nice but is it fully phrased?

Boofo
07 Oct 2005, 02:47
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! ;)

Lea Verou
07 Oct 2005, 02:49
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! ;)

Ok, I'll reserve a seat! :D

/me clicks install to reserve a seat :p :p :p

steve1386
07 Oct 2005, 14:15
Thanks mate **INSTALLED**I await the brand new spanking version :surprised:

SpaceStar
08 Oct 2005, 22:00
:( have installed it - but it isn't showing up ... did I do anything wrong???

Boofo
09 Oct 2005, 00:32
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



I just tried your line and it makes it 2 hours behind for me (hence, the reason I added the +2 when testing it). ;)

We are working on a whole new setup for this that will require NO editing of any kind and it will show a lot more timezones and areas. There is a lot of information to enter so that is why it is taking longer than we had hoped for. ;)

Boofo
09 Oct 2005, 00:32
:( have installed it - but it isn't showing up ... did I do anything wrong???

Did you make the link to the worldtimes.php file?

WNxWakko
09 Oct 2005, 01:08
I thought I would share this modified .php file for this worldtime mod. It has been modified to synch to your VB timezones rather then it being a stand alone to configure. After to much frustration in the worldtime not being the same as the vb times, some complaining, having to explain how to correct. Got fed up.

So you can use this modded worldtimes.php just overright your old.

I also have thousands of members on my board worldwide, so Ive fixed several that were incorrect. This modified file also understands a few areas that dont follow daylight savings and would not change their clock.

Boofo
09 Oct 2005, 01:47
I thought I would share this modified .php file for this worldtime mod. It has been modified to synch to your VB timezones rather then it being a stand alone to configure. After to much frustration in the worldtime not being the same as the vb times, some complaining, having to explain how to correct. Got fed up.

So you can use this modded worldtimes.php just overright your old.

I also have thousands of members on my board worldwide, so Ive fixed several that were incorrect. This modified file also understands a few areas that dont follow daylight savings and would not change their clock.

Thanks. ;)

What do you mean some that were incorrect?

WNxWakko
09 Oct 2005, 01:53
Some of the countries were in the wrong zones. I have a member in Austrailia and she corrected all of those cities in Aus.

Boofo
09 Oct 2005, 02:17
Some of the countries were in the wrong zones. I have a member in Austrailia and she corrected all of those cities in Aus.

Also, Some cities in Arizona here in the states doesn't recognize DST. I'm not sure which ones, though.

EDIT: I just noticed she has that in there. Ignore this post. ;)

Boofo
09 Oct 2005, 02:20
Also, with your file, my time is showing behind an hour. ;)

WNxWakko
09 Oct 2005, 02:30
the entire state of AZ does not follow daylight savings. As far as being an hour behind, I had to toggle my DST Correction Option. After this modification, everyone was able to set clocks correct and it seems my members have no more problems with it anymore.

I wont claim its perfect, but its way closer to being correct than before.

Boofo
09 Oct 2005, 02:45
the entire state of AZ does not follow daylight savings. As far as being an hour behind, I had to toggle my DST Correction Option. After this modification, everyone was able to set clocks correct and it seems my members have no more problems with it anymore.

I wont claim its perfect, but its way closer to being correct than before.

What do you mean toggle it?

You commented out this line which would fix the DST is it was enabled in your User CP settings. ;)

//servertime++;

WNxWakko
09 Oct 2005, 02:51
im sorry, i was confused. I was toggling that before this was modded. Im not sure why you are an hour different. Ive polled over 50 members worldwide and they all stated it was correct for them. Perhaps your board settings are not lining up with the timezone your server is in.

My server is set on eastern, my board is set on eastern. My DST is set to Automatic in the pacific timezone even though im in arizona however its lining up all correct for me and other members.

I know when I installed your original me and many other members were an hour off. So now we are correct and your an hour off. Im not sure.

Boofo
09 Oct 2005, 02:59
Well, when I enable that line, it makes it 2 hours off then. That is why I had to add the +2 to the timediff in the original file. I re-added that and all is well now. ;)

My server is set at GMT and so is the setting in the Admin CP.

Aren't there ay cities in the +5 timezone anywhere? I noticed there aren't any listed there with the changes she made.

I will run this a few days and check it out and let you know what I find out. ;)

Also, just for yucks, try setting DST to always off in your Admin CP (since it is for you) and see what happens.

WNxWakko
09 Oct 2005, 03:12
I toggled the daylight savings in my admin cp and it didnt change anything. I dont know if any cities are in +5. Mainly she stated that alot of Australia doesnt follow DST. Im sure their is +5 cities but I dont know any.

Ultimatly unless you basically rewrite this to follow UTC completly I dont think there will be a perfect fix for this. Mostly everyone will have to tweak it to make it work on their servers.

Boofo
09 Oct 2005, 07:17
I toggled the daylight savings in my admin cp and it didnt change anything. I dont know if any cities are in +5. Mainly she stated that alot of Australia doesnt follow DST. Im sure their is +5 cities but I dont know any.

Ultimatly unless you basically rewrite this to follow UTC completly I dont think there will be a perfect fix for this. Mostly everyone will have to tweak it to make it work on their servers.

The rewrite is being done to follow UTC. It's pretty extensive. ;)

PVTRoger
17 Oct 2005, 22:56
I did everything in the instructions (by the way,the instructions were clear and easy to follow), but where am I suppose to be seeing this, as it's not jumping out at me.

poolking
18 Oct 2005, 00:08
I did everything in the instructions (by the way,the instructions were clear and easy to follow), but where am I suppose to be seeing this, as it's not jumping out at me.

You have to create a link to worldtimes page.

PVTRoger
18 Oct 2005, 08:43
You have to create a link to worldtimes page.

Did I miss that in the instructions? What is the URL of the link, or did I miss that as well.

BTW, remember when I said the instructions were clear and easy to follow. Scratch that. :ermm:

poolking
18 Oct 2005, 13:34
Did I miss that in the instructions? What is the URL of the link, or did I miss that as well.

BTW, remember when I said the instructions were clear and easy to follow. Scratch that. :ermm:

No you didn't because it wasn't included in the instructions when I installed it.

Boofo
18 Oct 2005, 13:44
I thought it would be a given, but I guess I was wrong. Will fix it in the first post when I get back.

silurius
02 Nov 2005, 21:59
My personal time zone (Pacific) is showing up correctly both in vBulletin and in worldtimes.php, but New Zealand is showing up incorrectly by -2 hours for a NZ user.

The user who reported this has his own zone set (correctly I think) to GMT +12, and the worldtimes.php has this region set to '12'. Also I originally had to set $timediff to +8 to get my own time to show up correctly.

Any ideas?

Boofo
02 Nov 2005, 22:20
Isn't New Zealand supposed to be GMT +14?

Ramsesx
11 Dec 2005, 05:48
Thanks for the hack Boofo and thanks WNxWakko with that it's now showing the right time :)
One question only, how can I change the days and time phrases (monday etc.)?
Thanks

Kihon Kata
11 Dec 2005, 07:48
哦,很不错!!!

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

INstalled! Except, why would the images work on all my styles, but one?

Boofo
11 Dec 2005, 08:24
INstalled! Except, why would the images work on all my styles, but one?

You got me on that one. ;)

Don't forget the install button, sir. ;)

Kihon Kata
11 Dec 2005, 14:58
You got me on that one. ;)

Don't forget the install button, sir. ;)

wow, I got boofo....

Chadi
12 Dec 2005, 18:45
Every time I click the world time zone link to view it, it logs me out. How do I fix this bug?

Chadi
12 Dec 2005, 18:47
By the way, it also shows incorrect time. I could not find any area to modify this. My actual profile and vbulletin is setup correctly otherwise.

Boofo
12 Dec 2005, 20:50
By the way, it also shows incorrect time. I could not find any area to modify this. My actual profile and vbulletin is setup correctly otherwise.

You need to change the +2 for the server time to reflect your actual server time. The +2 is for GMT time.

If you are getting logged out, you need to recheck your link. There's no way this can log you out. You have something else going on somewhere.

wolfstream
15 Dec 2005, 01:35
Long list of replied stuff. Great product!!


INstalled! Except, why would the images work on all my styles, but one?

Check the images directory. Occasionally, styles will setup separate image directories (like aria for example). Usually these will be inside of the images/ directory, but sometimes inside the forum root folder.


I thought I would share this modified .php file for this worldtime mod.

thank you so much. Was having issues with the other. For some reason, times were 12 hours off, so instead of getting 8pm, I was getting 8am. This fixed that. Oddly enough, this came after fixing the GMT by hand (gmt -6) to be correct. Dunno what caused it, but it works now ;)


By the way, it also shows incorrect time.

Try using the updated php file, which shows proper times without having to be adjusted.

Great idea & code!

IceBurn3000
30 Jan 2006, 03:02
Boofo. I have been using this plugin since the beginning, and I was wondering how work on the updates you spoke about is coming along.

PS: I'm not being pushy.. Just curious.

Langly
30 Jan 2006, 08:05
Mine was working fine and nothing was added or changed but now all my time zones have the exact same time. Whats making it do that and how can I fix it?

Langly
01 Feb 2006, 00:29
So, any ideas why this shows fine for a day and then all the times show the same time?

Boofo
01 Feb 2006, 01:35
So, any ideas why this shows fine for a day and then all the times show the same time?

You must have added another hack or changed something somewhere. Try re-installing it and see if that fixes it.

Langly
03 Feb 2006, 00:34
No, nothing has been changed or added since I installed this. Reinstalling this didn't change anything and it still shows the same time for all time zones.

quanvo81
04 Feb 2006, 08:29
I thought I would share this modified .php file for this worldtime mod. It has been modified to synch to your VB timezones rather then it being a stand alone to configure. After to much frustration in the worldtime not being the same as the vb times, some complaining, having to explain how to correct. Got fed up.

So you can use this modded worldtimes.php just overright your old.

I also have thousands of members on my board worldwide, so Ive fixed several that were incorrect. This modified file also understands a few areas that dont follow daylight savings and would not change their clock.
Where is it Bangkok, Djakarta, Hanoi, Saigon, Phnom Penh, Christmas Island, Jakarta????
I think u missed this time zone right??

columbonet
04 Feb 2006, 15:05
I installed this but where is the page at? Do I need to make it?

Ramsesx
04 Feb 2006, 15:12
Try http://www.yoursitename.com/forum/worldtimes.php and yes you need to make a link in your navbar.

columbonet
04 Feb 2006, 15:59
Try http://www.yoursitename.com/forum/worldtimes.php and yes you need to make a link in your navbar.

Thanks

Chadi
13 Feb 2006, 01:12
Problems

#1
Somehow, shows correct time except the day is one day behind.

#2
Logs out of my vbulletin automaticlaly when I click on the world time zone link to enter the page



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That is the code portion from my forumhome template.

Chadi
14 Feb 2006, 04:10
#1 is resolved. #2 still there

Chadi
28 Feb 2006, 20:11
Anyone?

GuaRRand
24 May 2006, 07:49
This would 0wn if you could select some timezones from that list and display it on the forum home or CMPS (VBa?)

Boofo
24 May 2006, 07:54
Anyone?

Where is that located in your forumhome template? I have mine in the navbar. Try adding it to the navbar or footer and see if it still happens (which I'm betting it won't). ;)

Boofo
24 May 2006, 07:55
This would 0wn if you could select some timezones from that list and display it on the forum home or CMPS (VBa?)

It 0wns now. ;)

GuaRRand
24 May 2006, 08:05
Not for me :P
I want my users to have the information about timezones on the forumhome, where all the other important info is posted.
They plan events and stuff, and it would suck if they had to switch to other forums just to get the current time in another timezone.
I'd like it very much if it could be ported to the forumhome or even better, to the CMPS

Boofo
24 May 2006, 08:06
Not for me :P
I want my users to have the information about timezones on the forumhome, where all the other important info is posted.
They plan events and stuff, and it would suck if they had to switch to other forums just to get the current time in another timezone.
I'd like it very much if it could be ported to the forumhome or even better, to the CMPS

It already has it's own page, just link it. ;)

GuaRRand
24 May 2006, 08:10
....
Thats just what i DONT want :P
I want the time to be shown on the forumhome/CMPS without any links to other forums and stuff.
Just a row of times with the timezones underneath them...

you know what i mean...stop confusing me :D

Boofo
24 May 2006, 08:24
....
Thats just what i DONT want :P
I want the time to be shown on the forumhome/CMPS without any links to other forums and stuff.
Just a row of times with the timezones underneath them...

you know what i mean...stop confusing me :D

If that's all it takes to confuse you, then we are in trouble. ;)

All seriousness aside, I won't convert this for use with CMPS for 2 reasons. First, I don't run it so no way for me to test it. Second, it can be a nightmare getting things like this to work on CMPS.

As far as doing it for the forumhome, all you would have to do is take the template and put that code where you wanted it. Look at the main template and you will see what I mean. If you have any questions then, then let me know and I will see if I can find the time to help you with it. ;)

GuaRRand
24 May 2006, 08:33
Thnx, i'll try that

Boofo
24 May 2006, 09:03
Don't forget the install button as I hope to have an update soon that will blow your socks off. ;)

GuaRRand
24 May 2006, 09:08
Don't forget the install button as I hope to have an update soon that will blow your socks off. ;)
NOT MY SOCKS!!! :surprised:

Boofo
24 May 2006, 09:12
It only starts with your socks. Wear lots of clothing on the date it gets released. ;)

GuaRRand
24 May 2006, 09:13
oh.. and raistlin 0wnz also ;)
(if you even know what i'm talking about :D )

Boofo
24 May 2006, 09:19
Thanks! I thought so, too, that's why I picked him. ;)

Nuguru
13 Aug 2006, 12:01
Hello,

First of all I gotta say that this world times product is pretty cool. However, there are several regions where the time is 1 hour off due to DST. I set the time perfect for my time zone and a number of regions are correct except the ones with the time zone difference. How do I correct this so that all time zones are corret with regions?

Thank You,

Nuguru :)

soletrader
25 Aug 2006, 03:35
Is there a way to make this viewable to unregistered members as well? Thanks

soletrader
26 Aug 2006, 05:22
anyone?

soletrader
10 Sep 2006, 00:26
bump

rareclownfish
15 Sep 2006, 18:40
is this working on 3.5.4?

brvheart
03 Oct 2006, 15:41
is this working on 3.5.4?

worked perfect on my 3.5.4

katerri
30 Oct 2006, 21:05
Has the download for this been updated since the shown "Last Update" of 8/18/05? I see several posts past that date discussing issues and talk of an update. Anywhere to get the most current version?

TosaInu
11 Nov 2006, 18:53
An update would be very nice. The DST just changed in my regio and the time displayed in worldtimes is not correct anymore.

rjmjr69
13 Mar 2007, 06:22
Works Perfectly for me in 3.6.4 thank you

MDK-Indy
11 Aug 2007, 10:51
Works fine on vBulletin 3.6.7 PL1...

greeting Indy

yaoren
19 Aug 2007, 00:20
so far so good on 3.6.7

**Installed**