Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Timezone Image In Profile Details »»
Timezone Image In Profile
Version: 1.00, by Nutz Nutz is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.7 Rating:
Released: 05-28-2007 Last Update: Never Installs: 81
Uses Plugins Template Edits
 
No support by the author.

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


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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-01-2007, 05:41 PM
bitdefuser bitdefuser is offline
 
Join Date: Mar 2007
Location: C:\WINDOWS
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nutz View Post
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
Reply With Quote
  #33  
Old 06-01-2007, 08:38 PM
Nutz's Avatar
Nutz Nutz is offline
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks linked you in the first post.

Thanks,
Mat
Reply With Quote
  #34  
Old 06-04-2007, 04:33 PM
Taipa Taipa is offline
 
Join Date: Apr 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nutz View Post
In your case then:
## FIND ##
HTML Code:
</table>
<br />

$footer
##########

## REPLACE WITH ##
HTML Code:
<tr>
	<td class="tcat" width="50%">&nbsp;</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!
That's just perfect! ^_^
Reply With Quote
  #35  
Old 06-04-2007, 07:28 PM
bongwater's Avatar
bongwater bongwater is offline
 
Join Date: Nov 2005
Location: south Florida
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works flawlessly on my 3.6.7
Reply With Quote
  #36  
Old 06-05-2007, 01:46 AM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, thanks! *Installed*
Reply With Quote
  #37  
Old 06-05-2007, 11:40 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on v3.6.7PL1....

Works great (replaced usergroup area)... :up:

Thank you...

Regards,
Badger
Reply With Quote
  #38  
Old 06-05-2007, 11:50 AM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the same thing... Looks great!!:up:
Reply With Quote
  #39  
Old 06-05-2007, 12:49 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Code:
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
Reply With Quote
  #40  
Old 06-05-2007, 02:31 PM
Nutz's Avatar
Nutz Nutz is offline
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there badger, can you shoot me a link to the user in questions profile please?

Thanks,
Mat
Reply With Quote
  #41  
Old 06-05-2007, 02:38 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nutz View Post
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....

I have no idea why this worked, but it did and his gif pic loads and appears fine now ....

Regards,
Badger
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08368 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete