Page 1 of 1

Weather

PostPosted: Tue May 01, 2007 9:10 pm
Author: .QUACK.Major.Pain
Could get anyone who had a weather mod who knew if it worked with 141, so I created a page with all our clan members and created blocks for different areas. We all have access to our own weather module and can compare weather to our other members area. Haven't got everyone location yet so some of the blocks haven't been completed yet.

You can check it out here: http://www.aaquacks.com/forum/portal.php?page=6

Re: Weather

PostPosted: Mon May 07, 2007 4:26 am
Author: BMD
Major

I have a weather thing that i worked out on my site that calls up the weather for my user's zipcode

it should work on 141 too i expect...... I have the steps to add it in posted on here somewhere.... let me find it and give you the link

Doug

Re: Weather

PostPosted: Mon May 07, 2007 4:30 am
Author: BMD
Major

here ir is

:la:

for non-registered users it shows my weater for the zipcode i set to default

Re: Weather

PostPosted: Mon May 07, 2007 2:28 pm
Author: .QUACK.Major.Pain
if (isset($_COOKIE["YOUR FORUM COOKIE NAME_sid"])) {
$weathercookie = $_COOKIE["YOUR_COOKIE_NAME_sid"];
}
$server = "mysql.YOUR_SITE.com";
$user = "YOUR_ACCOUNT_NAME";
$password = "YOUR_PASSWORD";
$database = "YOUR_DATABASE";


I'll give it a try. Not sure on some of the above.

YOUR FORUM COOKIE NAME_sid - ???
YOUR_COOKIE_NAME - ???
mysql.YOUR_SITE.com = mysql.aaquacks.com or mysql.aaquacks.com/forum??? (our forum in forum folder)
YOUR_ACCOUNT_NAME = my forum account name???
YOUR_PASSWORD = my forum password???
YOUR_DATABASE = my database name

I think I have most of it right. Not sure about the cookie part though.

Also I am in Canada and your zip code setup says set to 5. I set to 6. I hope this will work.

Re: Weather

PostPosted: Mon May 07, 2007 3:00 pm
Author: .QUACK.Major.Pain
I found in ACP>General Admin>Configuration - cookie name
Does this go line one or two? Are line one and two the same?

I just forgot my database password and can't figure on how to find it out. LOL
Asking support to help me out on this.

Re: Weather

PostPosted: Wed May 16, 2007 2:27 pm
Author: .QUACK.Major.Pain
Apparently this is no good for anyone other than those in the US

PostPosted: Wed May 16, 2007 4:01 pm
Author: IntegraMOD
Have a look here http://www.wunderground.com/geo/BannerP ... 03215.html
You can get a weather sticker and then paste in into a block.

Re: Weather

PostPosted: Wed May 16, 2007 4:06 pm
Author: .QUACK.Major.Pain
Looking for something that adjusts to the users location. Perfered Canada and US. Also others if available.

PostPosted: Wed May 16, 2007 4:19 pm
Author: IntegraMOD