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.

Classic Version and login not available on mobile.

View previous topic View next topic Go down

Solved Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 5:59 am

Technical Details

Forum version : phpBB3
Position : Founder
Concerned browser(s) : Other
Who the problem concerns : Yourself
Forum link : http://www.friendcodes.nl ( http://fcnl.actieforum.com )

Description of problem

I hardly ever check my website on mobile, but I just did and I noticed there are just 2 buttons (+ the forum) available: "Classic Version" and "Index". There is no way to log in and when the "Classic Version" button is selected it just throws me back to the index. I don't know if this is a known problem, but I'd like to be able to log in and have the classic pages available like before. Thank you!


Last edited by SamanthaS on January 23rd 2015, 1:23 pm; edited 2 times in total

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ikerepc on January 23rd 2015, 9:47 am

It redirect me to full site after click full version. I don't see login at your site navbar too, you can try adding that to navbar and check again... I think that can be problem...

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Leviosa on January 23rd 2015, 10:05 am

Hello

I just turned your JS on off and the buttons appear!

There is something wrong on a JS that makes trouble Wink

Regards


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 12:15 pm

Buttercup wrote:Hello

I just turned your JS on off and the buttons appear!

There is something wrong on a JS that makes trouble Wink

Regards
OK, thanks Buttercup. It's switched on now, right? Please leave it on. If it's my own JS causing it, I'll investigate further which script is causing it and this ticket can be closed. Thank you! Smile

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Leviosa on January 23rd 2015, 12:17 pm

Yes you have to look at your JS Wink I didn't switch on ON your JS Smile


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 12:19 pm

Buttercup wrote:Yes you have to look at your JS Wink I didn't switch on ON your JS Smile
No, I mean: please leave it on if you switched it off for my entire website. I need that JS to stay on. I will break it down till I find the JS script error causing it. Meanwhile the mobile version is priority 2 to me. Thank you!

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 12:20 pm

Hi Sam,

I spoofed my UA to check the DOM of your mobile version and this rule his hiding the login link :
Code:
a[href="/statistics"], a[href="/chatbox/index.forum?"], a[href="/privmsg?folder=inbox"], a[href="/login"], a[href="/calendar"], a[href="/search"], a[href="/profile?mode=editprofile"] {
    display: none !important;
}

Try adding this AFTER the rule I posted above.
Code:
#mNavbar a.navElement { display:block !important }

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 12:24 pm

@Ange Tuteur wrote:Hi Sam,

I spoofed my UA to check the DOM of your mobile version and this rule his hiding the login link :
Code:
a[href="/statistics"], a[href="/chatbox/index.forum?"], a[href="/privmsg?folder=inbox"], a[href="/login"], a[href="/calendar"], a[href="/search"], a[href="/profile?mode=editprofile"] {
  display: none !important;
}

Try adding this AFTER the rule I posted above.
Code:
#mNavbar a.navElement { display:block !important }

@Buttercup: I switched it back on again already. Thanks Wink
@Ange Tuteur: Yep that worked alright, got the login button back again. Thanks! Added this code:


Code:
#mNavbar a.navElement { display:block !important;}

But I can't get it into classic mode. Is that normal?

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 12:30 pm

I can view classic mode while I'm "mobile", but I don't see the login link, because it's being hidden by the CSS rule I mentioned previously. I'd recommend removing this selector from the rule a[href="/login"] otherwise, members cannot see the login links ! Shocked

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 12:36 pm

@Ange Tuteur wrote:I can view classic mode while I'm "mobile", but I don't see the login link, because it's being hidden by the CSS rule I mentioned previously. I'd recommend removing this selector from the rule a[href="/login"] otherwise, members cannot see the login links ! Shocked
I added it to JS because the login got replaced by the one in the FM toolbar, so I didn't want it doudble, like in my navigation bar, that's why I added: a[href="/login"] So, the FM notification bar doesn't work on mobile versions? I removed the a[href="/login"], just now and it added the login button to the navbar (so Twisted got some work on it again Razz ) but still it doesn't show me the classic version... Embarassed Is it my old mobile doing that? I don't think so, cuz I remember in the past I could access my other phpBB3 website using it, in classic view...

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 12:42 pm

That is weird, can you access the classic version by this link ?
http://fcnl.actieforum.com/index.forum?mobile&redirect=/

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 12:48 pm

@Ange Tuteur wrote:That is weird, can you access the classic version by this link ?
http://fcnl.actieforum.com/index.forum?mobile&redirect=/
I can't....

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 12:59 pm

Try clearing the cache on your device and try again. Can you view the classic version on other forums ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 1:11 pm

@Ange Tuteur wrote:Try clearing the cache on your device and try again. Can you view the classic version on other forums ?
Good thing you mentioned that. You see, I hardly ever use it. I cleared cache and cookies, tried again, nothing. Then I tested the same for another forumotion.com website, nothing. Then I looked at the Safari configuration and it said: "never accept cookies". I switched that one on and then it worked... I think this is my bad Embarassed sorry for that! I can see the notification bar too now, so I'm gonna test it and add the CSS back on if logging in thru the FM notification bar is possible... Is there a way to make the classic view default?

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 1:18 pm

Oooh I should have asked that too ! Razz

If you want to force the classic view, add this to javascript in all the pages :
Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Guest on January 23rd 2015, 1:21 pm

@Ange Tuteur wrote:Oooh I should have asked that too ! Razz

If you want to force the classic view, add this to javascript in all the pages :
Code:
$(function(){if (_userdata && _userdata.page_desktop) window.location.href = _userdata.page_desktop.replace(/&/,'&')});
Wow! this is great. I added the CSS back on as well, and I can log in using the notification bar. I still can use the non-classic view and log in thanks to that little piece of that CSS of yours I entered below it. Still need to work on that banner size in classic view I saw. lol

Well, topic solved. Thanks @Buttercup & @Ange Tuteur!

Guest
Guest


Back to top Go down

Solved Re: Classic Version and login not available on mobile.

Post by Ange Tuteur on January 23rd 2015, 1:26 pm

You're welcome, glad it's working correctly again. Wink

Topic archived

Have a nice day bye

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

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