Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] 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

Question When Deleting a Post with attachment, attachment still remains?

More
14 years 11 months ago #94725 by xillibit
Hello,

To check that the images are right deleted you need to use the delete permanently function or in trash manager by using delete permanently function too

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.

More
14 years 7 months ago #107002 by rado
hello there,
in the file
(JOOMLA ROOT)/components/com_kunena/lib/kunena.moderation.class.php

I had to change
// Check that message to be moved actually exists
if ( !is_object($currentMessage) ) {
with
// Check that message to be moved actually exists
if ( !is_object($currentMessage) && $mode!=KN_DEL_ATTACH) {

because messages are removed before of attachments!

this works for me.

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

More
14 years 7 months ago #107740 by xillibit
I will take a look at this later

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.

More
14 years 7 months ago #107786 by xillibit

rado wrote: hello there,
in the file
(JOOMLA ROOT)/components/com_kunena/lib/kunena.moderation.class.php

I had to change
// Check that message to be moved actually exists
if ( !is_object($currentMessage) ) {
with
// Check that message to be moved actually exists
if ( !is_object($currentMessage) && $mode!=KN_DEL_ATTACH) {

because messages are removed before of attachments!

this works for me.

This doesn't work for me, my fix is different

Line 328 add $this->deleteAttachments($MessageID);

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: Matias

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

Time to create page: 0.241 seconds