![]() |
|
Mod Options |
![]() |
|||||||||||||||
Vbadvanced - Weather Channel Module
![]() Developer Last Online: Nov 2005 ![]() ![]() ![]() This modification is in the archives.
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:
MAKE SURE YOU CHANGE THE $bbuserinfo[field6] TO YOUR FIELD #... say yours is 4 it would be like this $bbuserinfo[field4] 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 Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Weather Block for vBadvanced | WreckRman2 | vBulletin 3.0 Full Releases | 31 | 29 Jan 2005 15:19 |
Comments |
#2
|
|||
|
|||
Will this work for overseas as well? or just US members?
__________________
Cyricx (Chris) No members have liked this post.
|
#3
|
|||
|
|||
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
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
|
#4
|
|||
|
|||
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? No members have liked this post.
|
#5
|
|||
|
|||
what do you mean by quick links?
the navbar?
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
|
#6
|
||||
|
||||
![]()
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
No members have liked this post.
|
#7
|
|||
|
|||
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
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
Last edited by boo.3; 19 May 2005 at 22:48. |
#8
|
|||
|
|||
Originally Posted by boo.3
I removed the top script statement you had in there.
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. No members have liked this post.
|
#9
|
|||
|
|||
Originally Posted by boo.3
Yeah in the navbar..well mine is in the header.
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? No members have liked this post.
Last edited by KevinL; 19 May 2005 at 22:55. |
#10
|
|||
|
|||
ok i tryed your code and it didn't work for me it said i needed to enter zipcode?
did you get that error
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
|
#11
|
|||
|
|||
Originally Posted by KevinL
thats odd... would anyone know why this is happening?
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
|
#12
|
|||
|
|||
Originally Posted by boo.3
Mine? You prolly have to change it back to field6.
EDIT: Now I have to find a way to force it to be a smidge smaller. No members have liked this post.
Last edited by dsboyce8624; 19 May 2005 at 22:57. |
#13
|
|||
|
|||
Originally Posted by boo.3
No idea, unless there something else already wrong with the navbar.
This hack went nowhere near it. No members have liked this post.
|
#14
|
|||
|
|||
haha my bad i didn't add field6
let me check 1 sec edit: An error has occurred. Invalid location code provided. Please notify the webmaster. i get that now after changing field
__________________
http://www.holvn.de/upload/store/Firefox.GIF |_x_| b3 playground This posting is provided "as is" with no warranties, and confers no rights. No members have liked this post.
|
#15
|
|||
|
|||
Originally Posted by boo.3
ok for some reason that new code fixed that problem!
![]() Thanks! No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:44.