• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Doppler

Doppler 1.1

No permission to download
Shows a Doppler image in forum sidebar.

AndyB

Well-known member
#1
Recommended Cron Job:

I suggest creating a Cron so the NOAA Doppler image is copied every 5 minutes to your server. That way your forum list will load faster. This Cron would be created on your server.

Example of a PHP file you would call from your servers Cron.

PHP:
<?php

// define dopplerUrl
$dopplerUrl = 'http://radar.weather.gov/lite/N0R/MUX_loop.gif';

// define dopplerPath
$dopplerPath = '/home/southbay/www/misc/doppler.gif';

// copy remote image to server
copy($dopplerUrl, $dopplerPath);
 
Last edited:
#3
When I put the link in the local field, it worked...
When it was in the remote, it showed broken image...

How do I remove Large View Text??

Thanks for addon
 

WCFA

Active member
#4
Our site covers the westcoast will this work covering that large of an area?
Our outdoor niche could use this information but would need a regional areas like the whole west coast.
 
#6
For the first line of the template code, I had to change this:
Code:
<xen:if is="{$visitor.permissions.sidebarExtraThreeGroupID.sidebarExtraThreeID}">
To this:
Code:
<xen:if is="{$visitor.permissions.sidebarExtraOneGroupID.sidebarExtraOneID}">
After that little edit, all was well. :)
 
#7
Recommended Cron Job:

I suggest creating a Cron so the NOAA Doppler image is copied every 5 minutes to your server. That way your forum list will load faster. This Cron would be created on your server.

Example of a PHP file you would call from your servers Cron.

PHP:
<?php

// define dopplerUrl
$dopplerUrl = 'http://radar.weather.gov/lite/N0R/MUX_loop.gif';

// define dopplerPath
$dopplerPath = '/home/southbay/www/misc/doppler.gif';

// copy remote image to server
copy($dopplerUrl, $dopplerPath);
Can this be done from the AdminCP under Cron Entries? The options for that are kind of confusing.