Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

[SOLVED] - User disabled but getting mail

  • BO-Samson
  • BO-Samson
  • OFFLINE
  • Posts: 28
  • Thanks: 5
  • Karma: 0
11 years 7 months ago - 11 years 7 months 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
Last edit: 11 years 7 months ago by BO-Samson.
The following user(s) said Thank You: deltafidesign

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
11 years 7 months 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:
Code:
if ( $user->id ) {
TO:
Code:
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 or Create an account to join the conversation.

  • BO-Samson
  • BO-Samson
  • OFFLINE
  • Posts: 28
  • Thanks: 5
  • Karma: 0
11 years 7 months 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum