![]() |
Sorting out mobile
I was browsing http://forums.androidcentral.com/ today on my mobile phone and was very impressed by how well it worked on mobile. When I go to it, it looks very nice, and formats well with mobile. However, at the bottom of the site, I can click "View Full Site" and the desktop version shows up.
How can I setup like this (I'm running vB 4.2.1, but androidcentral is running vB 5 I think)? How does it force the mobile phone useragent to go to the mobile site, yet still lets a mobile device view the full desktop site upon clicking "View Full Site"? Many thanks. |
It looks like this theme. View full site is just a normal link and it's just a matter of checking the useragent to identify a mobile user.
|
Quote:
Thanks. |
That's a matter of setting a cookie or session variable. If your custom variable is set, do not redirect, else redirect unless the user changed styles.
|
How do I do that?
|
Can anyone help me with this? Thanks.
|
AdminCP -> Settings -> Options -> Style & Language Options
Default Style for Old Mobile Browsers Select the default mobile style for old mobile browsers. This style will be used if user is browsing your forum with an older mobile browser. Set to 'None' to use desktop browser style. Default Style for Modern Mobile Browsers Select the default mobile style for modern mobile browsers. This style will be used if user is browsing your forum with a modern mobile browser. Set to 'None' to use desktop browser style. |
All times are GMT. The time now is 02:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|