LF_TEMPBLOCK_ALERT option

Post Reply
Black Tiger
Junior Member
Posts: 73
Joined: 17 Feb 2009, 14:14
Contact:

LF_TEMPBLOCK_ALERT option

Post by Black Tiger »

CSF is great but I'm missing a "LF_TEMPBLOCK_ALERT = x" option.

You can use the LF_EMAIL_ALERT or LF_PERMBLOCK_ALERT options, but since permblocks won't be automatically removed (normally) and I do want to be alerted about other options (which I guess more people would like), the tempblock option is missing.

Temblocks will be removed automatically and generate a lot of email alerts, which in a lot of cases you don't need or you can always lookup the block reason in the lfd.log.

So please add a LF_TEMPBLOCK)_ALERT option so we can disable notifications about temp blocks. :)
scrupul0us
Junior Member
Posts: 9
Joined: 25 Nov 2016, 18:45

Re: LF_TEMPBLOCK_ALERT option

Post by scrupul0us »

Got my vote, this would be very useful to keep the "noise" down.
btekcan
Junior Member
Posts: 22
Joined: 22 Mar 2016, 16:30

Re: LF_TEMPBLOCK_ALERT option

Post by btekcan »

Yes I need this function also 👍 We get tousend nail every day 🙁
bayden10
Junior Member
Posts: 4
Joined: 10 Mar 2019, 23:15

Re: LF_TEMPBLOCK_ALERT option

Post by bayden10 »

I agree, this would be a nice addition.
scrupul0us
Junior Member
Posts: 9
Joined: 25 Nov 2016, 18:45

Re: LF_TEMPBLOCK_ALERT option

Post by scrupul0us »

This would be very easy to implement:

In csf.conf create a new option:

Code: Select all

LF_TEMP_EMAIL_ALERT = "1"
Then in lfd.pl alter the conditional on line 2520 to:

Code: Select all

if ($config{LF_EMAIL_ALERT} && ($perm || (!$perm && $config{LF_TEMP_EMAIL_ALERT})))
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: LF_TEMPBLOCK_ALERT option

Post by ForumAdmin »

We've added this in v14.08 which has just been released:
https://blog.configserver.com/
Black Tiger
Junior Member
Posts: 73
Joined: 17 Feb 2009, 14:14
Contact:

Re: LF_TEMPBLOCK_ALERT option

Post by Black Tiger »

It took some time but worth waiting for. Thank you very much!
Post Reply