I have a client who needs to moderate his forum from his Blackberry, so I needed to hide this style from him specifically.
I went into the plugin manager and opened up "Detect Mobile Device and Assign Style"
I changed the bottom if statements accordingly:
Code:
if ($mobile==1 && $vbulletin->userinfo['userid'] != 27462)
{
// echo "<!-- Mobile Device -->";
$styleid=$vbulletin->options['mobile_skin'];
}
else if($mobile==1 && $vbulletin->userinfo['userid'] == 27462)
{
$styleid=1;
$vbulletin->options['styleid'] = $styleid;
}
else if ($pda==1 && $vbulletin->userinfo['userid'] != 27462)
{
// echo "<!-- PDA Device -->";
$styleid=$vbulletin->options['pda_skin'];
}
else if ($pda==1 && $vbulletin->userinfo['userid'] == 27462)
{
$styleid=1;
$vbulletin->options['styleid'] = $styleid;
}
else if ($ipod==1 && $vbulletin->userinfo['userid'] != 27462)
{
// echo "<!-- IPOD Device -->";
$styleid=$vbulletin->options['ipod_skin'];
}
else if ($custom1==1 && $vbulletin->userinfo['userid'] != 27462)
{
// echo "<!-- CUSTOM1 Device -->";
$styleid=$vbulletin->options['custom1_skin'];
}
And it works great! Thanks, and I hope this helps someone else.