sweede |
03-17-2007 12:43 PM |
I added this to my site without any issues.
I added
HTML Code:
<form action="$vboptions[forumhome].php" method="get">
<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<if condition="$show['quickchooser']">
<tr><td><select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select></td></tr></if>
</table>
</form>
To the footer template for the chooser in the bottom of the page and then I added
PHP Code:
if ($_SERVER['HTTP_UA_PIXELS']) {
$_POST['styleid'] = 14;
define('STYLEID', 14);
$vbulletin->userinfo['styleid'] = 14;
$styleid = 14;
}
to the top of the global.php file right before the init.php include so that it forces my Windows CE device to use the Lite style (which is style ID 14, you will have to change your style accordingly.)
|