Disable mobile version problem
+8
Ape
The Godfather
Tonight
Snows
brandon_g
skouliki
TamDonCo
mohamadkirkuk
12 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Disable mobile version problem
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : ( link is hidden, you must reply to see )
Description of problem
The problem with converting the mobile version to computer version is previously when a visitor was entering the site through the phone he was being redirected to the copmuter site automatically but now the code doesnt work like it did is there an alternative wayThe current code no longer works " javascript "
- Code:
$(function() { if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;});
Disable mobile version problem
I used to use this code to force classic version instead of mobile version when user uses cell phones, it works for many year and today it stops working, it goes to classic version and then go back to mobile and classic and mobile ... infinite loop
Please HELP to stop it
Please HELP to stop it
- Code:
if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
Re: Disable mobile version problem
Hello
Try this javascript/ all pages
Try this javascript/ all pages
- Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});
Re: Disable mobile version problem
Hello
Try this one
Try this one
- Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});
Re: Disable mobile version problem
No, same problem
the code works, it goes to destop and switch back to mobile and desktop and mobile .. infinite loop
just begin happening today
the code works, it goes to destop and switch back to mobile and desktop and mobile .. infinite loop
just begin happening today
Re: Disable mobile version problem
skouliki wrote:Hello
Try this one
- Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});
Thanks
but, sorry dont work
Re: Disable mobile version problem
Could maybe have had something to do with the change over to Google's reCAPTCHA today. Though it effects a very specific page, so I don't really know what about the update would have broke the code.
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Disable mobile version problem
Since this is about the same problem as TamDonCo's topic, I am going to go ahead and merge this with it.
Topics merged
Topics merged
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Disable mobile version problem
It happens to every browser, I tested Samsung browser, Google Chrome, Opera, Firefox, Edge, UCBrowser
Alll have the same problem
Alll have the same problem
Re: Disable mobile version problem
Like I said it's possible it's related to this update: https://help.forumotion.com/t156596-change-of-funcaptcha-by-google-recaptcha#1081822
Don't know how are why, but it may be easier for someone to develop a new cose that will work, then try to figure out what serverside code change broke the current one.
Don't know how are why, but it may be easier for someone to develop a new cose that will work, then try to figure out what serverside code change broke the current one.
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Disable mobile version problem
Is it anyway to change in template just go straight to classic version (web version), just ignore mobile version ?
Forum stopped connecting
I tried accessing my forum but I can't, it keeps loading long. Here is my forum URL www.9jatechs.com
Re: Disable mobile version problem
I have noticed this as well, there are some issues with mobile and external domains. It creates a loop (forum doesn't load).
Tonight- Forumember
- Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia
Re: Disable mobile version problem
Yes, exactly what is happening to my forum.Tonight wrote:I have noticed this as well, there are some issues with mobile and external domains. It creates a loop (forum doesn't load).
Re: Disable mobile version problem
Hello,
Do you have an active package with us? Also dud you purchase the domain through us or with some other registra?
Do you have an active package with us? Also dud you purchase the domain through us or with some other registra?
Last edited by brandon_g on October 9th 2018, 12:53 pm; edited 1 time in total
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Disable mobile version problem
We have reported this issue to our technicians and we are waiting for an answer
We apologize for the inconvenience
We apologize for the inconvenience
Re: Disable mobile version problem
Sorry for false information before, problem is this code (and not domain):Snows wrote:Yes, exactly what is happening to my forum.Tonight wrote:I have noticed this as well, there are some issues with mobile and external domains. It creates a loop (forum doesn't load).
- Code:
<script type="text/javascript">(function() {
windowlocationhrefTEMPORARYDISABLE = _userdata.page_desktop
}());</script>
You have to remove it (for now).
Tonight- Forumember
- Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia
Re: Disable mobile version problem
Since this is about the same problem as TamDonCo's topic, topics will be merged.
Last edited by skouliki on October 9th 2018, 1:06 pm; edited 1 time in total
Re: Disable mobile version problem
skouliki wrote:We have reported this issue to our technicians and we are waiting for an answer
We apologize for the inconvenience
we will report back with an update as soon as we can
Re: Disable mobile version problem
Thanks sir, I will be waitingskouliki wrote:skouliki wrote:We have reported this issue to our technicians and we are waiting for an answer
We apologize for the inconvenience
we will report back with an update as soon as we can
Re: Disable mobile version problem
Hello,
I invite you to read this announcement and update your scripts accordingly.
We apologize for the inconvenience caused
I invite you to read this announcement and update your scripts accordingly.
The Godfather wrote:Please note that for functional and optimization reasons, we have modified the structure of the links to move from the web version to the mobile version of our forums and vice versa. Indeed, the switch from one version to another is now done via a JavaScript solution, and no longer via a link.
Although this remains completely transparent for most forums, some sites with custom scripts using these links may need to update their scripts to reflect this change if they wish to continue using them.
Without updating this custom script to force the web version, problems accessing your forum could occur from a mobile phone (including infinite redirections). If you notice this problem on your forum, we recommend that you disable the custom script forcing the web version and update it.
We apologize for the inconvenience caused
The Godfather- Administrator
- Posts : 5343
Reputation : 846
Re: Disable mobile version problem
Hi
This script is a custom script not coming from Forumotion but from the community, we can not provide an update today. The best is to disable this custom script for the moment. As a reminder, each user can switch to the web version in one click via the menu of the mobile version or the option in the web browser.
If a solution is found, we will update the announcement by linking to a tutorial. If no solution is found by the community in a few days, our technical team will look into this problem.
This script is a custom script not coming from Forumotion but from the community, we can not provide an update today. The best is to disable this custom script for the moment. As a reminder, each user can switch to the web version in one click via the menu of the mobile version or the option in the web browser.
If a solution is found, we will update the announcement by linking to a tutorial. If no solution is found by the community in a few days, our technical team will look into this problem.
Last edited by The Godfather on October 9th 2018, 4:14 pm; edited 1 time in total
The Godfather- Administrator
- Posts : 5343
Reputation : 846
Page 1 of 2 • 1, 2
Similar topics
» Can't disable mobile version
» Disable the mobile version.
» Disable Mobile Version
» How to Disable the Mobile Version
» Disable the Mobile Version (New Script)
» Disable the mobile version.
» Disable Mobile Version
» How to Disable the Mobile Version
» Disable the Mobile Version (New Script)
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum