Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Link always to the last post: possible?

More
17 years 6 days ago #33311 by peripsum
Hi,

i have a Thread, there will daily add ONE new answer.
Now i want to link that Thread on another mainpage,
but the link should be jump always to the last answer.

Is that possible and how?

Thank you alot
Jose

Please Log in or Create an account to join the conversation.

More
17 years 6 days ago - 17 years 6 days ago #33315 by Matias
With some basic coding skills, it should be possible.

I've never tried to do it, though, so I'm not sure how many files you need to include. But..

To get it to work, you need to do something like this:
Code:
require_once(JPATH_BASE .DS. "components" .DS. "com_kunena" .DS. "lib" .DS. "kunena.defines.php"); require_once(KUNENA_PATH_LIB .DS. "kunena.config.class.php"); require_once(KUNENA_PATH_LIB .DS. "kunena.link.class.php"); $kunenaConfig = CKunenaConfig::getInstance(); $id = 1234; // Thread ID here $limit = 10; // Number of messages in a page $link = htmlspecialchars(CKunenaLink::GetLatestPageAutoRedirectURL($kunenaConfig, $id, $limit));

Link contains escaped URL to the last message in the thread.
Last edit: 17 years 6 days ago by Matias.

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds