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.
The forum of the forums
3 posters

    Classic Version and login not available on mobile.

    avatar
    Guest
    Guest


    Solved Classic Version and login not available on mobile.

    Post by Guest Fri 23 Jan 2015 - 5:59

    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 Fri 23 Jan 2015 - 13:23; edited 2 times in total
    Ikerepc
    Ikerepc
    Active Poster


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

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

    Post by Ikerepc Fri 23 Jan 2015 - 9:47

    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...
    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

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

    Post by Shadow Fri 23 Jan 2015 - 10:05

    Hello

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

    There is something wrong on a JS that makes trouble Wink

    Regards
    avatar
    Guest
    Guest


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

    Post by Guest Fri 23 Jan 2015 - 12:15

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


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

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

    Post by Shadow Fri 23 Jan 2015 - 12:17

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


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

    Post by Guest Fri 23 Jan 2015 - 12:19

    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!
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 12:20

    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 }
    avatar
    Guest
    Guest


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

    Post by Guest Fri 23 Jan 2015 - 12:24

    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?
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 12:30

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


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

    Post by Guest Fri 23 Jan 2015 - 12:36

    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...
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 12:42

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


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

    Post by Guest Fri 23 Jan 2015 - 12:48

    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....
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 12:59

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


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

    Post by Guest Fri 23 Jan 2015 - 13:11

    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?
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 13:18

    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(/&/,'&')});
    avatar
    Guest
    Guest


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

    Post by Guest Fri 23 Jan 2015 - 13:21

    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!
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

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

    Post by Ange Tuteur Fri 23 Jan 2015 - 13:26

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

    Topic archived

    Have a nice day bye

      Current date/time is Mon 23 Sep 2024 - 17:24