Sitewide Comment Control

Description

When you run a network, managing commenters is handled per-site. That’s normally okay, but sometimes people decide to be trolls and spam your whole network. This plugin allows you to ban, spam or moderate an unregistered commenter network wide. It does not replace the per-site blacklists or moderation lists, but acts as addition.

Sitewide Comment Control checks the author name, email address and IP address of a commenter. If they’re found to be on the list, all comments will be shunted appropriately as determined by the Network Admin:

  • Trash – all flagged comments do directly to trash
  • Moderated – all flagged comments require human moderation
  • Spam – all flagged comments go to spam

Credits

Thanks to Jan D. for the idea of moderating and spamming. Thanks to Joey and Helen for reminding me about get_permalink() and it’s silly inconsistencies.

Privacy Notes

This plugin does not track any data other than what is submitted by commenters. No additional data is recorded. No data is sent to remote services by this plugin.

Screenshots

  • Network Admin Menu
  • Example of a spammed comment

Installation

No special instructions needed.

This plugin is only network activate-able.

FAQ

If I change the blacklist using this plugin, will it change the Comment Blacklist?

No, this is completely separate.

Does this list the rejected posters?

If you set comments to be spammed or moderated, they will show up in the appropriate section of your comments page. If you set comments to be trashed they get added and goes right to trash.

What does this check?

Usernames, IP addresses, and email addresses.

Will this block partial emails?

Yes. If you put example.com in your list, it will block anything@example.com.

Be very careful when you do this! If you put in just the letter a for example, you will block all email addresses with that letter. I strongly recommend you only use full domains (‘example.com’, not just ‘example’).

Will this block wildcards?

That’s optional. The logic is a little chancy and has a higher risk of catching innocents. However if you add spammer@example.com and turn on Wildcard checking, then spammer+avoid@example.com will be caught, but spammer+another@gmail.com will not be caught. The downside to this is that spammerama@example.com will also be caught. Use at your own risk.

Will this block existing users?

This plugin will not block any logged in user, even if their email is on the list. If you don’t want them commenting, delete their accounts. It’s assumed if you let someone on your site, you mean for them to have access.

Does this work on MultiSite?

Yes, it does.

Does this work on Single Site installs?

No. But then again, you don’t need this on single installs.

What happens if a site on a network wants to block someone?

Per site blacklists override the network settings. This means if a site on the network marks a specific user to be blacklisted, even if the network option is set to spam, the comments will be blacklisted. On the other hand, if the network blacklists someone, that cannot be overruled.

Where can I help develop this?

Github – pull requests are welcome.

Reviews

Read all 1 review

Contributors & Developers

“Sitewide Comment Control” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

3.0

  • 27 December 2018 by Ipstenu
  • Updated: Internationalization
  • Updated: Move to OOP
  • Updated: Faster processing
  • Updated: Split apart the lists so you can ban and spam and moderate.
  • New: Wildcards now supported (with caveats)