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.

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

View previous topic View next topic Go down

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

Post by Fender on 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.

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

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

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

Male Posts : 634
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 on May 17th 2013, 8:01 pm


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 on 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:
http://help.forumotion.com/t22597-how-to-clear-the-cache-in-firefox-internet-explore-chrome

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
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 on 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

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 on 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
Forumaster

Male Posts : 11037
Reputation : 651
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 on 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:


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.


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 on 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
Forumaster

Male Posts : 11037
Reputation : 651
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 on 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.

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 on 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
Forumaster

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

Back to top Go down

View previous topic View next topic Back to top


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