the code in pnuserapi.php in line 686 . change 5 to 20 to fit the hot weather.
the load time setting also in pnuserapi.php .something like xxxx(xxx,80,xx,xx,30).
--
modules&blocks downloads
- shyra posted »MenuTree Mystery« 19:50h
- dks answered »include a file« 18:22h
- dks answered ».764 -> 1.1.1, Can't add new blocks« 17:33h
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 17:24h
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 15:02h
- Charlie-otb answered »SafeHTML output filter and youtube« 10:02h
- dl7und answered »Adding an "About Us" page« 03:34h
Login
WeatherCenter Module Fix
Goto page: [-1] 1 - 2 - 3 - 4 - 5
-
-
- Rank: Helper
- Registered: 17.06.03
- last visit: 01.02.06
- Posts: 111
Thanks, I'll try these in a little bit. I have to go for a couple of hours. Got a doctor's appointment. I'll check in with you later. BTY, your English is a lot better than my Chinese...LOL. -
- Rank: Helper
- Registered: 17.06.03
- last visit: 01.02.06
- Posts: 111
OK Peter, I changed the $Temp. Not sure what that changed....Anyway, there is still something wrong with this module. It works better than the others I've used but it still comes up with blank data and missing images a few times a day. I can dump the cache table and go to the site and the module works until the next time the cache expires. Do you ever have problems with this module. If not, I wonder what might be different between our site. We're both running 723. Which version of MySQL are you running. The problem is either with the data recieved from MSNBC of with the data being written to the cache table in MySQL. -
- Rank: Helper
- Registered: 12.09.03
- last visit: 27.06.09
- Posts: 201
5-3=2,but 100F has three characters,so the reasion.20 is no ploplem.
the module working in mysite is very good.my cachetime set to three hours.the focus is the efficiency of internet connecting to msnbc.If the ploplems is offen.you can set load timeout to 60sec.
--
modules&blocks downloads -
- Rank: Helper
- Registered: 17.06.03
- last visit: 01.02.06
- Posts: 111
I did set the time to 60 secs. Still having problems. See my email I sent to you.
I really appreciate your help. -
- Rank: Helper
- Registered: 12.09.03
- last visit: 27.06.09
- Posts: 201
I've fix two more ploplems.this time you can test 10 cities to see if it's working normally.BTW the cachetime is not the only vars it check,it will check the database for renew which has bugs in this function(now I fixed).you only need replace the pnuserapi.php file whith is now in new zipfile(weather1.28) in my site.
--
modules&blocks downloads -
- Rank: Helper
- Registered: 12.12.02
- last visit: 10.02.06
- Posts: 109
Hi ccm111 - I downloaded a copy of WC1.28 from your site, One thought here, this doesn't cater for the new code format, for example to add a new town you woul need to add a code like UKXX0257, your copy does not allow for this number of digits? There was a hack around to extend the table functions?ccm111
OK!I have improved for you.
OOPS! Just missed your post above! I will have another look -
- Rank: Helper
- Registered: 12.09.03
- last visit: 27.06.09
- Posts: 201
you should mannully add the city accid witch can find at msnbc.the accid table allready set to 9 characters.so no ploplem
--
modules&blocks downloads
Goto page: [-1] 1 - 2 - 3 - 4 - 5
- Moderated by :
- Support
