![]() |
I was informed that the times for Tokyo, Seoul, Osaka are out by a hour, I not sure if this is right but I have adjusted and added Melbourne and Sydney time that are correct at the moment.
Just change this in the timezone.php Quote:
BB |
mines out by an hour since Brisbane doesn't have daylight savings anymore :)
|
Just installed this one. My second hack installation :D
Installation was a breeze and it works as 'advertised.' Thanks much. web |
this is a really cool hack man, thnx !!
|
could this some how be integrated onto vbportal ?
|
Works great, thanks.
|
Work on 2.2.1 version?
Thx |
Nice hack! Just installed it on vBulletin 2.2.1!
Click here to see it in action The first step in index.php just is not quite the same as previous versions but if you just add: timezonelist,timezone_city,timezone_city_col'; to that line and follow the other steps, it works fine... Thanxxx |
Great job!
|
Quote:
|
Popping up in a new window would be cool!
Anyone have a clue? |
That would be awesome!
|
yeah.. anyone know how to do it thouhg?
|
Is there a pop-up window coming? Please... :D
|
Well it works for me
|
This works with 2.2.2 no problem, I changed two of the templates to get the effect below. I also sorted the error with the .gif image but you will need to check your own path and choice of image.
Changes to index.php 2.2.2 make the top of the script like this; <?php error_reporting(7); $templatesused='forumhome_birthdaybit,error_noperm ission,forumhome_pmloggedin,fo rumhome_welcometext,forumhome_logoutcode,forumhome _newposts,forumhome_todayposts ,forumhome_logincode,forumhome_loggedinuser,forumh ome_loggedinusers,forumhome_la stpostby,forumhome_moderator,forumhome_forumbit_le vel1_nopost,forumhome_forumbit _level1_post,forumhome_forumbit_level2_nopost,foru mhome_forumbit_level2_post,for umhome,forumhome_unregmessage,timezonelist,timezon e_city,timezone_city_col'; $loadbirthdays=1; $loadmaxusers=1; Change Timezone.php to this; <?php $dateformat = "l h:i A"; $percol = 5; Templates; timezone_city <smallfont><b>$cities</b> <font color={timecolor}>$datetime</smallfont><br> timezonelist <tr bgcolor="{categorybackcolor}"> <td colspan="6"><normalfont color="{categoryfontcolor}"><b>Current World Time:</b></smallfont></td> </tr> <tr> <td bgcolor="{secondaltcolor}" align="center" valign="top"><img src="images/time.gif" alt=""> <td bgcolor="{firstaltcolor}" colspan="5" valign="top"> <table> <tr> $cityzones </tr> </table> </td> </tr> |
Works great on my v2.2.2 forums, thanks Mas!
|
Quote:
World Times Page If you were actually logged in the colored globe indicates your time zone and I also added this page to Who's Online tracking. If that will do instead of the requested pop-up I can document it properly. |
Quote:
Would it be too much trouble to document how to do that hack, please? |
Yes! that'll work :D
i like that. Could you explain how? |
Castel, I'd love to have this too! When will you be able to show us the script? Great site, by the way!
|
Released under new topic https://vborg.vbsupport.ru/showthrea...threadid=35209
|
Great hack! Installed nice and easy.
There's only one thing I can't figure out is a small format thing. The hack works perfectly, but I'd like to figure out a way to alternate colors between country/timezone. In other words, "Eniwetok, Kwajalein = color 1" and "Midway Island, Samoa = color 2." Anyone figure out a way to do this? |
I've tried installing this hack and the world time in all countries are about 2-3 hours off! Is there any reason to this and how can I fix it?
Thank you and looking forward to some answers. |
I installed this Hack and it seems to only show one city. :(
London, UK Saturday 21:57 Sunday 09:57 http://matrixwebhosting.net/forum/index.php Its there at the bottom for some reason its not showing them all. Kind of off.. I went back over the read me to make sure I did not miss any thing.. |
Quote:
|
One of my users like this option, so I tinkered with it a bit. And have it working with VB3 Gold. There was a couple of things I haven't had time to play with, but it's still very functional.
Good Luck Grandma |
Hi grandma. First off I want to thank you for taking the time to do this. Thank you!!!
When I tried it I got an error. Most likely something I did wrong, but I am hoping you could guide me in the right direction. :) Code:
Fatal error: Call to undefined function: gettemplate() in /home/divaorg/public_html/forum/worldtimes.php on line 49 |
Did you use the worldtime.txt.php I posted? Just rename it to worldtime.php and use it.
VB3 doesn't support the gettemplate function in your error. That was the original worldtimes file. Hope that helps Grandma |
Hi. I have the page up and running... but the time zones are wrong. Unfortunately I dont know how to correct this. Could someone give me a hand? Thanks bunches!
|
Edit the php file to fit your needs.
For example: $timezones[-10] = "Honolulu, Chatham Island, Papeete, Tahiti, Cook Islands"; $timezones[-9] = "Anchorage,Juneau"; $timezones[-8] = "Los Angeles, Seattle, San Fransisco, Vancouver"; $timezones[-7] = "Denver, Phoenix, Edmonton, Aklavik"; all times in the brackets are relative to GMT. You can also change anything within the quotes. Grandma |
Quote:
|
Quote:
PHP Code:
PHP Code:
|
Do I really need to create 5 new remplates?
Can't this be done another way? cLord ;) |
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:
|