MT author comment notification

17 Oct 2003

If you’ve ever left a comment-reply to users who’ve left comments on your site – you’ll get a email notification the same as you do for every commenter. This can prevented however.

Go to lib/MT/App/Comments.pm in your MT folder and find the line that reads:

MT::Mail->send(\%head, <<BODY); 

This is on line 152 if you’re using MT 2.64. Change it to:

MT::Mail->send(\%head, $body) unless $author->email eq $comment->email;

And you’re done. However, if you’re using Jay Allens MT Blacklist plug in, you’ll need to change the code in the Blacklist.pm file instead. ScriptyGoddess shows you how.

Contact us

Call Jon on +44 (0)7917 391536, email or tweet @hicksdesign.

Alternatively, pop in for tea and cake at the studio…

Hicks
Wenrisc House
Meadow Court
Witney, OX28 6ER
United Kingdom