The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Disable the mobile version.

View previous topic View next topic Go down

In progress Disable the mobile version.

Post by Wealh on October 18th 2015, 11:02 pm

The "Classic version" doesn't work on mobile, but I hate the mobile version style, I want to remove it completely, anyone has a tip or a javascript code for me?

http://boredom.iftopic.com/forum

Wealh
Forumember

Posts : 69
Reputation : 6
Language : English

http://boredom.iftopic.com/

Back to top Go down

In progress Re: Disable the mobile version.

Post by Jadster on October 18th 2015, 11:33 pm

Hello @Wealh,
To answer your problem, I did a quick search on Google and found this page.
~> http://help.forumotion.com/t133321-disable-mobile-version

Refer to what @Derri said in that page and this should help you solve your issue.

Hope this helps!

-James

Jadster
Forumember

Male Posts : 659
Reputation : 78
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

In progress Re: Disable the mobile version.

Post by Wealh on October 18th 2015, 11:51 pm

Meliodas wrote:Hello @Wealh,
To answer your problem, I did a quick search on Google and found this page.
~> http://help.forumotion.com/t133321-disable-mobile-version

Refer to what @Derri said in that page and this should help you solve your issue.

Hope this helps!

-James

It doesn't work. I searched on Google before asking, but thanks Smile.

Wealh
Forumember

Posts : 69
Reputation : 6
Language : English

http://boredom.iftopic.com/

Back to top Go down

In progress Re: Disable the mobile version.

Post by brandon_g on October 19th 2015, 12:11 am

Hello,


There is also this topic, 2nd page Ange Tuteur's post. http://help.forumotion.com/t140831p30-smartphone-site-seems-otherwise


I am not sure what your forum version is, but that code is designed to work on phpbb2 and the one on avacweb was designed to work only on phpbb3. If you have neither of those 2 versions, I am not sure if there is a code developed for this on any other versions.

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Disable the mobile version.

Post by Jadster on October 19th 2015, 12:15 am

Hello Again,
I have just tested this on my test forum and it worked perfectly.

Just follow these steps below and it should work. Make sure you follow these steps in order and to the dot.

Step 1: Open the Administration Panel.
Step 2: Click the Modules Tab
Step 3: Click "Javascript codes management" underneath the "HTML & JAVASCRIPT" box.
Step 4: Set "Enable Javascript code management" to "YES" & click Save.
Step 5: Click "Create a new Javascript"
Step 6: Name the code and select "In all the pages" where it says Placement.
Step 7: Paste the code below into the box.
Code:
$(function() {
          if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});
Step 8: Click Submit!

This should work. I have tested it on my test forum and browsed the forum with my phone and it worked like a charm.

If you need any further help, please let me know.

-James

Jadster
Forumember

Male Posts : 659
Reputation : 78
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

In progress Re: Disable the mobile version.

Post by Hagoromo Otsutsuki on October 19th 2015, 12:56 am

Meliodas wrote:Hello Again,
I have just tested this on my test forum and it worked perfectly.

Just follow these steps below and it should work. Make sure you follow these steps in order and to the dot.

Step 1: Open the Administration Panel.
Step 2: Click the Modules Tab
Step 3: Click "Javascript codes management" underneath the "HTML & JAVASCRIPT" box.
Step 4: Set "Enable Javascript code management" to "YES" & click Save.
Step 5: Click "Create a new Javascript"
Step 6: Name the code and select "In all the pages" where it says Placement.
Step 7: Paste the code below into the box.
Code:
$(function() {
          if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});
Step 8: Click Submit!

This should work. I have tested it on my test forum and browsed the forum with my phone and it worked like a charm.

If you need any further help, please let me know.

-James
Im about to use this code thanks.

Hagoromo Otsutsuki
Forumember

Male Posts : 514
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

In progress Re: Disable the mobile version.

Post by Wealh on October 19th 2015, 8:01 am

Meliodas wrote:Hello Again,
I have just tested this on my test forum and it worked perfectly.

Just follow these steps below and it should work. Make sure you follow these steps in order and to the dot.

Step 1: Open the Administration Panel.
Step 2: Click the Modules Tab
Step 3: Click "Javascript codes management" underneath the "HTML & JAVASCRIPT" box.
Step 4: Set "Enable Javascript code management" to "YES" & click Save.
Step 5: Click "Create a new Javascript"
Step 6: Name the code and select "In all the pages" where it says Placement.
Step 7: Paste the code below into the box.
Code:
$(function() {
          if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});
Step 8: Click Submit!

This should work. I have tested it on my test forum and browsed the forum with my phone and it worked like a charm.

If you need any further help, please let me know.

-James

It worked, thanks Smile!

Wealh
Forumember

Posts : 69
Reputation : 6
Language : English

http://boredom.iftopic.com/

Back to top Go down

In progress Re: Disable the mobile version.

Post by brandon_g on October 19th 2015, 12:51 pm

Is this solved?


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum