Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

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

Bottom
WeatherCenter Module Fix
  • Posted: 02.10.2003, 21:08
     
    ccm111
    rank:
    Helper Helper
    registered:
     September 2003
    Status:
    offline
    last visit:
    03.01.05
    Posts:
    202
    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
  • Posted: 02.10.2003, 21:35
     
    brammerv
    rank:
    Helper Helper
    registered:
     June 2003
    Status:
    offline
    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.
  • Posted: 03.10.2003, 17:30
     
    brammerv
    rank:
    Helper Helper
    registered:
     June 2003
    Status:
    offline
    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.
  • Posted: 03.10.2003, 18:08
     
    ccm111
    rank:
    Helper Helper
    registered:
     September 2003
    Status:
    offline
    last visit:
    03.01.05
    Posts:
    202
    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
  • Posted: 03.10.2003, 18:27
     
    brammerv
    rank:
    Helper Helper
    registered:
     June 2003
    Status:
    offline
    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.
  • Posted: 04.10.2003, 11:25
     
    ccm111
    rank:
    Helper Helper
    registered:
     September 2003
    Status:
    offline
    last visit:
    03.01.05
    Posts:
    202
    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
  • Posted: 04.10.2003, 13:16
     
    britdude
    rank:
    Helper Helper
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.02.06
    Posts:
    109

    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
  • Posted: 04.10.2003, 16:36
     
    ccm111
    rank:
    Helper Helper
    registered:
     September 2003
    Status:
    offline
    last visit:
    03.01.05
    Posts:
    202
    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

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula