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 17/5/2013, 10:31

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 17/5/2013, 11:11

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 17/5/2013, 11:14

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 17/5/2013, 13:01

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 18/5/2013, 06:48

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 20/5/2013, 11:15

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 20/5/2013, 11:39

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 20/5/2013, 12:13

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 20/5/2013, 12:19

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 21/5/2013, 09:32

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 21/5/2013, 11:52

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