Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Bug: Configuration 'User Edits - Yes, except no replies' not working properly
- WolfgangOWL
- Topic Author
- Offline
- Senior Member
It does only affect the delete-button. In my humble opinion this should also hide the edit-button when the option is set. At least I would expect this behaviour since the option suggests that. I'm pretty sure this worked correctly in the past. I don't know in which Kunena version the behaviour changed.
Do you have a patch for me?
I wish everyone a merry Christmas,
Wolfgang
Please Log in or Create an account to join the conversation.
Please correct me if I'm wrong: The text "Yes, except no replies" means grammatically, the user can always edit, it's only forbidden, if still nobody has answered. And exactly so has worked this option in previously versions.
It should be:
User Edits - Yes, when no replies
Can you confirm this?
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Topic Author
- Offline
- Senior Member
yes, you are right. The option should be named 'Yes, when no replies' or 'Yes, except when replies'. I didn't think about this because it makes absolutely no sense the other way round.
Please Log in or Create an account to join the conversation.
I will create a ticket on Git.
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Topic Author
- Offline
- Senior Member
I saw at Git that 810 added a commit for this bug. He made a change in line 1646 in libraries/kunena/forum/message/message.php.
Unfortunately, this change is not working correctly.
This means if there is any reply within a topic a user can't edit his own post, even if the last post is his own.
The following change should fix it:
Could you possibly contact 810 to check.
Thank you,
Wolfgang
Please Log in or Create an account to join the conversation.
Thanks for the hint! I've noticed this mistake before read this message and created a new ticket, because this problem now also exists at the Option "User can delete when no replies". github.com/Kunena/Kunena-Forum/issues/5688
But I've now 810 made aware of your contribution.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Topic Author
- Offline
- Senior Member
Is it possible that I may have fetched the wrong nightly build?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Topic Author
- Offline
- Senior Member
It is really hard for me not to get sarcastic here, but I hold back myself.
To make clear how it should work see this code where the if-statements are based on the selected option:
Please Log in or Create an account to join the conversation.