Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Accuweather - Local Weather Information on Profile Page Details »»
Accuweather - Local Weather Information on Profile Page
Version: 1.00, by PureTalkForum PureTalkForum is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 08-10-2009 Last Update: 08-11-2009 Installs: 25
Template Edits
Re-useable Code Translations  
No support by the author.

vBulletin Accuweather Modification
Brought to you by: PureTalkForum.com / kovichm@puretalkforum.com

This Template Modification is a simple vBulletin Profile Enhancement Feature. While it was initially planned to use this mod to affect a member's postbit, it was ultimately decided it would be more efficient and professional to add a tab to the member's profile page. However, I have added the ability to add it to your postbit as well. It's your choice.

This mod pulls information from a profile field where the user inputs his zipcode and it gathers data from the Accuweather Database. It displays some general information regarding the member's weather conditions.

Complete Installation Instructions are included and even the most inexperienced Administrator would be able to install this. There is nothing to upload. All you need to do is make a few simple template changes. The modification is extremely simplistic but it gets the job done. I will be creating some more advanced features in the near future.

If you require support, you may post here or e-mail me directly.

Please click 'Installed' - thank you!

Download Now

File Type: zip AccuweatherMod.zip (46.9 KB, 270 views)
File Type: txt Accuweather Modification - Postbit Installation.txt (2.4 KB, 217 views)

Screenshots

File Type: jpg WeatherInfoTab.jpg (45.5 KB, 0 views)
File Type: jpg WeatherInfoTabInside.jpg (29.7 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 08-11-2009, 10:49 AM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been waiting for this mod. Can't wait to install it!

Thanks!

Edit: Can you give more detail on what you are referring to in the instructions about "field6"?
Reply With Quote
  #3  
Old 08-11-2009, 11:00 AM
PureTalkForum PureTalkForum is offline
 
Join Date: Aug 2009
Location: Pennsylvania, US
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Absolutely! I'm here to help.

When you create a new ProfileField it is assigned an ID by vBulletin. By default it will be field# where # is... well, a number. So in the template modifications where you see "field6" just make it "field<WhateverNumberYourProfileFieldIs>"

Reply With Quote
  #4  
Old 08-11-2009, 11:28 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PureTalkForum View Post
Absolutely! I'm here to help.

When you create a new ProfileField it is assigned an ID by vBulletin. By default it will be field# where # is... well, a number. So in the template modifications where you see "field6" just make it "field<WhateverNumberYourProfileFieldIs>"

Looks great is there any chance to have small edition to postbit with a users weather?
Reply With Quote
  #5  
Old 08-11-2009, 11:30 AM
PureTalkForum PureTalkForum is offline
 
Join Date: Aug 2009
Location: Pennsylvania, US
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, Zelnik. That's the next task on my to-do list.
Reply With Quote
  #6  
Old 08-11-2009, 11:31 AM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/********.com/httpdocs/forums/includes/adminfunctions_template.php(3729) : eval()'d code on line 28

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #7  
Old 08-11-2009, 11:55 AM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psychobike View Post
The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/********.com/httpdocs/forums/includes/adminfunctions_template.php(3729) : eval()'d code on line 28

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Any idea how to possibly cure this error?

Edit: Hang on I think I found the problem on my end.
Reply With Quote
  #8  
Old 08-11-2009, 12:09 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok in my member.php file there is no "memberinfo_block_profilepicture".

Where should I add the "memberinfo_block_weatherinfo" in my list below:

PHP Code:
'memberinfo_block',
    
'memberinfo_block_aboutme',
    
'memberinfo_block_albums',
    
'memberinfo_block_contactinfo',
    
'memberinfo_block_friends',
    
'memberinfo_block_friends_mini',
    
'memberinfo_block_groups',
    
'memberinfo_block_infractions',
    
'memberinfo_block_ministats',
    
'memberinfo_block_profilefield',
    
'memberinfo_block_visitormessaging',
    
'memberinfo_block_recentvisitors',
    
'memberinfo_block_statistics'
Reply With Quote
  #9  
Old 08-11-2009, 12:17 PM
jo8jo jo8jo is offline
 
Join Date: Jun 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PureTalkForum View Post
Yes, Zelnik. That's the next task on my to-do list.
Yeah, let us know when it's online for postbit! Great Mod!
Reply With Quote
  #10  
Old 08-11-2009, 01:08 PM
PureTalkForum PureTalkForum is offline
 
Join Date: Aug 2009
Location: Pennsylvania, US
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the delay, I was away from the computer.

You may put it anywhere in the same array on line number 74 like that. It's in the $globaltemplates array, you can just put it anywhere in that array.
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 07:50 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.05017 seconds
  • Memory Usage 2,333KB
  • Queries Executed 24 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete