The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Problem with Mac and the forum - please help!!

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

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

Post by Kimmy on 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!

Kimmy
Forumember

Posts : 84
Reputation : 1
Language : English

Back to top Go down


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

Post by JScript on 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

JScript
Forumember

Male Posts : 741
Reputation : 167
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 on 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!

Kimmy
Forumember

Posts : 84
Reputation : 1
Language : English

Back to top Go down

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

Post by JScript on 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

JScript
Forumember

Male Posts : 741
Reputation : 167
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 on December 5th 2014, 2:59 am

It works for us too!

Thanks JS!

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
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 Leviosa on 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: http://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


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15386
Reputation : 1563
Language : French, English

http://help.forumotion.com

Back to top Go down

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

Post by Guardian-Angel on 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

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
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 on 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

JScript
Forumember

Male Posts : 741
Reputation : 167
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 on 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.

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

Thanks for your help.
This is now solved.

Smile

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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