Problem with Mac and the forum - please help!! - Page 2 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
+2
Shadow
Kimmy
6 posters

    Problem with Mac and the forum - please help!!

    avatar
    Kimmy
    Forumember


    Posts : 121
    Reputation : 2
    Language : English

    Pro Admin Problem with Mac and the forum - please help!!

    Post by Kimmy December 1st 2014, 2:06 am

    First topic message reminder :

    I asked this back in July and received no replies. It is still happening to everyone who uses a Mac. Does anyone have a suggestion?? Thank you!!!!

    When I post a message and the page reloads itself, it always took me back to my message. Now it has been going to the top of the page instead. I noticed it also happened on another Forumotion forum I am a member of. But now I have realized it only happens on my iMac, and not on my PC. Please, does anyone have any idea how to fix this, it is driving me crazy!
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by JScript December 4th 2014, 11:08 pm

    @Kimmy
    Although the technicians will solve this, I like challenges and particularly the most complicated! I appreciate your patience to test my codes.

    Just another test, will be the last ok?
    Code:

    jQuery(function() {
        if (location.pathname == '/post') {
            var hasPosted = jQuery('a[href^="/viewtopic?"]').attr('href');
            if (hasPosted !== undefined) {
                var lst = /(?:\?t=|&t=)([0-9]+).*#([0-9]+)/i.exec(hasPosted);
                if (lst !== null) {
                    localStorage.setItem(lst[1], '#' + lst[2]);
                }
            }
        } else if (location.pathname.indexOf('/t') == 0) {
            var lst = /\/t([0-9]+)(?:-|p)/i.exec(location.pathname);
            if (lst !== null) {
                var stor = localStorage.getItem(lst[1]);
                if (stor) {
                    location.hash = stor;
                    localStorage.removeItem(lst[1]);
                }
            }
        }
    });

    So long,

    JS
    avatar
    Kimmy
    Forumember


    Posts : 121
    Reputation : 2
    Language : English

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by Kimmy December 5th 2014, 2:20 am

    IT WORKS!!!!!!!!!!!!!!!!!!!  Dawa Dawa

    Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I have a last question. Would this same script work on the other forumotion board that is having the same issue??

    Again, you are all great and it is very appreciated!
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by JScript December 5th 2014, 2:34 am

    Kimmy wrote:IT WORKS!!!!!!!!!!!!!!!!!!!  Dawa Dawa

    Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I have a last question. Would this same script work on the other forumotion board that is having the same issue??

    Again, you are all great and it is very appreciated!
    Hello, I'm pretty happy for that!

    Yes, for sure! I tested in all versions with my test forum.

    JS
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by Guardian-Angel December 5th 2014, 2:59 am

    It works for us too!  

    Thanks JS!
    Shadow
    Shadow
    Manager
    Manager


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

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by Shadow December 5th 2014, 9:45 am

    JScript wrote:@Kimmy

    Hello!
    I found the problem of quick reply shorten!!! It was my fault that I did not foresee the pagination of the topics in the regex...

    Change the code for this current: https://help.forumotion.com/t137144p30-problem-with-mac-and-the-forum-please-help#926852

    Take a test ok?


    @Buttercup
    Yes, but while they do not solve my code works perfectly !!! I've tested it on my forum that presents the same problem on Mac OS X with Safari.

    So long,

    JS
    Hi JScript

    Our technicians are informed. We do appreciate your effort to provide a solution. Our technicians will have a look at the problem as soon as possible...

    Thanks :rose:

    Buttercup
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by Guardian-Angel December 9th 2014, 1:12 am

    JScript wrote:@Kimmy
    Although the technicians will solve this, I like challenges and particularly the most complicated! I appreciate your patience to test my codes.

    Just another test, will be the last ok?
    Code:

    jQuery(function() {
        if (location.pathname == '/post') {
            var hasPosted = jQuery('a[href^="/viewtopic?"]').attr('href');
            if (hasPosted !== undefined) {
                var lst = /(?:\?t=|&t=)([0-9]+).*#([0-9]+)/i.exec(hasPosted);
                if (lst !== null) {
                    localStorage.setItem(lst[1], '#' + lst[2]);
                }
            }
        } else if (location.pathname.indexOf('/t') == 0) {
            var lst = /\/t([0-9]+)(?:-|p)/i.exec(location.pathname);
            if (lst !== null) {
                var stor = localStorage.getItem(lst[1]);
                if (stor) {
                    location.hash = stor;
                    localStorage.removeItem(lst[1]);
                }
            }
        }
    });

    So long,

    JS
    While this worked for the users where the page loaded to the top of the page after a post, I am now having Mac users on Safari having very small font when typing a post, but when send is clicked it goes to the proper default font.

    Any idea's why this is happening?

    Thanks
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by JScript December 11th 2014, 5:22 pm

    @Guardian-Angel

    Hello!
    You could create a temporary account so we could see firsthand the problem?
    If so, post the username and password ok?

    JS
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Pro Admin Re: Problem with Mac and the forum - please help!!

    Post by Guardian-Angel December 11th 2014, 7:44 pm

    @JScript

    When the technicians made a change the other day, it appears the Safari/Mac users no longer have this problem. 

    https://help.forumotion.com/t137317-tag-member-system#927802

    Thanks for your help. 
    This is now solved. 

    Smile