How can I disable the mobile site on Punbb?
3 posters
Page 1 of 1
Re: How can I disable the mobile site on Punbb?
Hi,
Add the following script in all the pages :
( Modules > JS codes management )
If that doesn't work please provide the URL of your forum.
Add the following script in all the pages :
( Modules > JS codes management )
- Code:
$(function() {
if (_userdata.page_desktop) windowlocationhrefTEMPORARYDISABLE = _userdata.page_desktop
});
If that doesn't work please provide the URL of your forum.
Re: How can I disable the mobile site on Punbb?
Thanks @Ange Tuteur . Got one for your phpBB3 friends
Night all
Samantha.
- Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});
Night all
Samantha.
Guest- Guest
Re: How can I disable the mobile site on Punbb?
Thank you very much @Ange Tuteur it is working perfect it is displaying the mobile version while loading (for 1-2 secs) and then redirects to desktop version. Thank you very much too @RoXaNNeX, I will keep it for phpbb3 too maybe someone need it.
The problem is solved.
The problem is solved.
Re: How can I disable the mobile site on Punbb?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Disable the mobile version.
» How to Disable the Mobile Version
» Disable Mobile Version
» Can't disable mobile version
» Disable mobile version problem
» How to Disable the Mobile Version
» Disable Mobile Version
» Can't disable mobile version
» Disable mobile version problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum