miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Bugs miniBB Support Forums / Bugs /   

Banned members being sent email notifications

Author Vishal
Registered
#1 | Posted: 27 May 2011 23:54 | Edited by: Vishal 
If a user's membership is set to "No" (from the user profle), he/she still receives email notifications on subscribed topics.

Author Paul
Lead Developer
#2 | Posted: 28 May 2011 03:17 
Nice point, thanks!
I'll take a look.

Author Vishal
Registered
#3 | Posted: 28 May 2011 07:10 
Thanks Paul!

Author Vishal
Registered
#4 | Posted: 4 Jul 2011 00:10 
Did you get time to look into it Paul?

Author Paul
Lead Developer
#5 | Posted: 4 Jul 2011 09:13 | Edited by: Paul 
This will be implemented in the upcoming version of miniBB. The implementation method is to completely remove a user from email notifications table, when he is set to inactive (i.e. "Member" = No under the profile). It will have no way back to restore subscriptions, but probably it's a good punishment for the user, and a cleaning method for the table.

Under bb_func_usernfo.php, you may find the code which says:

updateArray(array($dbUserAct),$Tu,$dbUserId,$user);

add after it:

//remove emails from subscriptions when making the user inactive
if($_GET['activity']==0) db_delete($Ts, 'user_id', '=', $user);

Besides of it, the newer miniBB release will not send email notifications to the users, who have "unconfirmed" status of their email, if it was changed in Profile.

Author Vishal
Registered
#6 | Posted: 4 Jul 2011 23:23 
Thanks Paul!

Bugs miniBB Support Forums / Bugs / Banned members being sent email notifications Top
Your Reply Click this icon to move up to the quoted message
 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Extend your miniBB-forums, attaching the images and files,
get the File and Picture Attachments add-on!
Galleries / Attachments Addon for miniBB