[BETA] - Custom User Weather

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
User avatar
scanman20
Registered User
Posts: 157
Joined: Tue Oct 01, 2002 8:23 pm
Contact:

[BETA] - Custom User Weather

Post by scanman20 »

Ok while I await the approval from the mod database, I'm releasing the Custom Weather Mod to anyone that wants to try it AT THEIR OWN RISK.

This mod allows a registered user to select a city (over 10,000 to choose from) and have the current weather and 5-day forecast display on the main phpbb page. Guests see nothing and users that enter an invalid code or no code see -No City Selected-.

The original thread for this topic was at http://www.phpbb.com/phpBB/viewtopic.php?t=51001

a) Backup any files that are modified before using this.
b) This mod works with both a clean 2.0.3 install and a modded 2.0.3 install however I can't guarantee that it will work for everyone. I have not personally tested it on anything less than 2.0.3.
c) If this mod somehow manages to kill your entire board (unlikely) it's your own fault. Don't come crying to me. Post any problems and we'll try and help you.
d) Positive feedback is appreciated. Negative feedback is tolerated. :wink:

Download Here (~130k)
surtin3xposed
Registered User
Posts: 154
Joined: Sat Aug 10, 2002 10:40 am
Location: Chicago, IL
Contact:

Post by surtin3xposed »

Works great for me, but I'm trying to put it on a portal page and I want it in the center but it stretches out the table... I tried some basic html but I can't quite make it so it doesn't mess up the tables...
User avatar
scanman20
Registered User
Posts: 157
Joined: Tue Oct 01, 2002 8:23 pm
Contact:

Post by scanman20 »

URL?
MJ
Registered User
Posts: 180
Joined: Thu Jan 03, 2002 10:20 pm
Contact:

Post by MJ »

Just installed this :wink: and can't get a user weather to show on the index....database is writing fine and showing what city selected when returning to the profile, just "-No City Selected-" one the index.....

any ideas???
User avatar
Chris3000
Registered User
Posts: 34
Joined: Fri Oct 18, 2002 1:10 am
Location: onthegrind.com

Post by Chris3000 »

i installed this, its just..............big! 8O

cool mod tho, I tried to put it on my portal page as well, but to no avail.

Im trying to resize it, but fuck my brain is fried I been messing with php 18 hours straight
Bummer
I am too lazy to register

Post by Bummer »

This is the best I could come up with for control of the fonts. The rest is controlled by cnn:

Code: Select all

/* Rel Humidity (etc.), Note, and Weekday text - SIZE only */
/* Weekday, Note and WORDS (Overcast, Fog, Rain, etc.) text - COLOR only */

.cnnBodyText { 
	font-size : 12px;
	color : #999999;
}


/* Background color, City and Current Temperature (BIG) text - COLOR only */

BODY {
	background-color: #FFFFFF;
	color: #FFFFFF;	
	margin: 2px 2px 10px 2px;
}


/* Weekday High and Low TEMPERATURES - size, color, and font */

.cnnTempHi {
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #CC0000;
}

.cnnTempLo {
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #0066CC;
}

User avatar
scanman20
Registered User
Posts: 157
Joined: Tue Oct 01, 2002 8:23 pm
Contact:

Post by scanman20 »

bump for the new year.

anyone still interested in this?
MJ
Registered User
Posts: 180
Joined: Thu Jan 03, 2002 10:20 pm
Contact:

Post by MJ »

Yeah, if only it would work!!!! :(

I must have re-installed at least 50 times without any success....shame, nice MOD ;)
User avatar
scanman20
Registered User
Posts: 157
Joined: Tue Oct 01, 2002 8:23 pm
Contact:

Post by scanman20 »

It does work. You must have a mod that conflicts with it. I have several users who have contacted me to let me know it works, plus I've personally installed it on clean phpbb installs at least a dozen times to test it.
MJ
Registered User
Posts: 180
Joined: Thu Jan 03, 2002 10:20 pm
Contact:

Post by MJ »

Yeah, I didnt say it didnt work!! I've seen it working too......just can't work out what it's conflicting with :(
pikablu925
Registered User
Posts: 25
Joined: Wed Aug 14, 2002 12:29 am

Post by pikablu925 »

is there any way to put this in my privmsgs.php? (don't ask why)
User avatar
b_easton
Registered User
Posts: 13
Joined: Wed Jan 15, 2003 6:04 pm
Location: Sacramento, CA USA

Post by b_easton »

This MOD works great! Turned out really nice. Does anyone know if (and/or how easy it might be), to also put the weather on the index page so visitors or guest can see the local report as well?

I would like to have any visitors that come to the my main forum, be able to see the local weather for my area.

Any ideas?

Thank you in advance.
saif
Registered User
Posts: 48
Joined: Fri Jan 31, 2003 4:30 pm
Location: pakistan
Contact:

fear if it will work on phpbb 2.02

Post by saif »

i fear if it will work properly on phpbb2.0.2 or not
any one ve experince?
saif
-=harry=-
Registered User
Posts: 80
Joined: Mon Dec 02, 2002 1:44 pm

Post by -=harry=- »

what about canadian cities??
-=harry=-
Registered User
Posts: 80
Joined: Mon Dec 02, 2002 1:44 pm

Post by -=harry=- »

nm... lol
great mod though.
i'm sure cnn doesn't mind.
check out my install on portal and tell me what you think.
http://www.hotchson.com
you'll have to make an account obviously... it only takes a second, no email verif.
only prob I have is that when user doesn't fill in city field the tables on the portal are f^<t up... but i'll figure it out
Post Reply

Return to “[2.0.x] MODs in Development”