Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Last Post Button

Status
Not open for further replies.

Cena

Player Valuation: £70m
When i click on a thread to see the last post i saw, it takes me to the first post instead of the last.

Just letting you MOdz know
 
Right - will lodge another ticket. I wouldn't have a clue where to begin fixing!, especially when I can't see the error myself.

Keep the faith!!

Doesn't work in IE or Firefox for me :(
I've cleared out everything win an enema and that didn't help.

/Geek alert ...

For me, it goes to the right page but doesn't scroll down to the last post, which isn't quite what Bacon Butty logged the problem as. The problem is with the "onload" event in the Javascript. I don't get any javascript errors so I'd guess the .js library on the server is the wrong one ?

/ End Geek alert
 
Upvote 0
Doesn't work in IE or Firefox for me :(
I've cleared out everything win an enema and that didn't help.

/Geek alert ...

For me, it goes to the right page but doesn't scroll down to the last post, which isn't quite what Bacon Butty logged the problem as. The problem is with the "onload" event in the Javascript. I don't get any javascript errors so I'd guess the .js library on the server is the wrong one ?

/ End Geek alert

Not sure mate, my emphasis was on the .htaccess - the only enforced amend made outside the seemingly bog standard upgrade.

Thanks though - may have to resolve to paid support for a few of these niggling problems.
 
Upvote 0

Not sure mate, my emphasis was on the .htaccess - the only enforced amend made outside the seemingly bog standard upgrade.

Thanks though - may have to resolve to paid support for a few of these niggling problems.

Don't know if it helps or hinders .. but it looks like the javascript code in the onload event expects to find an element called currentPost.

The code is

onload="if (document.body.scrollIntoView && fetch_object('currentPost') && (window.location.href.indexOf('#') == -1 || window.location.href.indexOf('#post') > -1)) { fetch_object('currentPost').scrollIntoView(true); }">

so it tests to see if fetch_object('currentPost') returns anything, if it doesn't it exits gracefully. If you can find where currentPost is supposed to be created you'll probably crack it, but I'm assuming it's created on the fly so it could be a Suarez to find.

If you google

vbulletin currentpost scroll

you'll see people have had similar problems in the past, but they ( mostly ) got javascript errors because the code didn't test to see if fetchObject('currentPost') actually returns anything

the function fetchObject is in the client javascript library and looks fine.
 
Upvote 0

When I saw the title to the thread, I thought it was a suggestion for a "Last Post" button. Once someone leaves their cheesy, I am leaving GOT post, they hit the "last post" button and they fall through trap door and their ID is removed. All that is left is the coyote standing there holding a sign with the word oops. I quite like that idea.
 
Upvote 0

Status
Not open for further replies.

Welcome

Join Grand Old Team to get involved in the Everton discussion. Signing up is quick, easy, and completely free.

Back
Top