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.

Clicking "view latest post" image brings me to top of that page, not last post on page.

5 posters

Go down

In progress Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Fender May 17th 2013, 5:31 pm

Exactly what the title says. When members click on view latest post image, it'll bring them to the latest post, but when the page finishes loading, to go right to the top of the last page.
avatar
Fender
Forumember

Male Posts : 47
Reputation : 4
Language : English
Location : Hudson Valley, NY, USA

http://www.begonebrotherhood.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Sir. Mayo May 17th 2013, 6:11 pm

Ok if you could please provide your forum link and forum type

i kinda understand that your saying but i would have to see it in action to fully understand.
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Ultron's Vision May 17th 2013, 6:14 pm

Check if the URL of the link goes to /search?search_id=newposts

If that is not the case, the link is not correctly functioning.
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 631
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Fender May 17th 2013, 8:01 pm

avatar
Fender
Forumember

Male Posts : 47
Reputation : 4
Language : English
Location : Hudson Valley, NY, USA

http://www.begonebrotherhood.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Jophy May 18th 2013, 1:48 pm

Hello,

Is this happening to all? What browsers are they using?
Try to advice them to clear their cache first:
https://help.forumotion.com/t22597-how-to-clear-the-cache-in-firefox-internet-explore-chrome
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Fender May 20th 2013, 6:15 pm

Sorry, but yes, this is happening for all users & it appears to be regardless of browser. I, personally, have tested it on Firefox & Chrome. I've also tried to clear my cache on both.

I thought it was because of a javascript module that I added, but I've removed it & the problem still exists.

EDIT:
I've noticed that when clicking the "View Newest Post" link that it does take you to the post, but when the page finishes loading, you are then brought to the top of the page
avatar
Fender
Forumember

Male Posts : 47
Reputation : 4
Language : English
Location : Hudson Valley, NY, USA

http://www.begonebrotherhood.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by kirk May 20th 2013, 6:39 pm

To the top of the page you mean the thread starter message/first post right?

It sounds like you have the forum set to Sort the posts of a topic by :
Post (Date Most Oldest In First)
Thats how it is suposed to be. It don't matter if there was a new reply made, when you click it , it's always show the first message the thread was started with first when you have it set that way.

If you want to change it then have it set to
Sort the posts of a topic by : Post (Date Most Recent In First)

Admin panel>general>forums

You will have to set this for each forum you have.
Go to a forum click on Edit , then for Sort the posts of a topic by : click on
(Date Most Recent In First)
and click save
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Fender May 20th 2013, 7:13 pm

kirk,

I think you misunderstand the problem. It's not a sorting issue. The problem is that when I click the icon to view the latest post:
Clicking "view latest post" image brings me to top of that page, not last post on page. 2vjby1h

When clicking that icon it should go to that last post, which is at the bottom of the page. As I said in my previous post, it goes to the post correctly, but once the page has finished loading, the focus of the page is moved to the top of the page body.

Now ... I checked the source & noticed that the script for resizing images is one of the last items called just before the closing body tag. I disabled image resizing & this issue went away. So, I'm thinking that there is a bug in that code that is causing this issue.

avatar
Fender
Forumember

Male Posts : 47
Reputation : 4
Language : English
Location : Hudson Valley, NY, USA

http://www.begonebrotherhood.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by kirk May 20th 2013, 7:19 pm

Fender wrote: I disabled image resizing & this issue went away. So, I'm thinking that there is a bug in that code that is causing this issue.


Oh OK hopefully thats what it was, I am a little confused now my self..LOL
Give it a lil time then Let us know if that seemed to resolve the problem or not,
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by Fender May 21st 2013, 4:32 pm

Been almost 24 hours & has been working as it should since disabling "Image Resize" ... forumotion devs might want to have a looksy at their code.
avatar
Fender
Forumember

Male Posts : 47
Reputation : 4
Language : English
Location : Hudson Valley, NY, USA

http://www.begonebrotherhood.com/

Back to top Go down

In progress Re: Clicking "view latest post" image brings me to top of that page, not last post on page.

Post by kirk May 21st 2013, 6:52 pm

Fender wrote:Been almost 24 hours & has been working as it should since disabling "Image Resize" ... forumotion devs might want to have a looksy at their code.

okie Smile

Topic Solved & Locked

kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top

- Similar topics

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