![]() |
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. |
Quote:
Edit: OOPS! I missed one of the field edits. It is working great now. Thanks! |
Haha, no worries, psychobike. Glad you got it going! =P
I'll have the postbit option ready later today. |
YOU RULE!!!!!!!!
Thanks (im Shawn Gossman from taz :p) |
Glad it's what you were looking for, Kruzzen. :)
On a separate note, I love how the rating for this mod is going down - but the people voting haven't installed the modification. How does that work? -.- |
Hi there,
This looks great, thank you - can it be adapted for UK users for UK weather and UK postcodes? Thanks. :) |
Absolutely!
I'll need someone to find me a UK weather site that offers a feature like the information displayed by Accuweather in this modification. Once I have this information I'll be able to make a version of this mod for international users. :) |
Quote:
Accuweather does have UK weather somewhere as I use the accuweather plugin for firefox! |
Quote:
Is the BBC any good? AccuWeather (UK) Section also. Weather.com Any good with these? Thank you. :cool: |
I have added the ability for everyone to allow the Accuweather Modification to be displayed in Postbit. If you were waiting for this feature you may download the Postbit Installation Instructions text file and get it up and running in no time. Enjoy!
|
Quote:
|
The instructions say to place it just above the:
</td> </tr> </table> <!-- / user info --> |
Quote:
PHP Code:
|
Try adding it after:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> |
Quote:
|
I concur. This is a mod that many of us could use. Attached is what mine looks like.
Is there a way just to get (take the attached pic for example) the sun, Sunny and 87? And then maybe have it as a third column, maybe either before or after the member's stats. |
@ PureTalkForum, how do we get this working for the UK? Thanks for this! :)
|
this is cool but please add Canada and Mexico to that list. gonna tag this one until their added. pretty much all north america. you can get weather from around the world from
Code:
http://www.theweathernetwork.com |
why are some of my members having trouble entering their zip code?
|
Any luck getting this mod to work in postbit legacy yet?
|
Quote:
But I am having another one. I as administrator can see every bodies weather (postbit) but as registered members they see everybody as NY still. I am thinking it is a user group permission problem. But I do not see where it is, I am sure I am missing something, please help. |
I've done everything right down to a tee, and checked and rechecked yet the tab is still not appearing in the profile.
I have vplasa installed and that tab is there, could this be causing the problem? I'm using vb3.8.4. |
EU and Asian support would be nice, otherwise I'll have a xenophobic riot if I install it... thanks.
|
Has anyone got this mod to work in postbit legacy?
|
Everything was done per instructions. I get nothing. Not even the new tab
|
Bumping for a UK version x
|
Great Mod, Thank you
can I use the Zipcode from the vBMembermap ? ################################ Super Mod, Danke sehr es wäre schön, wenn man den Zipcode aus der vBMembermap nutzen könnte, da dort bereits eine Eingabe erfolgt ist. |
Quote:
Thanks for this bod! |
How could I make this where it shows in the signature of members instead of the postbit part it currently shows in? I use legacy and I think signature views of this would look better...
|
Very nice mod. Any plans to upgrade to 4.2.1?
|
Quote:
|
All times are GMT. The time now is 09:34 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:
|