Remove mobile view or allow some function on mobile view

Go down

Solved Remove mobile view or allow some function on mobile view

Post by online0227 on April 11th 2018, 10:28 pm

Hello, if you go http://senrankagura.forumotion.com/ on its desktop view,
There is live twitch stream on the top, and there is a chat box at the bottome of the page.

However, they don't appear in mobile view, thus, I want to remove mobile view itself so that every people only can see its desktop view using any device.. (I couldn't find an option that disables it)

or, if above is not possible, then

I want to show them in mobile view as well. (I prefer above one tho).

How can I do that?
avatar
online0227
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by SLGray on April 11th 2018, 10:45 pm

Is your forum version phpBB 2?



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44584
Reputation : 3158
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by online0227 on April 12th 2018, 12:33 am

Sorry, how can i check that?
avatar
online0227
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by SLGray on April 12th 2018, 12:34 am

AP > Display



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44584
Reputation : 3158
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by online0227 on April 12th 2018, 12:39 am

it says, Theme version phpBB2 (subsilver)
avatar
online0227
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by Draxion on April 12th 2018, 6:45 am

Yes, it's possible. Use this script.

ACP(Admin Control Panel) > Modules >  HTML & JAVASCRIPT > Javascript codes management > Javascript codes management

Title: Removed Mobile
Placement: All pages
Code:
$(function() {
  if (window._userdata && _userdata.page_desktop)
    window.location = _userdata.page_desktop;
});

Take care!


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2233
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by online0227 on April 12th 2018, 10:08 pm

@Draxion wrote:Yes, it's possible. Use this script.

ACP(Admin Control Panel) > Modules >  HTML & JAVASCRIPT > Javascript codes management > Javascript codes management

Title: Removed Mobile
Placement: All pages
Code:
$(function() {
  if (window._userdata && _userdata.page_desktop)
    window.location = _userdata.page_desktop;
});

Take care!

Thank you very much!
avatar
online0227
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by Draxion on April 18th 2018, 2:30 am

Is this solved, @online0227?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2233
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by Draxion on April 27th 2018, 8:46 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2233
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Remove mobile view or allow some function on mobile view

Post by APE on October 9th 2018, 4:45 pm

 UPDATE: SADLY THIS CODE NO LONGER WORKS
Please read this thread for more info.... https://help.forumotion.com/t156600p30-disable-mobile-version-problem#1081899
and this one https://help.forumotion.com/t156603-info-change-of-link-structure-from-web-to-mobile-version#1081882

Thank you for your understanding



avatar
APE
Administrator
Administrator

Male Posts : 13401
Reputation : 1422
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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