A hack for NP_TrackBack
You are visiting a NucleusCMS powered blog. NucleusCMS is a good blog system, the only (?) problem is that it doesn't support trackbacks itself. So I use the plugin NP_TrackBack to add trackback support.
NP_TrackBack was good, especially on its anti-spam ability. It blocks nearly all my received trackback pings automatically (I haven't got any real trackback yet, all I got were spams).
NP_TrackBack can also send a notification to me when a trackback ping received. But the problem is, that it also send me notification about blocked trackback pings.
I have faith on its anti-spam ability, so I don't wanna get notifications about blocked trackbacks. But I do hope get a notification on real trackbacks. So finally, I've made this hack.
I've added a option to NP_TrackBack not to send notification on blocked pings (see the screenshot below), so that my mailbox won't be spammed instead of my blog. And its default value is "no", so that it won't change your default settings.
Here's the patch file and the plugin php file itself (don't forget to replace the ".txt" extension with ".php" ). Cause I've added a option, you can't simply replace your old file if you are currently using NP_TrackBack plugin. You may need to uninstall your old one and install your new one to make it work.