PDA

View Full Version : Miscellaneous Hacks - World Time Zones


Boofo
08-16-2005, 10:00 PM
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
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
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. ;)

Dan
08-18-2005, 06:46 PM
Nice job Bob :D I really like it

Boofo
08-18-2005, 07:17 PM
Nice job Bob :D I really like it

Thank you, sir. ;)

Marco van Herwaarden
08-18-2005, 08:05 PM
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
08-18-2005, 08:08 PM
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
08-18-2005, 08:17 PM
Getting close yes :D

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

Boofo
08-18-2005, 08:21 PM
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
08-19-2005, 02:50 AM
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
08-19-2005, 05:19 AM
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
08-19-2005, 09:16 AM
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
08-21-2005, 06:13 AM
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.

if ($timediff == $vbulletin->userinfo['timezoneoffset'])
{
//blah
}
else
{
//blah
}


Can Become:



$show['localtimezone'] = false;
if ($timediff == $vbulletin->userinfo['timezoneoffset'])
{
$show['localtimezone'] = true;
}

And using conditionals in the single template instead.

--

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


$vbulletin->options['timeoffset'] is server offset


--

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

mtha
09-02-2005, 06:33 AM
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
09-23-2005, 04:22 PM
This is awesome Boofo :)

* Cyricx clicks install!

Definately like the two suggestions above as well :)

Mike Gaidin
09-23-2005, 07:59 PM
Nice one Bob. :up:

* Mike Gaidin clicks install.

SlipNslide281
09-23-2005, 09:46 PM
This is awesome, do you think you will be making for for RC3??

Gizmo5h1t3
09-23-2005, 09:47 PM
works fine on RC3 mate....

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

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

change the:

+2

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
09-26-2005, 05:18 AM
In this line:

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

change the:

+2

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
09-26-2005, 05:39 AM
Is it working all right for you now, then? ;)

poolking
09-26-2005, 05:59 AM
/me installed

theArchitect
09-26-2005, 06:08 AM
Is it working all right for you now, then?Certainly is :up:

Boofo
09-26-2005, 07:30 AM
* 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
09-26-2005, 02:22 PM
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
09-26-2005, 02:27 PM
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
09-26-2005, 09:53 PM
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

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>

in the navbar template and then add after

<tr><td class="vbmenu_option"><a href="worldtimes.php">World Times</a></td></tr>

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

Boofo
09-26-2005, 10:24 PM
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

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>

in the navbar template and then add after

<tr><td class="vbmenu_option"><a href="worldtimes.php">World Times</a></td></tr>

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
09-26-2005, 10:28 PM
I will link this in the first post when I get back. ;)

Thanks. Glad to be of service.

jblackburn
09-27-2005, 01:17 PM
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
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
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
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.php?p=779608&postcount=29

Magma
10-07-2005, 12:00 AM
working :D thanks

mtha
10-07-2005, 12:13 AM
In this line:

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

change the:

+2

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
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
10-07-2005, 01:49 AM
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

* Lea Verou clicks install to reserve a seat :p :p :p

steve1386
10-07-2005, 01:15 PM
Thanks mate **INSTALLED**I await the brand new spanking version :surprised:

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

Boofo
10-08-2005, 11:32 PM
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
10-08-2005, 11:32 PM
:( 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
10-09-2005, 12:08 AM
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
10-09-2005, 12:47 AM
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
10-09-2005, 12:53 AM
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
10-09-2005, 01:17 AM
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
10-09-2005, 01:20 AM
Also, with your file, my time is showing behind an hour. ;)

WNxWakko
10-09-2005, 01:30 AM
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
10-09-2005, 01:45 AM
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
10-09-2005, 01:51 AM
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
10-09-2005, 01:59 AM
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
10-09-2005, 02:12 AM
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
10-09-2005, 06:17 AM
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
10-17-2005, 09:56 PM
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
10-17-2005, 11:08 PM
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
10-18-2005, 07:43 AM
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
10-18-2005, 12:34 PM
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
10-18-2005, 12:44 PM
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
11-02-2005, 08:59 PM
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
11-02-2005, 09:20 PM
Isn't New Zealand supposed to be GMT +14?

Ramsesx
12-11-2005, 04:48 AM
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
12-11-2005, 06:48 AM
哦,很不错!!!

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

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

Boofo
12-11-2005, 07:24 AM
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
12-11-2005, 01:58 PM
You got me on that one. ;)

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

wow, I got boofo....

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

Chadi
12-12-2005, 05:47 PM
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-12-2005, 07:50 PM
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
12-15-2005, 12:35 AM
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
01-30-2006, 02:02 AM
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
01-30-2006, 07:05 AM
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-31-2006, 11:29 PM
So, any ideas why this shows fine for a day and then all the times show the same time?

Boofo
02-01-2006, 12:35 AM
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
02-02-2006, 11:34 PM
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
02-04-2006, 07:29 AM
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
02-04-2006, 02:05 PM
I installed this but where is the page at? Do I need to make it?

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

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

Thanks

Chadi
02-13-2006, 12:12 AM
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


<tr>
<td style="padding-left:5px; padding-right:5px" height="18" align="center" bgcolor="#F5F5FF">
<font SIZE="2" color="#FF9900">
<img border="0" src="http://www.talkjesus.com/designs/radio_dream/buttons/lastpost.gif" width="16" height="14"></font></td>
<td style="padding-left:3px" height="18" align="left" bgcolor="#F5F5FF" width="100%">
<div class="smallfont">
<a href="http://talkjesus.com/worldtimes.php" style="text-decoration: none">
World Time Zones</a></div></td>
</tr>

That is the code portion from my forumhome template.

Chadi
02-14-2006, 03:10 AM
#1 is resolved. #2 still there

Chadi
02-28-2006, 07:11 PM
Anyone?

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

Boofo
05-24-2006, 06:54 AM
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
05-24-2006, 06:55 AM
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
05-24-2006, 07:05 AM
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
05-24-2006, 07:06 AM
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
05-24-2006, 07:10 AM
....
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
05-24-2006, 07:24 AM
....
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
05-24-2006, 07:33 AM
Thnx, i'll try that

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

GuaRRand
05-24-2006, 08:08 AM
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
05-24-2006, 08:12 AM
It only starts with your socks. Wear lots of clothing on the date it gets released. ;)

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

Boofo
05-24-2006, 08:19 AM
Thanks! I thought so, too, that's why I picked him. ;)

Nuguru
08-13-2006, 11:01 AM
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
08-25-2006, 02:35 AM
Is there a way to make this viewable to unregistered members as well? Thanks

soletrader
08-26-2006, 04:22 AM
anyone?

soletrader
09-09-2006, 11:26 PM
bump

rareclownfish
09-15-2006, 05:40 PM
is this working on 3.5.4?

brvheart
10-03-2006, 02:41 PM
is this working on 3.5.4?

worked perfect on my 3.5.4

katerri
10-30-2006, 08:05 PM
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-11-2006, 05:53 PM
An update would be very nice. The DST just changed in my regio and the time displayed in worldtimes is not correct anymore.

rjmjr69
03-13-2007, 05:22 AM
Works Perfectly for me in 3.6.4 thank you

MDK-Indy
08-11-2007, 09:51 AM
Works fine on vBulletin 3.6.7 PL1...

greeting Indy

yaoren
08-18-2007, 11:20 PM
so far so good on 3.6.7

**Installed**