Quote:
Originally Posted by ivanp
Nice mod
I suggest changing the hook to "init_startup" to be able to replace default mobile browser detection in init.php with:
Code:
if($vbulletin->options['bop5_mob_detect'])
{
$mobile_browser = $vbulletin->detect->isMobile();
if($mobile_browser && $vbulletin->detect->isTablet()) $mobile_browser = false;
$mobile_browser_advanced = $mobile_browser;
}
That way tablets will not be considered as mobile devices, thus not being served mobile style as default style.
|
Can you explain how to implement this? Which files i have to modify?
Thanks.