Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Solved Can't delete private part of topic messages

More
1 month 2 days ago - 1 month 2 days ago #234912 by itn-ms
Hi, 
thanks again for your effort.
I tested the code changes and it still does not really fix my issue:

In your line 1616:
Code:
$private->body = Text::_('COM_KUNENA_POST_WITH_PRIVATE_ATTACHMENTS_SAVED_NO_ATTACHEMENTS');
makes no sense to me, because if I don't have a private message or a private attachment, I don't need to set the private message to "No private message has been set". Instead I would want the private message to be deleted. So if I for example change your line 1616 to 
Code:
unset($private->body); unset($private->attachments);
then it will be deleted because of the later 
Code:
if (!$private->body && !$private->attachments) {             try {                 $private->delete();
That would be the behaviour I would expect.
 
Last edit: 1 month 2 days ago by itn-ms.

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

More
1 month 1 day ago #234913 by xillibit
Hello,

I have made some changes with this new PR : github.com/Kunena/Kunena-Forum/pull/10034

Now if you don't have any text in private tab, you haven't the pm box which are displayed

Can-you test it please ?

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.363 seconds