Problem with Mac and the forum - please help!!
+2
Shadow
Kimmy
6 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Problem with Mac and the forum - please help!!
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!
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!
Re: Problem with Mac and the forum - please help!!
@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?
So long,
JS
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
Re: Problem with Mac and the forum - please help!!
IT WORKS!!!!!!!!!!!!!!!!!!!
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!
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!
Re: Problem with Mac and the forum - please help!!
Hello, I'm pretty happy for that!Kimmy wrote:IT WORKS!!!!!!!!!!!!!!!!!!!
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!
Yes, for sure! I tested in all versions with my test forum.
JS
Re: Problem with Mac and the forum - please help!!
Hi JScriptJScript 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
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
Buttercup
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Problem with Mac and the forum - please help!!
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.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
Any idea's why this is happening?
Thanks
Re: Problem with Mac and the forum - please help!!
@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
Hello!
You could create a temporary account so we could see firsthand the problem?
If so, post the username and password ok?
JS
Re: Problem with Mac and the forum - please help!!
@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.
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.
Page 2 of 2 • 1, 2
Similar topics
» The problem does not go forum
» Problem with my forum
» Forum Problem
» Hello i have a problem with my forum
» Having problem with forum
» Problem with my forum
» Forum Problem
» Hello i have a problem with my forum
» Having problem with forum
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum