![]() |
Vbadvanced - Weather Channel Module
thanks to dsboyce8624 to fixing this code
This code is based around cLord's weather module All i did was some simple changes to his code and added the weather channels code What Does It do? This gives users a field to add the ZIP CODE once added they will see there local weather on your main Vba 1. In your Admincp - User Profile Fields - Goto "Add New User Profile Field" - Choose single line text box - Create new field titled "Zip Code". 2. Admincp - User Profile Fields - Click "User Profile Field Manager" and look for the Zip Code field number - In my forums its 6. 3. Admin CP - Styles & Templates - Style Manager - Add a new template called "adv_portal_weather". Now put this code into the template: Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> Now Last Step 4. Admincp - vBa CMPS - Add Module Module Title - Weather Module Identifier - keep blank OR Template to Include - weather Activate - yes Select the column *Right or Left* DONE |
Will this work for overseas as well? or just US members?
|
You can look at overseas forcast, but for the zipcode i'm not sure.
Give it a try and tell me how it goes? boo |
ok I installed this and Ive been wanting someone to write this up I couldnt get it to work correctly.
I have one problem now though, my quicklinks doesnt work it just reloads the page. When I shut it off the quicklinks works fine. Any suggestions? |
what do you mean by quick links?
the navbar? |
The idea is nice, and I used it, but you should tell people that it's attached to your site and that they should register for thier own on http://www.weather.com I also removed the ads.
Great idea though. Dennis PS - Since you have some problems (the script seems to be in twice or something.) Here is my template code PHP Code:
|
its fine with me if they run it off my account...
btw how did you remove adds? would you like to help in fixing some of these problems? ok updates are being made read top of post |
Quote:
Then replaced your script (the second one) with the one weather.com gave me. I edited it with the changes you made (the user zip field and so forth) and saved. |
Quote:
If I enable this and I click on that button it reloads the page. When I shut it off everything works fine again. I have no idea why that would happen. **edit** I also have people from overseas, is there a way to get this to work for them? |
ok i tryed your code and it didn't work for me it said i needed to enter zipcode?
did you get that error |
All times are GMT. The time now is 12:25 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:
|