miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

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

Banned members being sent email notifications

 
Author Vishal
Partaker
#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
Partaker
#3 | Posted: 28 May 2011 07:10 
Thanks Paul!

Author Vishal
Partaker
#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
Partaker
#6 | Posted: 4 Jul 2011 23:23 
Thanks Paul!

Bugs miniBB Support Forums / Bugs /
 Banned members being sent email notifications
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message text.


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 ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP