UBB.Dev
Posted By: drkknght always link to the last post - 07/17/2003 7:45 PM
i know that when you click on the link in the "last post" column, you're automatically brought to the last post in the thread.

however...

is there a way to automatically jump to that last post from an external site?

like, if at another site or forum, i constantly link to:

[code][/code]no matter what happens on that thread, or how many replies are added, people who click on it will always be sent to the 105th post in the 37th topic of the 20th forum.

what i'm looking for is a link that will always, automatically jump to the last post in that thread.

so, if in 10 minutes, 15 people respond to the above topic, the next time someone clicks on that link here, they'll be sent to the 120th post of that thread on my boards, without my having to change the code in the link.

make sense?

and, izzit possible?
Posted By: Fahd Re: always link to the last post - 07/18/2003 5:23 AM
Quote
quote:
http://mysite.com/ubb/ultimatebb.php?ubb=get_topic;f=20;t=000037;p=5#LATEST
Just use the "LATEST" instead of the number and it should work smile .
Posted By: drkknght Re: always link to the last post - 07/18/2003 8:49 AM
heya fahd -- thanks for the response!

ok, assuming this is the thread i wanna go to:

Quote
quote:

http://www.robkamphausen.com/ubb/ultimatebb.php?ubb=get_topic;f=15;t=001624

currently, this is the direct link to the last post:

quote:
[qb]
http://www.robkamphausen.com/ubb/ultimatebb.php?ubb=get_topic;f=15;t=001624;p=6#000145
[/qb]
so entering the following should take me there:

Quote
quote:
http://www.robkamphausen.com/ubb/ultimatebb.php?ubb=get_topic;f=15;t=001624;p=6#LATEST
however... it doesnt. frown it just takes me to the last page (which is already specified in the code, with "p=6").

seemed too good to be true wink

also, even if it did work, that'd still require my updating the link with the page number, instead of the link always pointing to just the last post (regardless of page).

i think what i'm looking for, essentially, is something like the following (if it worked, of course)

quote:
[qb]
http://www.robkamphausen.com/ubb/ultimatebb.php?ubb=get_topic;f=15;t=001624;#LATEST
[/qb]
to bring me to the latest page, latest post

so what else y'got? wink
Posted By: Fahd Re: always link to the last post - 07/18/2003 9:24 PM
*smacks self*

Should've checked the code before posting smirk. It should be as you posted (in your last quote), but you also need to switch on the blue arrow in the control panel for it to work. That option is found at:

control panel --> general display settings (top left drop down box) --> Enable Jump to Newest Link ("Blue Arrow")?


Hopefully that should get it working smile .
Posted By: drkknght Re: always link to the last post - 07/19/2003 7:26 AM
heya fahd!

hmm... i think this woiks!

nothing actually appears on my board -- i'm assuming because i've possibly accidentally edited that code out of my templates.

however, the link does seem to function ...

how, exactly, does it work? does it just bring the individual to the actual last post? or the first new post, based on the last time their cookie has visited the boards?

regardless, much thanks for the assistance with this!!!
Posted By: Fahd Re: always link to the last post - 07/19/2003 11:13 PM
It takes them to the first post they haven't read. Not sure if that's exactly what you want but it's the closest thing without having to modify files.
Posted By: drkknght Re: always link to the last post - 07/20/2003 8:21 AM
that sounds good enough for me smile

thanks a bunch, fahd!!
© UBB.Developers