![]() |
How to force/redirect mobile users to go to domain.com/forum.php?
I use vBa CMPS. So the home page is not the /forum.php page. I just enabled mobile style from Styles options and made it default so everyone on mobile devices see that. The theme is not responsive and I was losing out on mobile traffic. Now when I go to the site from mobile, it still shows up non-responsive home page but when I go to the /forum.php then it shows the mobile version.
1. How do I force/redirect mobile users to directly go to the /forum.php and not see the home page? 2. How do I remove the clickable link of 'Full Site' at the bottom of the forum? |
Anyone?
|
1. Implement this script: http://mobiledetect.net/. Add a check in init_startup that checks the current location and then based on that, and the mobile detection, perform the redirection.
2. Mobile style > footer template > remove: HTML Code:
<vb:if condition="$show['quickchooser']"> |
Quote:
Where do I upload the contents of the folder 'Mobile-Detect-2.8.24' after downloading it? After uploading these files onto my vB, how do I "add a check in init_startup" as you mentioned? Thanks a lot! |
All times are GMT. The time now is 11:55 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:
|