Update Notifier

Talk about new features for CMSMS and modules.
Post Reply
Daniel
Forum Members
Forum Members
Posts: 20
Joined: Fri Apr 14, 2006 7:47 pm

Update Notifier

Post by Daniel »

I may have missed this function... but in case I haven't, here's the idea:

The notification area on the front admin page would be used to show if a new version of CMSms was available, by calling an ini file from the cmsmadesimple server - all it need contain would be a version number for the current version.  Then implode the file by '', and check the current installed version against it.  Basically,

Code: Select all

$version = implode('', file('http://www.cmsmadesimple.org/version.ini'));
if ($CMS_VERSION < $version) {
echo "Your CMSms isn't up to date!";
}
...you get the idea :P

I'm only suggesting it as I've just realised I missed two updates... ah well.

Daniel
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Update Notifier

Post by Ted »

I've thought about this in the past.  There are 2 problems that I see.

1. file doesn't always necessarily have the ability to get a URL on.  That's a formality, though... you can easily open a socket and do it.
2. People could think it's a privacy issue.  I've never asked our little community here, so i'm not sure what the group consensus would be...
Daniel
Forum Members
Forum Members
Posts: 20
Joined: Fri Apr 14, 2006 7:47 pm

Re: Update Notifier

Post by Daniel »

Hmm... how about an opt-in option, as in disabled by default, or a plugin?

I would code a plugin myself but I can't say I'm sure about the way the plugin system works and the file would need to be updated officially - like I said, I've missed updates before.

Daniel
cyberman

Re: Update Notifier

Post by cyberman »

Think it's a nice feature for admin area (footer) and should be included per default :).
Last edited by cyberman on Tue May 29, 2007 12:47 pm, edited 1 time in total.
Post Reply

Return to “Feature ideas”