vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #61  
Old 11-22-2004, 10:24 PM
C_P's Avatar
C_P C_P is offline
Member
 
Join Date: Sep 2004
Posts: 64
Default Re: Weather Module

Great mod! Ranked a 5 star. So far no issues... so far
  #62  
Old 11-24-2004, 06:56 PM
pennylessz28's Avatar
pennylessz28 pennylessz28 is offline
Web Developer
 
Join Date: Mar 2004
Location: Virginia Beach, VA, USA
Posts: 222
Default Re: Weather Module

Awesome, works like a champ!
  #63  
Old 12-01-2004, 01:35 PM
98EXL's Avatar
98EXL 98EXL is offline
www.bwimports.org
 
Join Date: Sep 2004
Posts: 12
Default Re: Weather Module

once I get some things squared away with my site, *cough* PHP5 *cough* I will have to try this one out!

Can you set a default zipccode? My site is a local site, so I doubt many people would change from the default
  #64  
Old 12-02-2004, 02:16 AM
memobug memobug is offline
Senior Member
 
Join Date: Aug 2004
Posts: 121
Default Re: Weather Module

Quote:
Originally Posted by 98ELX
Can you set a default zipccode?
You can pass a default zip code. You'd just need to put your default link in where the section is for users with no zip code in adv_portal_weather.

Replace this
PHP Code:
<else />
<
A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</Ato show weather conditions.
</if> 
with
PHP Code:
<else />
<
a href="http://www.weatherroom.com/forecast/90120.html"><img src="http://www.weatherroom.com/weather?forecast=zone&hwvtc=black&hwvbg=E1E4F2&pands=90120&config=png&alt=hwivzone&daysonly=1" alt="Weather for 90120 provided by weatherroom.com." border="0"></a><br/>
<
A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</Ato show Your own weather conditions.
</if> 
and replace the 90210 (three times) with the zip you want to use.

The last link is still there in case someone doesn't like your default. You might not need the br/

Regards,

Matt
  #65  
Old 12-02-2004, 09:07 AM
98EXL's Avatar
98EXL 98EXL is offline
www.bwimports.org
 
Join Date: Sep 2004
Posts: 12
Default Re: Weather Module

sweet, thanks dude
__________________
http://www.bwimports.org
  #66  
Old 12-03-2004, 11:39 AM
boo boo is offline
Senior Member
 
Join Date: Nov 2004
Posts: 118
Default Re: Weather Module

IMPORTANT! Change all instances of $bbuserinfo[field5] to whatever your field number is. If it is number 10 change it to $bbuserinfo[field10]. If you forget this step it will not work!


how do i know which field it is? i don't understand?
  #67  
Old 12-03-2004, 11:49 AM
boo boo is offline
Senior Member
 
Join Date: Nov 2004
Posts: 118
Default Re: Weather Module

nvm ^^ i got know that...

but hw do you add

Stay in your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_weather".
Insert this code into the template:


where do i put it? where do i go
  #68  
Old 12-03-2004, 12:00 PM
afterglow afterglow is offline
Junior Member
 
Join Date: Sep 2004
Posts: 10
Default Re: Weather Module

I installed this module perfectly but have to hide it later. It doesn't accept zip code from Japan. Is there an international version of this module? I see it only recognize US zip codes.

regards,
Afterglow
  #69  
Old 12-03-2004, 03:33 PM
C_P's Avatar
C_P C_P is offline
Member
 
Join Date: Sep 2004
Posts: 64
Default Re: Weather Module

Quote:
Originally Posted by afterglow
I installed this module perfectly but have to hide it later. It doesn't accept zip code from Japan. Is there an international version of this module? I see it only recognize US zip codes.

regards,
Afterglow
From Post #5 in this thread....

this works for non US sites also.

1) Go here: http://www.weatherroom.com/cgi-bin/...ass&pass=tafINT
2) Select your country and city
3) Click "display Forecast/Conditions"
4) Top right you will see this "ICAO Used:" followed by a code - Place this code in your zip code field and you will see your local international forecast.
__________________
  #70  
Old 12-05-2004, 09:15 PM
afterglow afterglow is offline
Junior Member
 
Join Date: Sep 2004
Posts: 10
Default Re: Weather Module

Thanks for the tip, however the link displays error pages.

Regards,
afterglow
  #71  
Old 12-06-2004, 01:39 AM
memobug memobug is offline
Senior Member
 
Join Date: Aug 2004
Posts: 121
Default Re: Weather Module

Are you sure? zip=RJTT



zip=RJOB



I think it works!
  #72  
Old 12-06-2004, 08:31 AM
ryuuchida ryuuchida is offline
Junior Member
 
Join Date: Dec 2004
Posts: 9
Default Re: Weather Module

This works in Japan, alright; I have it on my board. The only problem I have is that some names are just too long and mess up the layout. In particular, the "New Tokyo International Airport" which is 3 lines, is really ugly and hides the date. I wonder why the dates don't automatically move down?
  #73  
Old 12-07-2004, 01:47 PM
Bubbasmurf Bubbasmurf is offline
Junior Member
 
Join Date: Nov 2004
Posts: 14
Thumbs up Re: Weather Module

Thank you I was looking for somthing like this,
easy install.
  #74  
Old 12-08-2004, 02:44 AM
Trevelyn1015 Trevelyn1015 is offline
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default Re: Weather Module

i added my zip code and it still won't open up any kind of weather stuff...

http://www.ranger-forums.com/forum2/home.php
  #75  
Old 12-08-2004, 04:25 AM
memobug memobug is offline
Senior Member
 
Join Date: Aug 2004
Posts: 121
Default Re: Weather Module

Hi there Trevelyn1015. You need to make a test account on your forum if you want help. Anyone who isn't logged in isn't going to see any kind of weather stuff. Also check to make sure you are referencing the right user $bbuserinfo[field#] or you won't get any weather. View the source and see if you see your zip code in the link. If it's not there, it's wrong.

Regards,

Matt
  #76  
Old 12-08-2004, 04:43 AM
memobug memobug is offline
Senior Member
 
Join Date: Aug 2004
Posts: 121
Talking Re: Weather Module

Quote:
Originally Posted by ryuuchida
This works in Japan, alright; I have it on my board. The only problem I have is that some names are just too long and mess up the layout. In particular, the "New Tokyo International Airport" which is 3 lines, is really ugly and hides the date. I wonder why the dates don't automatically move down?
If you install hamweather3 on your server, you can play with the icaos.txt file and rename them if you like, or mess with the templates and use a different font or layout.

No one ever optimized that file. If you think Tokyo aiport is bad, try this one:



inukjuak airport supplementary aviation weather reporting station, Canada
  #77  
Old 12-08-2004, 08:28 AM
Trevelyn1015 Trevelyn1015 is offline
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default Re: Weather Module

Quote:
Originally Posted by memobug
Hi there Trevelyn1015. You need to make a test account on your forum if you want help. Anyone who isn't logged in isn't going to see any kind of weather stuff. Also check to make sure you are referencing the right user $bbuserinfo[field#] or you won't get any weather. View the source and see if you see your zip code in the link. If it's not there, it's wrong.

Regards,

Matt
username: guest
password: password
  #78  
Old 12-08-2004, 08:35 AM
Trevelyn1015 Trevelyn1015 is offline
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default Re: Weather Module

nevermind, now... i got it working
  #79  
Old 12-20-2004, 08:25 AM
Boofo Boofo is offline
Junior Member
 
Join Date: Apr 2004
Posts: 1
Default Re: Weather Module

I just changed servers and it doesn't seem to be working now for some reason. Is there something I need to do?
  #80  
Old 12-20-2004, 11:03 AM
98EXL's Avatar
98EXL 98EXL is offline
www.bwimports.org
 
Join Date: Sep 2004
Posts: 12
Default Re: Weather Module

it's not working for me either........period anymore
__________________
http://www.bwimports.org
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weather Block Module joeychgo Troubleshooting / "How do I..." Questions 6 01-13-2006 04:31 PM
[Suggestion] Option needed when adding module to Homepage bluesteel Feedback & Suggestions 3 05-20-2004 08:34 PM
Weather Add-On Chuckie Add-On Modules & Modifications 0 05-17-2004 05:24 PM


All times are GMT -4. The time now is 01:33 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.