Friday, 28 October 2016
  0 Replies
  1K Visits
0
Votes
Undo
Hi,

Just a litle tip, if a user is banned in community builder, he is still active in the normal user management so he we still be able to receive alerts.
If you want to avoid that, you have to modify the file in the component : \site\models\emails.php

Line 347 :

$query = "SELECT #__users.id FROM #__users left join #__comprofiler on #__users.id = #__comprofiler.id WHERE #__users.block = 1 or #__comprofiler.confirmed = 0 or #__comprofiler.approved = 0 or #__comprofiler.banned = 1";

I've had te confirmed and approved properties for security but i'm not sure it's mandatory.

Hope it could help somebody ... and maybe be integrated in a future release.