[SOLVED] - User disabled but getting mail

11 years 1 week ago - 11 years 1 week ago #225324 by BO-Samson
Hello,

I am wondering, that a disabled user gets email from group-jive. For example group members get notifications of new posts, although the receiver of the notification-mail is disabled.

Is there a possibility to prevent this automatically? At the moment I have to ban them manually, but this is not so good, I think.

Regards
Samson
The following user(s) said Thank You: deltafidesign

Please Log in to join the conversation.

11 years 1 week ago #225337 by krileon
Replied by krileon on topic User disabled but getting mail
Wow, the query isn't filtering out blocked users. I can't believe no one found this until now, lol. There's no feature for it or anything of the sort as it's a bug. I've created the below bug ticket to fix for next release. Quickfix as follows (this will ensure all access permission checks respect the user being blocked or CB banned) by treating them as unregistered users.

IN: /components/com_comprofiler/plugin/user/plug_cbgroupjive/cbgroupjive.class.php
ON: Line 956
FROM:
if ( $user->id ) {
TO:
if ( $user->id && ( ! $user->block ) && $user->approved && $user->confirmed && ( ! $user->banned ) ) {

forge.joomlapolis.com/issues/3976


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: deltafidesign

Please Log in to join the conversation.

11 years 1 week ago #225356 by BO-Samson
Replied by BO-Samson on topic User disabled but getting mail
Hello,

this works great! I just tested every case I could imagine. Everything seems to work well now!

Thank you for very fast support!

Regards
Samson
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.212 seconds

Facebook Twitter LinkedIn