Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Disabled users still get mail from forum

Quote Reply
Disabled users still get mail from forum
I noticed if I set a user to "Disabled" in their profile and they had any "watched threads" or "reply notify" threads they still get mail when somebody replies to the thread.

There is a check in subscribe.pl that makes sure the user is in good standing before sending mail. The same check could be used in Write.pm, but the programmer did not include it.

I would not want to send forum post notify emails to a user I banned and disabled from the forum, (and they dont like it either!).
I have added the checks in my copy of Write.pm to prevent the mail to a disabled user and it works.

You could put this in the category of feature request.

The code change was only 2 lines in 2 places in Write.pm, would be happy to share with the forum programmer.

----------
Michael J. Challis - CRUZN8R - PT Cruiser Club - http://www.ptcruiserclub.org

http://www.ptcruiserclub.org/forum

Last edited by:

CRUZN8R: Feb 17, 2004, 9:26 PM
Quote Reply
Re: [CRUZN8R] Disabled users still get mail from forum In reply to
I've made this change to 1.2.2, and also added some code to GForum/Messages.pm to disallow sending private messages to disabled users.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Disabled users still get mail from forum In reply to
Great thanks. I like the forum, you guys do a good job.

----------
Michael J. Challis - CRUZN8R - PT Cruiser Club - http://www.ptcruiserclub.org

http://www.ptcruiserclub.org/forum