Requests | Blesta

Requests

Outdated Browser Notification

ewh shared this idea 7 years ago
Under Consideration

Believe it or not, many clients still use outdated browsers and it would be nice to have a quick check appear somewhere within Blesta to either let them know their browser is outdated and should be updated or stop them from using any areas of the site until they upgrade. I think it would be great to help protect them and to cut down on confusion to those less educated about staying up to date.

Comments (3)

photo
2

I use this:

  1. <?php if (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT'])) { ?>
  2. <div id="topbar">
  3. <p>Warning: You are using an outdated browser, please note our website might not be shown in all it's beauty. We recommend you upgrade to a updated version, or either Safari or Chrome.</p>
  4. </div>
  5. <?php } ?>

photo
1

Are you putting this in the structure.pdt file before </head> ?

photo
1

I sure am.

photo