Back to vBulletin 4.x Template Modifications

Warn users with IE6
Mod Version: 1.00, by boydy

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 18
Released: 13 Jul 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

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 ->
Code:
<!-- 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 for future updates and support!

Boydy

Download

No files for download.

Screenshots

Click image for larger version
Name:	1310576897.png
Views:	293
Size:	26.5 KB
ID:	130990  


vblts.ru supports vBulletin®, 2022-2024