2010-06-27, 09:36 AM
(This post was last modified: 2010-06-27, 09:55 AM by Polarbear541.)
Hello everyone! It's been a long time since I last created a plugin for MyBB. This one I'm a bit surprised I haven't seen yet (or perhaps I just didn't look hard enough) so I spent a couple of hours to make it.
What is it? A plugin that allows user-agent-specific theme overrides. This means that you can have your guests viewing the site on, say, a mobile browser see it in a theme that is best suited for their device.
It is based on regexes, so you have a great deal of control over what browsers get what theme. If a browser doesn't have a theme override, it just goes back to normal theme loading mode.
Note that it will use a theme even if a user normally isn't able to even see it.
I've included some common regexes in the readme file, so don't worry if you don't know how to do them.
Link: http://mods.mybboard.net/view/ua-theme (put in by polar)
What is it? A plugin that allows user-agent-specific theme overrides. This means that you can have your guests viewing the site on, say, a mobile browser see it in a theme that is best suited for their device.
It is based on regexes, so you have a great deal of control over what browsers get what theme. If a browser doesn't have a theme override, it just goes back to normal theme loading mode.
Note that it will use a theme even if a user normally isn't able to even see it.
I've included some common regexes in the readme file, so don't worry if you don't know how to do them.
Link: http://mods.mybboard.net/view/ua-theme (put in by polar)