MyBB Community Forums

Full Version: other theme if user has IE browser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how make automatic change theme if user has e.g. IE browser?

and how make link change theme?
This is what is done on these forums:

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="http://mybboard.net/assets/screen_ie.css" />
<![endif]--> 
<!--[if lt IE 7]>
<script defer type="text/javascript" src="http://mybboard.net/assets/pngfix.js"></script>
<![endif]--> 

Is this what you mean??
(2009-07-11, 12:47 PM)MattRogowski Wrote: [ -> ]Is this what you mean??
No, on forum change the templates and CSS(that is the whole theme)
Anyone ever find a way to do this?
[self-promotion]
http://mods.mybb.com/view/ua-theme
[/self-promotion]

That'll let you show a different theme to people with a certain browser. It's also useful for mobile themes (which is what I originally made it for).