WXforum.net

Weather Software => Meteohub/Meteobridge => Topic started by: gazn357 on January 18, 2014, 02:14:37 PM

Title: Meteobridge and Saratoga templates - need help
Post by: gazn357 on January 18, 2014, 02:14:37 PM
I had setup the Saratoga Templates for WL last year, but struggling a bit with same for Meteobridge.  Any help would be appreciated.

Three problems...

1.) Under Weather Trends, Records and Stats fields are empty. MBtags.php seems to be updating.

     See  http://www.atxwx.net/wx/MBtags.php?sce=dump

2.) Under dashboard Outlook and Forecast areas, it says Sunny Sunny or Clear Clear.  Thinking there should be an icon graphic there and then the word Sunny or Clear.

3.) Realtime updates stops after about a minute.  Get a message saying "Update paused - reload page to start"  Normal?  Wunderground and MBtags.php sees to be updating.  HTTP push issue?   Meteobridge Live Data page shows Success! under Weather Network Status section.   (Hosting on GoDaddy.com)

Thanks,
Danny
Title: Re: Meteobridge and Saratoga templates - need help
Post by: saratogaWX on January 18, 2014, 03:55:20 PM
Hi Danny,

Your site is missing the MB-defs.php file (necessary to convert MB variable names to the WD names used by the template).
Extract a copy of MB-defs.php from the MB-plugin.zip distribution and upload it to your ./wx/ directory.

You are also missing ./wx/forecast/images/* on your site.  Download the carterlake-icons.zip from my install page,
unzip it (preserving directory structure) into the ./wx/ directory and upload it to your site.  That will fix the forecast images issue.

The realtime is controlled by ajaxMBwx.js script .. the default of:

var maxupdates = 20;            // Maxium Number of updates allowed (set to zero for unlimited)
                             // maxupdates * reloadTime / 1000 = number of seconds to update

will cause it to time-out after 20 updates.  To turn off the timeout, set it to

var maxupdates = 0;            // Maxium Number of updates allowed (set to zero for unlimited)
                             // maxupdates * reloadTime / 1000 = number of seconds to update

Hope this helps...

Best regards,
Ken
Title: Re: Meteobridge and Saratoga templates - need help
Post by: gazn357 on January 18, 2014, 05:36:01 PM
Thanks Ken, that took care of it. 

Danny