Hello BOP5,
I have installed this plugin and want to make use it such that for tablets I want to show the users desktop style.
The desktop style id is 16 and I used the below plugin
Product: vbulletin
Hook Location : style_fetch
Code:
global $vbulletin;
$tabstyle = 16; //Set this to the id of your mobile style
if($vbulletin->detect->isTablet())
{
$styleid = $tabstyle;
$_REQUEST['styleid'] = $tabstyle;
$vbulletin->GPC['styleid'] = $tabstyle;
}
But it is not working as intended i.e it is showing the mobile style in tablets too.
But I want to show the desktop style in tablets, How do I fix this. Thanks in advance.