PDA

View Full Version : Mini Mods - Warn users with IE6


boydy
07-12-2011, 10:00 PM
Hi guys,

This is an extremley simple mod to install, if a user visits your forum using IE6 a message block will appear at the head of the page containing a warning with links to up-to-date browsers.

Step 1 - Open Template -> headinclude

Step 2 - Add to top -> <!-- IE6 Warning -->
<!--[if IE 6]>
<style>#ie6-warning{background:#F00; margin-bottom:5px; padding:4px; width:100%; font-size:12px; color:#FFF;}#ie6-warning a{color:#FF6; font-weight:bold;}</style>
<div id="ie6-warning" class="warning-box">
<strong>Warning!</strong> You're running <strong>Internet Explorer 6</strong>.
<p>Our forums are best viewed in an up-to-date browser, please download the one of the following,</p><p> <a href="http://firefox.com" title="Mozilla Firefox">Mozilla Firefox</a>.<br /> <a href="http://www.google.com/chrome/" title="Google Chrome">Google Chrome</a>.<br /> <a href="http://apple.com/safari/" title="Safari">Safari</a>.<br /> <a href="http://opera.com" title="Opera Web Browser">Opera</a>.</p><p> If you insist on using IE please download the latest version, <a href="http://www.microsoft.com/windows/internet-explorer/" title="Internet Explorer">here</a>.</p>
</div><![endif]-->
<!-- IE6 Warning End -->

And that's it! All done, demo is in the screenshot below, i have tested it using ietester and it works fine for me on 4.x.x.

Enjoy! And please remember to mark as installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=266748)for future updates and support!

Boydy

alghzil
05-15-2012, 01:40 PM
tag for later