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.

how to force Desktop on mobile

View previous topic View next topic Go down

how to force Desktop on mobile

Post by Michael_vx on June 10th 2016, 9:48 am

is there a way to force Desktop forum in the mobile
make no mobile version
i know its kinda weird question but i hope i can help the one asking for that
thanks

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: how to force Desktop on mobile

Post by loving9you on June 10th 2016, 8:36 pm

@Michael_vx wrote:is there a way to force Desktop forum in the mobile
make no mobile version
i know its kinda weird question but i hope i can help the one asking for that
thanks

Create new JavaScript .

Title : Disable Mobile Theme
Placement : In all the pages

Code:
$(function() {
  if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});

Submit Done .

loving9you
Forumember

Posts : 55
Reputation : 4
Language : Ho Chi Minh City, Vietnam

http://hienmau.forumvi.com/

Back to top Go down

Re: how to force Desktop on mobile

Post by Michael_vx on June 11th 2016, 2:52 am

first thanks for the help 2nd the Script some how not working on the forum
http://www.koutstore.com
no idea why yet i`m still looking after that
but for me it might take long time so if there is some hints please let me know about it

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: how to force Desktop on mobile

Post by loving9you on June 11th 2016, 9:10 am

@Michael_vx wrote:first thanks for the help 2nd the Script some how not working on the forum
http://www.koutstore.com
no idea why yet i`m still looking after that
but for me it might take long time so if there is some hints please let me know about it

Create new JavaScript .

Title : Disable Mobile Theme
Placement : In all the pages

Code:
my_setcookie("fa_" + location.host.replace(/\./g, "_") + "_mobile_version", 0, true, "." + location.host);

Design : Devs.forumvi.com

loving9you
Forumember

Posts : 55
Reputation : 4
Language : Ho Chi Minh City, Vietnam

http://hienmau.forumvi.com/

Back to top Go down

Re: how to force Desktop on mobile

Post by Michael_vx on June 15th 2016, 3:37 am

the problem owner have not responded to my last answer i don`t know what to do for now

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: how to force Desktop on mobile

Post by Michael_vx on June 19th 2016, 4:37 am

garbag topic im sorry for wasting time by this question

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: how to force Desktop on mobile

Post by SLGray on June 20th 2016, 7:48 am

Sent to garbage as requested.


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.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