View Full Version : Profile Enhancements - Timezone Image In Profile
Timezone Image In Profile
Description
This plug-in will allow you to have a world timezone image in user profile view.(see screenshot).
LIVE DEMO: http://cursayer.com/member.php?u=1
http://64th.net/vB/img/timezone.png
Details
1 Product
1 Phrase
1 Template Modification
Notes
Requires 1 small template modification to MEMBERINFO.
The time zone image is selected from the users Timezone options.
History
1.0 - Initial Version
1.5 - Time and date is imprinted on the timezone image.
2.0 - Updated to 3.6.x
Last Words
I hope you enjoy the hack and don't forget to click install please :)
Thanks,
Mat
iogames
05-28-2007, 11:46 PM
Hehe! First!
Barakat
05-29-2007, 12:18 AM
thanks
Bounce
05-29-2007, 12:33 AM
Interesting ..
*Clicks Installed*
Thanks.
Wonder is there is much call for this to be a user option in the user cp? Or are you all ok forcing your members to show there TZ? ;)
rjmjr69
05-29-2007, 01:26 AM
nice. There is a mod out there called World Times. I have that installed will this be a problem to install along side?
bashy
05-29-2007, 05:13 AM
Cheerz Nutz, hope this 1 installs better than i did with ya other version (i was new then :o) will try it tonight when i get home :)
Hornstar
05-29-2007, 05:54 AM
nice work, looks like a cool profile enhancement. thanks.
Don't forget to click install :)
Thanks,
Mat
Subah
05-29-2007, 07:50 AM
Cool , Thanks :)
Hey mike,
If you look at the screenshot you can see that this adds an image showing the users timezone, rather than just text :)
Thanks,
Mat
abdulla1
05-29-2007, 10:10 AM
Exciting , will be installed
HeRmAn'S
05-29-2007, 10:46 AM
version 3.6.5 ...lıne up ...no problem ..good work :) and Installed :up:
(http://javascript%3Cb%3E%3C/b%3E:%20vborg_doinstall%28148338,true%29)
InfidelMatt
05-29-2007, 11:39 AM
Very cool, but is there any way to modify the colors of the image? Blue and green don't really match my site very well and I'd like to customize it a bit.
ETA: Nevermind, downloaded it and answered my own question. Thanks! Will install after changing colors!
Matt
Hi matt,
The images used to make it can be found in the 'gmti' folder.. 32 of them, you can edit them to your hearts content :)
Thanks,
Mat
hnjco
05-29-2007, 12:08 PM
VB 3.6.7
Installed and working great :up
Stifmeister2
05-29-2007, 03:26 PM
Nice! :)
MThornback
05-29-2007, 05:04 PM
I got the 3.5 version working fine on 3.6, what if anything has changed?
Mrdby
05-30-2007, 12:13 AM
Demo Anybody?
rjmjr69
05-30-2007, 12:28 AM
nice. There is a mod out there called World Times. I have that installed will this be a problem to install along side?
Nutz any answer?
rjmjr69
05-30-2007, 12:34 AM
Works fine with World Time Zones.... Thanks for the answer
How do you move it to the right side of the window like your screen shot shows? Mines on the left
ReQueM
05-30-2007, 01:03 AM
Very nice... Thanx
*click insrtall*
I got the 3.5 version working fine on 3.6, what if anything has changed?
Just the template changes.. you should be fine.
How do you move it to the right side of the window like your screen shot shows? Mines on the left
The instructions on how to replace the usergroups with the map 'move it to the right' can be found in the 'Installation.txt' under the 'PS: This is the template edit to do if you want to replace the 'usergroups' area in the profile.' hidden away at the bottom :)
Taipa
05-30-2007, 04:50 PM
Just the template changes.. you should be fine.
The instructions on how to replace the usergroups with the map 'move it to the right' can be found in the 'Installation.txt' under the 'PS: This is the template edit to do if you want to replace the 'usergroups' area in the profile.' hidden away at the bottom :)
What if we want it on the right below the usergroups section, instead of replacing the usergroups section?
What if we want it on the right below the usergroups section, instead of replacing the usergroups section?
Bottom right you mean? would require something on the bottom left, unless your into big empty gaps :)
Thanks,
Mat
Taipa
05-30-2007, 05:11 PM
Bottom right you mean? would require something on the bottom left, unless your into big empty gaps :)
Thanks,
Mat
Yeah, bottom right. :)
Right now I have a big empty gap (on the bottom right) because the left column is longer than the right column. On my forum, moving the timezones to the right column would even up the two sides and eliminate the big empty gap.
In your case then:
## FIND ##
</table>
<br />
$footer
##########
## REPLACE WITH ##
<tr>
<td class="tcat" width="50%"> </td>
<td class="tcat" width="50%">$vbphrase[timezone_image]</td>
</tr>
<tr valign="top">
<td class="panelsurround" align="center">
</td>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">
<img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/>
</div>
</div>
</td>
</tr>
</table>
<br />
$footer
###################
Should do the trick :)
Thanks,
Mat
Hengest
05-30-2007, 09:52 PM
Installed, thanks for this :up:
bitdefuser
05-30-2007, 09:55 PM
Why didn't anyone think of this before?
Great Add-on, very useful for my users. :)
Edit: Oh, hehe. :p 3.5.x: https://vborg.vbsupport.ru/showthread.php?t=101415
Why didn't anyone think of this before?
Great Add-on, very useful for my users. :)
Edit: Oh, hehe. :p 3.5.x: https://vborg.vbsupport.ru/showthread.php?t=101415
Glad your finding this useful bitdefuser. May I link your site as a live demo? :) seeing as you allow guests to view user profiles after all :)
Thanks,
Mat
bitdefuser
06-01-2007, 05:41 PM
Glad your finding this useful bitdefuser. May I link your site as a live demo? :) seeing as you allow guests to view user profiles after all :)
Thanks,
Mat
Sure! :) Here's me: http://www.cursayer.com/members/bitdefuser
Thanks :D linked you in the first post.
Thanks,
Mat
Taipa
06-04-2007, 04:33 PM
In your case then:
## FIND ##
</table>
<br />
$footer
##########
## REPLACE WITH ##
<tr>
<td class="tcat" width="50%"> </td>
<td class="tcat" width="50%">$vbphrase[timezone_image]</td>
</tr>
<tr valign="top">
<td class="panelsurround" align="center">
</td>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">
<img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/>
</div>
</div>
</td>
</tr>
</table>
<br />
$footer
###################
Should do the trick :)
Thanks,
Mat
Thank you! :D
That's just perfect! ^_^
bongwater
06-04-2007, 07:28 PM
works flawlessly on my 3.6.7
Alibass
06-05-2007, 01:46 AM
Nice hack, thanks! *Installed*
BadgerDog
06-05-2007, 11:40 AM
Installed on v3.6.7PL1.... :)
Works great (replaced usergroup area)... :up:
Thank you...
Regards,
Badger
deezelpope
06-05-2007, 11:50 AM
I did the same thing...:) Looks great!!:up:
BadgerDog
06-05-2007, 12:49 PM
Ok, got a bit of a problem....
Had a user from Newfoundland.... GMT -3.30 send an email to me. He's not getting the map display, but rather the classic RED X that the file is not there. I checked his display and the RED X points to this filename, stored under directory GMTI off of the root.
http://www.milsurps.com/gmtimage.php?gmt=-3.5&localtime=11:17 AM&localdate=06-05-2007#gif.gif
I downloaded the file and check it. It appears like a normal GIF and it displays fine.
Any suggestions as to why this particular timezone would not have it's corresponding filename found? Perhaps something to do with the comma issue?
I haven't checked all of the other timezones, but the ones I have seem to be working fine.
Thanks
Regards,
Badger
Hey there badger, can you shoot me a link to the user in questions profile please?
Thanks,
Mat
BadgerDog
06-05-2007, 02:38 PM
Hey there badger, can you shoot me a link to the user in questions profile please?
Thanks,
Mat
I was going to do that, then I fixed the problem..... :up:
I went through all of the GIFs on the server that had a comma in the filename and changed it to a period.
ie: as originally installed: gmt_-3,5.gif
renamed it to: gmt_-3.5.gif
Problem solved and the guy from Newfoundland is happy.... :D
I have no idea why this worked, but it did and his gif pic loads and appears fine now ....
Regards,
Badger
OneShot
06-06-2007, 10:02 AM
Would it be possible to get rid of the template edit? After 3.6.6 there should be a suitable jook in the UserCP somewhere ...
Cheers
OS
Would it be possible to get rid of the template edit? After 3.6.6 there should be a suitable jook in the UserCP somewhere ...
Cheers
OS
Something I am going to look into, yes :)
Thanks,
Mat
fpattberg
06-06-2007, 02:49 PM
Installed.
Nice hack! :up:
Fabian
Triky
06-06-2007, 03:02 PM
Pretty one! :)
Vindicare
09-22-2007, 12:13 PM
So simple, so great.
Thanks for this mod.
Trickster303
11-05-2007, 12:56 AM
I was going to do that, then I fixed the problem..... :up:
I went through all of the GIFs on the server that had a comma in the filename and changed it to a period.
ie: as originally installed: gmt_-3,5.gif
renamed it to: gmt_-3.5.gif
Problem solved and the guy from Newfoundland is happy.... :D
I have no idea why this worked, but it did and his gif pic loads and appears fine now ....
Regards,
Badger
Hi I had the same problem, some time zone areas would not show up.
I went and made the changes and its all fine now.
Maybe the main file can be updated if not done already.
Nice hack, looks great!!!
Tikibird
11-09-2007, 09:11 PM
Hi, newbie here! I have 3.6.4 and got the XML part and the ftp upload part done. I am trying to edit the MEMBERINFO but mine is a bit different from the code provided.
Mine:
</tr>
</table>
$footer
</body>
</html>
Yours:
</table>
<br />
$footer
Where do I put this code?
<tr>
<td class="tcat" width="50%">$vbphrase[timezone_image]</td>
</tr>
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">
<img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/>
</div>
</div>
</td>
</tr>
</table>
<br />
$footer
vnairp11
11-20-2007, 04:00 AM
it won't display some time zones like gmt +9:30 adelaide, darwin
Tikibird
11-25-2007, 07:28 AM
I am still trying to make this one work. I have since upgraded to 3.6.8 PL2 and reinstalled this product and did everything according to the instructions and I am still not getting a time zone graphic. I checked my profile and some members as well. Do I need to add a profile field or something?
I am currently running a Christmas theme as the default and only edited THAT MEMBERINFO template. Am I supposed to edit ALL my themes? I have about 8 of them, some boards have their own themes.
princeedward
02-01-2008, 07:50 PM
thanks a lot...work like a charm to my vBulletin? v3.6.8
;)
Boofo
02-03-2008, 08:37 AM
I have this working like a charm in vb 3.7.0 beta 4 if anyone is interested. ;)
towermatt
07-21-2008, 06:20 PM
Is there anyway to modify this so it can be a right block in 3.7?
Thanks in advance
Reinhart
10-10-2008, 06:00 PM
We had the clock running well for quite some time, recently moved our db to a new server.
now have this:
http://i7.photobucket.com/albums/y252/bb5999/error_error.png
Any ideas?
vull - 3.6.9
thanks
gamerfu
10-11-2008, 09:37 PM
How would code this as an addon to the "Contact Info" Tab in 3.7.x? :confused:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.