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 Weired sort order

More
17 years 4 months ago #21466 by c_schmitz
Weired sort order was created by c_schmitz
Hello!

First I want to say thank you for picking up the work on this great forum software. I am glad it is progressing.

We recently upgraded from Fireboard and today I noticed something strange going on:

New messages to old threads seem to appear on top of the old messages, no matter what sort-order is set in the user profile.

The best example for this behaviour is this thread

www.limesurvey.org/es/support/forums/9-g...uswertung.html#27164

Note that the original message is in the middle of the thread, newer ones are below it, and the latest ones are on top!

Any hint how to fix that?
What is going on here?

Thank you for any advice or workaround.

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

More
17 years 4 months ago - 17 years 4 months ago #21489 by sozzled
Replied by sozzled on topic Re:Weird sort order
I've experienced the same problem, too. The cause is fairly easily explained. The sort order is "interrupted" (or thrown out of whack, or however you might describe it) if you MOVE or MERGE messages. There's a long-standing problem with the message MOVE/MERGE functions. Until the problem is fixed, if you use these functions you run the risk of losing or misplacing discussions (or entire threads) in your forum. The safest course of action is to resist using the functions. That's just my opinion, of course.

You can "restore" the message order but you'll have to perform surgery on your SQL database: you have to manually edit individual records. My advice is to accept the condition as an irritating fact of life and wait until the behaviour is corrected in a later version of Kunena.
Last edit: 17 years 4 months ago by sozzled.

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

More
17 years 4 months ago #21512 by c_schmitz
Replied by c_schmitz on topic Re:Weird sort order
Hi!

Thank you for your answer - but that is not the cause of the problems. We have definitely not moved or merged anything. If a developer wants to look at it, I will be happy to provide according access.

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

More
17 years 4 months ago #21513 by gjr
Replied by gjr on topic Re:Weired sort order
offtopic: Lime Survey is great btw!

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

More
17 years 4 months ago #21527 by c_schmitz
Replied by c_schmitz on topic Re:Weired sort order
Thank you very much :-) !


btw..

I fixed the problem myself now by editing

/components/com_kunena/template/<yourtemplate>/view.php

(if it does not exist copy it from the /default template dir)

and
changing line
Code:
// Get messages of current thread $kunena_db->setQuery("SELECT * FROM #__fb_messages AS a LEFT JOIN #__fb_messages_text AS b ON a.id=b.mesid WHERE (a.id='{$thread}' OR a.thread='{$thread}') AND a.hold='0' AND a.catid='{$catid}'");


to
Code:
// Get messages of current thread $kunena_db->setQuery("SELECT * FROM #__fb_messages AS a LEFT JOIN #__fb_messages_text AS b ON a.id=b.mesid WHERE (a.id='{$thread}' OR a.thread='{$thread}') AND a.hold='0' AND a.catid='{$catid}' order by time $ordering");


Works perfectly now - even switching the ordering in the CB profile works properly.

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

Time to create page: 0.121 seconds