Classic Version and login not available on mobile.
3 posters
Page 1 of 1
Classic Version and login not available on mobile.
Technical Details
Forum version : phpBB3Position : 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
Re: Classic Version and login not available on mobile.
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...
Re: Classic Version and login not available on mobile.
Hello
I just turned your JS on off and the buttons appear!
There is something wrong on a JS that makes trouble
Regards
I just turned your JS on off and the buttons appear!
There is something wrong on a JS that makes trouble
Regards
Shadow- Manager
- Posts : 16217
Reputation : 1831
Language : French, English
Re: Classic Version and login not available on mobile.
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!Buttercup wrote:Hello
I just turned your JS on off and the buttons appear!
There is something wrong on a JS that makes trouble
Regards
Guest- Guest
Re: Classic Version and login not available on mobile.
Yes you have to look at your JS I didn't switch on ON your JS
Shadow- Manager
- Posts : 16217
Reputation : 1831
Language : French, English
Re: Classic Version and login not available on mobile.
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!Buttercup wrote:Yes you have to look at your JS I didn't switch on ON your JS
Guest- Guest
Re: Classic Version and login not available on mobile.
Hi Sam,
I spoofed my UA to check the DOM of your mobile version and this rule his hiding the login link :
Try adding this AFTER the rule I posted above.
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 }
Re: Classic Version and login not available on mobile.
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
@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
Re: Classic Version and login not available on mobile.
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 !
Re: Classic Version and login not available on mobile.
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 ) but still it doesn't show me the classic version... 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...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 !
Guest- Guest
Re: Classic Version and login not available on mobile.
That is weird, can you access the classic version by this link ?
http://fcnl.actieforum.com/index.forum?mobile&redirect=/
http://fcnl.actieforum.com/index.forum?mobile&redirect=/
Re: Classic Version and login not available on mobile.
I can't....Ange Tuteur wrote:That is weird, can you access the classic version by this link ?
http://fcnl.actieforum.com/index.forum?mobile&redirect=/
Guest- Guest
Re: Classic Version and login not available on mobile.
Try clearing the cache on your device and try again. Can you view the classic version on other forums ?
Re: Classic Version and login not available on mobile.
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 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?Ange Tuteur wrote:Try clearing the cache on your device and try again. Can you view the classic version on other forums ?
Guest- Guest
Re: Classic Version and login not available on mobile.
Oooh I should have asked that too !
If you want to force the classic view, add this to javascript in all the pages :
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(/&/,'&')});
Re: Classic Version and login not available on mobile.
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. lolAnge Tuteur wrote:Oooh I should have asked that too !
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(/&/,'&')});
Well, topic solved. Thanks @Buttercup & @Ange Tuteur!
Guest- Guest
Re: Classic Version and login not available on mobile.
You're welcome, glad it's working correctly again.
Topic archived
Have a nice day
Topic archived
Have a nice day
Similar topics
» enable mobile version/classic for mobile
» css code for mobile , changes classic version
» Can't Create New PM in Mobile Classic Version
» Classic view of Mobile Version
» Removing Classic Version from mobile menu
» css code for mobile , changes classic version
» Can't Create New PM in Mobile Classic Version
» Classic view of Mobile Version
» Removing Classic Version from mobile menu
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum