The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Classic Version and login not available on mobile.

3 posters

Go down

Solved Classic Version and login not available on mobile.

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

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

Post by Ikerepc 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
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

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

Post by Shadow 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
Shadow
Shadow
Manager
Manager

Male Posts : 16217
Reputation : 1831
Language : French, English

Back to top Go down

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

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

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

Post by Shadow January 23rd 2015, 12:17 pm

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

Male Posts : 16217
Reputation : 1831
Language : French, English

Back to top Go down

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

Post by Guest 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!
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Guest 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?
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Guest 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...
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Guest 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....
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Guest 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?
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Guest 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!
avatar
Guest
Guest


Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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