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 New topic posts notifying all administrators

More
15 years 3 months ago #103962 by cmezan
I am using Kunena v1.6.5 with moderator ("review posts") set to yes on a category. There is one moderator assigned to the category to handle approves. The forum configuration has "E-mail Administrators" set to "No" but on every new topic all administrators are receiving notification. In reading some of the documentation it sounds like with the "E-mail Administrators" set to "No" only the moderators should receive these emails. Could someone verify my understanding and let me know if there is something I am missing? Thanks in advance.

Chuck

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

More
15 years 3 months ago #103988 by Matias
This is known "feature" in Kunena 1.6, where all administrators and moderators get email from reviewed categories (that setting would send email from every post).

You can change the behavior from (changed lines below):
components/com_kunena/funcs/post.php line 205:
Code:
$message->emailToSubscribers($LastPostUrl, $this->config->allowsubscriptions && ! $holdPost, $this->config->mailmod && $holdPost, $this->config->mailadmin && $holdPost);
components/com_kunena/funcs/post.php line 205:
Code:
$message->emailToSubscribers($LastPostUrl, $this->config->allowsubscriptions, 0, 0);

After this you need to enable E-mail moderators or they won't get any emails. Also remember to add the change after every upgrade (and verify that Joomla installer has rights to override the file).
The following user(s) said Thank You: cmezan

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

More
15 years 3 months ago - 15 years 3 months ago #103997 by cmezan
Thanks for the quick response Matias and explaining the purpose of the setting. In my case I felt the moderators should also get the emails if the category is reviewed but not administrators. I also did not want to take away the options to always send emails to moderators or administrators if the forum configuration was set to 'Yes'. Therefore I set the 205 line to:
Code:
$message->emailToSubscribers($LastPostUrl, $this->config->allowsubscriptions && ! $holdPost, $this->config->mailmod || $holdPost, $this->config->mailadmin);
This appears to have resulted in the following behavior:
  • Joomla Administrators will receive emails on posts ONLY if the forum setting "E-mail Administrators" is set to "Yes".
  • Moderators of reviewed categories always receive emails when new posts are made. The forum setting "E-mail Moderators" has no impact if the category requires review.
  • Moderators will always receive emails on new posts if the forum setting "E-mail Moderators" is set to "Yes".
If anyone else would like the above behavior the code change above should work for you. Thanks Matias for directing me to the correct area of code.

Chuck
Last edit: 15 years 3 months ago by cmezan. Reason: layout improvement

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

Time to create page: 0.107 seconds