![]() |
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.
|
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 ?
|
Quote:
|
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.
|
Quote:
https://vborg.vbsupport.ru/showpost....8&postcount=29 |
working :D thanks
|
Quote:
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 |
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! ;)
|
Wow, looks nice but is it fully phrased?
|
Quote:
|
Quote:
[high]* Lea Verou clicks install to reserve a seat :p :p :p[/high] |
Thanks mate **INSTALLED**I await the brand new spanking version :surprised:
|
:( have installed it - but it isn't showing up ... did I do anything wrong???
|
Quote:
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. ;) |
Quote:
|
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. |
Quote:
What do you mean some that were incorrect? |
Some of the countries were in the wrong zones. I have a member in Austrailia and she corrected all of those cities in Aus.
|
Quote:
EDIT: I just noticed she has that in there. Ignore this post. ;) |
Also, with your file, my time is showing behind an hour. ;)
|
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. |
Quote:
You commented out this line which would fix the DST is it was enabled in your User CP settings. ;) //servertime++; |
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. |
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. |
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. |
Quote:
|
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.
|
Quote:
|
Quote:
BTW, remember when I said the instructions were clear and easy to follow. Scratch that. :ermm: |
Quote:
|
I thought it would be a given, but I guess I was wrong. Will fix it in the first post when I get back.
|
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? |
Isn't New Zealand supposed to be GMT +14?
|
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 |
Quote:
|
Quote:
Don't forget the install button, sir. ;) |
Quote:
|
Every time I click the world time zone link to view it, it logs me out. How do I fix this bug?
|
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.
|
Quote:
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. |
All times are GMT. The time now is 04:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|