MyBB Community Forums

Full Version: Warn to only use Google Chrome
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need a plugin/script that will tell the user to use chrome / firefox to make the most of my forum.
So I need an "alert" to users who use Internet Explorer..

how can I do?
(2013-02-24, 04:33 PM)both4x060 Wrote: [ -> ]I need a plugin/script that will tell the user to use chrome / firefox to make the most of my forum.
So I need an "alert" to users who use Internet Explorer..

how can I do?

Put this in your header template

	<!--[if IE]>
	<div id="ie-message">Hello, It appears that you are using Internet Explorer, our site works best with <a href="http://www.mozilla.org/en-US/">Mozilla Firefox</a> and <a href="https://www.google.com/intl/en/chrome/browser/">Google Chrome</a> please consider downloading one of these browsers.</div>
<![endif]-->

and add this to your global.css and customise to your liking

#ie-message {
background:#C00;
text-align:center;
border-bottom:1px solid #900;
color: #fff;
position:absolute;
top:0;
padding:5px;
width:100%;
}
thanks bro! works fine Toungue
(2013-02-24, 05:01 PM)both4x060 Wrote: [ -> ]thanks bro! works fine Toungue

You're welcome Smile