The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
How could I disable Default Mobile style on Tablets & iPad? Tablets are plenty large enough to view the full site without needing the mobile design. I'd like to remove the mobile accessibility feature from these gadgets. I found the mobile redirection call in the includes/init.php file specifically the below Code:
if (
$mobile_browser
AND
preg_match('/(ipad|ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|Windows Phone OS|htc)/i', strtolower($_SERVER['HTTP_USER_AGENT']))
)
{
$mobile_browser_advanced = true;
}
Thanks in advance, |
|
#2
|
|||
|
|||
|
Haven't tried this but just delete ipad etc from the list:
Code:
if (
$mobile_browser
AND
preg_match('/(ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|Windows Phone OS|htc)/i', strtolower($_SERVER['HTTP_USER_AGENT']))
)
{
$mobile_browser_advanced = true;
}
|
|
#3
|
|||
|
|||
|
Hello,
Thanks for the response but what about the other android tablets? |
|
#4
|
|||
|
|||
|
Your best bet is to use this: https://vborg.vbsupport.ru/showthread.php?t=292704
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|