If you are like most businesses, you have a love/hate relationship with commenting on your website. As attractive as it is to allow users to interact with your site, having the possibility of spammers using your comments or worse, someone posting inappropriate or derogatory remarks about your business is not worth the benefit of allowing comments. This means that you have to have some sort of comment moderation before anything is published on your live site.
For us K2 users, there is no built in comment notification system. For some time, BNR used a third party extension that offered many subscription and notification options. It really did a lot more than we needed, but it worked. Unfortunately, the extension has not been updated for Joomla 2.5 or the latest version of K2 (which has undergone some pretty big changes). So we went without, that is until we finally decided to get off our duff and do it ourselves.
We decided to take the KISS (Keep It Simple Stupid) approach and create a plugin that just fills the basic needs of comment notification. After seeing how our clients were using their sites, this is what we came up with -
- Make the extension a plugin, no core hacks to Joomla or K2.
- Allow the admin to enter and email address or list of addresses to send the notifications to.
- Include the content of the comment in the notification so the admin does not have to go looking for it.
- Include a link in the email to allow for easy approval of the comment.
See? Simple. Someone leaves a comment, you get an email with everything you need to quickly approve the comment. There are already some features we can think of that would be nice to have, so we'll eventually add more based on the feedback we get from our users, but we think it's a pretty simple way to address the issue without overly complicating the administration of your website.