![]() |
Accuweather - Local Weather Information on Profile Page
1 Attachment(s)
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! |
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"? |
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>" https://vborg.vbsupport.ru/external/2009/08/71.jpg |
Quote:
|
Yes, Zelnik. That's the next task on my to-do list. :)
|
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. |
Quote:
Edit: Hang on I think I found the problem on my end. |
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:
|
Quote:
:D |
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. |
All times are GMT. The time now is 02:39 PM. |
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:
|