Hello!
I've just released the first version of UpdateCheck for CMSimple_XH.
UpdateCheck is a backend-plugin for CMSimple_XH.
It checks, if a newer version of CMSimple_XH or a installed plugin is available and shows the results in a clearly overview.
This overview contains download-links and marks critical updates which should be installed as soon as possible.
UpdateCheck works only with CMSimple_XH. Other variants / forks are not compatible with this Plugin!
Download: http://cmsimple.holgerirmler.de/en/?Plugins:UpdateCheck
Holger
[New Plugin] UpdateCheck
Moderator: Tata
Re: [New Plugin] UpdateCheck
Thanks for very useful plugin!
Found conflict with (old) lightbox 2.04. script (<script type="text/javascript" src="js/prototype.js"></script>) which will cause continuous check of updates.
Found conflict with (old) lightbox 2.04. script (<script type="text/javascript" src="js/prototype.js"></script>) which will cause continuous check of updates.
Re: [New Plugin] UpdateCheck
Some changes have to be made to stay compatible with prototype.js (or other JS frameworks which use the $ identifier). In plugins/hi_updatecheck/admin.php line 61 and 184:
In plugins/hi_updatecheck/updatecheck.php line 151ff:
To avoid incompatibilities with other plugins, you may have to include prototype.js like so:
Code: Select all
jQuery(document).ready(function($){
Code: Select all
error: function() {
jQuery(\'#upd_' . $pluginname . '_loading\').css(\'display\',\'none\');
jQuery(\'#upd_' . $pluginname . '_Info\').html(\'Sorry, a problem has occurred while checking ' . $pluginname . '.\');
},
success: function(msg){
jQuery(\'#upd_' . $pluginname . '_Info\').html(msg);
jQuery(\'#upd_' . $pluginname . '_loading\').css(\'display\',\'none\');
}
Code: Select all
<script type="text/javascript">if (typeof jQuery != "undefined") jQuery.noConflict()</script>
<script type="text/javascript" src="js/prototype.js"></script>
Last edited by cmb on Fri May 31, 2013 10:52 am, edited 1 time in total.
Reason: fixed jQuery.noConflict() line
Reason: fixed jQuery.noConflict() line
Christoph M. Becker – Plugins for CMSimple_XH
Re: [New Plugin] UpdateCheck
Thanks, working!