Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Torn off update notice...
#1
Shocked 
Hi there!
When a new version of GS is available there is an updatenotice in the form of an exclamation mark on a yellow background. Does anyone know how to turn off this functionality? I don't want to update finished projects for my clients since there might be problems with plugins etc.
But my clients freak out thinking something is seriously wrong... Confused

Best, Niklas
Reply
#2
No way to turn it off, you can probably install the custom css plugin and hide the css.

Of course you can edit the core files and remove this entirely.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Thanks Shawn!
Where do I find it in the source code?
Do you know?

Niklas
Reply
#4
(2012-11-21, 07:36:57)widecircle Wrote: Thanks Shawn!
Where do I find it in the source code?
Do you know?

Niklas

In v3.1.2, if you goto "admin/template/header.php", at lines 43-57 you should see:
PHP Code:
    <script>
        
// check to see if core update is needed
        
jQuery(document).ready(function() { 
            <?
php $json get_api_details();    if ($json != '') { ?>
                var obj = jQuery.parseJSON('<?php echo $json?>');
                if(obj.status != 1) {
                    $('a.support').parent('li').append('<span class="warning">!</span>');
                    $('a.support').attr('href', 'health-check.php');
                }
            <?php  ?>
        });
    </script> 
change to...
PHP Code:
    <!--<script>
        
// check to see if core update is needed
        
jQuery(document).ready(function() { 
            <?
php $json get_api_details();    if ($json != '') { ?>
                var obj = jQuery.parseJSON('<?php echo $json?>');
                if(obj.status != 1) {
                    $('a.support').parent('li').append('<span class="warning">!</span>');
                    $('a.support').attr('href', 'health-check.php');
                }
            <?php  ?>
        });
    </script>--> 


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#5
header.php
PHP Code:
                if(verstatus != 1) {
                    $(
'a.support').parent('li').append('<span class="warning">!</span>');
                    $(
'a.support').attr('href''health-check.php');
                } 

Just comment that out or add your own variable or whatnot.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
Or remove the whole // check to see if core update is needed
block as above.

hehe same time posted.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)