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.

Problem with Mac and the forum - please help!!

+2
Shadow
Kimmy
6 posters

Page 2 of 2 Previous  1, 2

Go down

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

Post by Kimmy Mon 1 Dec - 1:06

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!
avatar
Kimmy
Forumember

Posts : 121
Reputation : 2
Language : English

http://teamjem.forumotion.com

Back to top Go down


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

Post by JScript Thu 4 Dec - 22:08

@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
JScript
JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

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

Post by Kimmy Fri 5 Dec - 1:20

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!
avatar
Kimmy
Forumember

Posts : 121
Reputation : 2
Language : English

http://teamjem.forumotion.com

Back to top Go down

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

Post by JScript Fri 5 Dec - 1:34

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
JScript
JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

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

Post by Guardian-Angel Fri 5 Dec - 1:59

It works for us too!  

Thanks JS!
Guardian-Angel
Guardian-Angel
Forumember

Posts : 757
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

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

Post by Shadow Fri 5 Dec - 8:45

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

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

Back to top Go down

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

Post by Guardian-Angel Tue 9 Dec - 0:12

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
Guardian-Angel
Guardian-Angel
Forumember

Posts : 757
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

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

Post by JScript Thu 11 Dec - 16:22

@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
JScript
JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

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

Post by Guardian-Angel Thu 11 Dec - 18:44

@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
Guardian-Angel
Guardian-Angel
Forumember

Posts : 757
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

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