Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] 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 twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Question how to exclude notifications for only ONE user?

More
17 years 3 weeks ago #17294 by carsten888
As a super administrator I get notifications of each post on my forum. I answer those posts with another account. Notifcations are active by default. I don't want to have to untick that notification-box each time I post something on the forum with my moderator-account. Is that possible (without a hack) ?

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

More
17 years 3 weeks ago #17411 by Matias
I'm sorry, but there is no configuration option currently to do it.

So you need a hack (should be easy one).

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

More
17 years 3 weeks ago #17494 by carsten888
ok, I will do that and post it here if/when I ever get the time :)

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

More
16 years 11 months ago #21566 by carsten888
OK, got the hack done.

file:
components/com_kunena/template/default/post.php (where default is the template you are using, else template_ex/ or template_gray/ etc.)
line:
Code:
if ($ip != "127.0.0.1" && $my->id != $mods->id){
change to
Code:
if ($ip != "127.0.0.1" && $my->id != $mods->id && $fb_authorname!='carsten888') {
to exclude messages being send to user with username 'carsten888'.



Maybe add a textfield 'exclude notifications to these users' in the config where an array of usernames (id's would be better) can be saved.

hope that helps someone.

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

More
16 years 11 months ago #21648 by carsten888
and in addition you can set a default for one particular user not to get noticifcations of posts.

If in your forum the default setting for getting notifications of posts is active, then you can disable that for one user. When that user makes a post, the checkbox to get notifications, which would else be selected, can be set to un-selected with this code.

file:
components/com_kunena/template/default/fb_write.html.php (where default is the template you are using, else template_ex/ or template_gray/ etc.)
line:
Code:
if ($fbConfig->subscriptionschecked == 1) { ?> <input type = "checkbox" name = "subscribeMe" value = "1" checked /> <i><?php echo _POST_NOTIFIED; ?></i> <?php }
change to:
Code:
if ($fbConfig->subscriptionschecked == 1 && $my->id!=97) { ?> <input type = "checkbox" name = "subscribeMe" value = "1" checked /> <i><?php echo _POST_NOTIFIED; ?></i> <?php }
where 97 is the id of the user which is not to recieve notifications.

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

Time to create page: 0.263 seconds