Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Custom Weather Mod V3 Final SP1.3.1 (Read 9176 times)
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Custom Weather Mod V3 Final SP1.3.1
Jun 14th, 2004 at 10:24am
Print Post  
This Mod: place a dynamically generated weather image ( weather center) on your YaBB Forum - Info Center, it  allows  registered users to enter an ICAO  number or zip code and have the current weather and 4-day forecast display on the info center and profile page. Guests see nothing and users that enter an invalid code or no code see -No City Selected-.

If you want to change the background colors and fonts open Boardindex.pl - Profile.pl and change :

$wetbackbg = "FFFFFF";             # weather Background color
$wetfontcolor = "000000";             # weather text font color



Installation:


1) Modify YaBB files using BoardMod or manually.

2) Upload modified files to your server in ASCII mode.

Files modified: 5

- AdminEdit.pl
- Admin.pl
- Profile.pl
- BoardIndex.pl
- English.lng

3) Upload glove.gif to your YaBBImages folder (in binary mode)  (for example: YabbImages/glove.gif)

4) Upload the weather folder with all the .htm files to your YaBBImages folder (for example: YabbImages/weather)

- New in version 3.0 -
- Fixed bug in view profile page where the link to the weather page was showing when no weather was selected.
- Improved code in viewprofile
- Compatible with the membermap mod
- Added weather support  for Australia , UK , Canada ,  Norway , Netherlands , Denmark,  Germany , Russia , Brazil , Austria , Belgium , France , Sweden , Switzerland   and Italy... More to come soon (addons)


- Upgrading from previous version 2.0
only 3 files were changed in version 3 Profile.pl, Boardindex.pl and English.ing

NOTICE: By placing this mod on your board, you agree to preserve an attached link to addresses.com or weatherrom.com forecast information.

I  am not responsible for inaccuracies in data or delays in propagating weather forecast information via this mod.

Use at your own risk.


Screenshot : Here


Test the mod Here

Username : test
Pass : test
« Last Edit: Jun 30th, 2004 at 10:23pm by xtrasweetgirl »  

Custom_Weather_ModV3Final.zip ( 33 KB | Downloads )
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Custom Weather Mod
Reply #1 - Jun 14th, 2004 at 9:59pm
Print Post  
Attached is updated file, using unix linebreaks - I don't know if it makes a difference, but it's worth a shot...

http://romy90210.netfirms.com/cgi-bin/yabb/YaBB.pl?board=test2;action=display;nu...
  

Loony-Custom_Weather_Mod.zip ( 2 KB | Downloads )

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #2 - Jun 14th, 2004 at 11:30pm
Print Post  
New attached file should fix the install problem with boardmod. If you still get an error just close the lil box and boardmod will install it anyway.
  
Back to top
 
IP Logged
 
Richard A Seijas
New Member
*
Offline


I love Me

Posts: 25
Location: Daytona Beach
Joined: Jun 4th, 2004
Gender: Male
Re: Custom Weather Mod
Reply #3 - Jun 15th, 2004 at 4:33am
Print Post  
I can't beleive that you build this MOD in less then a day  and it looks so perfect to   Smiley
  
Back to top
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Custom Weather Mod
Reply #4 - Jun 15th, 2004 at 4:03pm
Print Post  
Attached is a file that works with boardmod, it doesn't give that error 15 anymore - however step 8 fails for me, I'll leave that one for you to work out Wink

I have no idea why it wasn't working before, no characters that could cause that, invisible, or not - I fixed it in the end by putting the info from your mod, into a known working .mod file.
  

Loony2-Custom_Weather_Mod.zip ( 2 KB | Downloads )

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #5 - Jun 15th, 2004 at 4:31pm
Print Post  
LoonyPandora wrote on Jun 15th, 2004 at 4:03pm:
Attached is a file that works with boardmod, it doesn't give that error 15 anymore - however step 8 fails for me, I'll leave that one for you to work out Wink

I have no idea why it wasn't working before, no characters that could cause that, invisible, or not - I fixed it in the end by putting the info from your mod, into a known working .mod file.


Thank you so much Grin.... It works perfectly now. I fixed step 8 tho..   Download from  first  post.
  
Back to top
 
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #6 - Jun 19th, 2004 at 4:09pm
Print Post  
I have this mod installed and it seems to be working for some of the users. Only some of the users have the option to enter a city  name or zip code through their profile. Any ideas?


  

weather3.JPG ( 42 KB | Downloads )
weather3.JPG
Back to top
YIM  
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #7 - Jun 19th, 2004 at 6:28pm
Print Post  
Yeah this  mod  and membermap  dont get along.. Can you attact your profile.pl to this post?
  
Back to top
 
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #8 - Jun 19th, 2004 at 8:23pm
Print Post  
If the member doesn't have their "pin" on the members map, the option does not show in the profile.
  

wprofile.txt ( 75 KB | Downloads )
Back to top
YIM  
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #9 - Jun 19th, 2004 at 9:20pm
Print Post  
ok i fixed the problem.. by removing the input lines in modify profile to a different line.. Same in view profile, i also  added some </tr><tr> tags you were missing (messing up your profile). Wink
  

SweetEmotionsprofile.zip ( 34 KB | Downloads )
Back to top
 
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #10 - Jun 19th, 2004 at 9:28pm
Print Post  
Thank you xtrasweetgirl .. Smiley .. it works perfectly .. and thank you for the "extra" fixes too ..  Cheesy
  
Back to top
YIM  
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #11 - Jun 20th, 2004 at 12:28am
Print Post  
xtrasweetgirl .. is this feature only available for people in the US? .. I have some users from Canada and the UK who aren't able to use this .. as it says its unavailable
  
Back to top
YIM  
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #12 - Jun 20th, 2004 at 1:15am
Print Post  
SweetEmotions wrote on Jun 20th, 2004 at 12:28am:
xtrasweetgirl .. is this feature only available for people in the US? .. I have some users from Canada and the UK who aren't able to use this .. as it says its unavailable



Since Canada/UK and the  rest of Europe dont use zip codes like you guys do in the States.. This weather service uses what they called  ICAO number for cities/towns locations out of the USA.. For example,  at my site i use CYXU for London, Ontario Canada.. CYXU its the assigned ICAO for my city..

I am gonna write an addon tonight.. A drop down list with all the cities listed and ICAO numbers..  Wink
  
Back to top
 
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #13 - Jun 20th, 2004 at 1:23am
Print Post  
thanks again xtrasweetgirl .. we are lovin this mod at my site .. Smiley
  
Back to top
YIM  
IP Logged
 
SweetEmotions
New Member
*
Offline



Posts: 47
Joined: Sep 15th, 2002
Gender: Female
Re: Custom Weather Mod
Reply #14 - Jun 23rd, 2004 at 1:27pm
Print Post  
xtrasweetgirl .. any luck with this add on yet?
  
Back to top
YIM  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint