Forum Activity

Forum feed

WeatherCenter Module Fix  Top

Goto page: [-1] 1 - 2 - 3 - 4 - 5

  • 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
  • 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.
  • 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.
  • 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
  • I did set the time to 60 secs. Still having problems. See my email I sent to you.

    I really appreciate your help.
  • 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
  • ccm111

    OK!I have improved for you.
    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?

    OOPS! Just missed your post above! I will have another look
  • 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

This list is based on the users active over the last 60 minutes.