Thursday, 11 April 2013 18:22

New Extension - BNR K2 Comment Notify

Written by 
Rate this item
(5 votes)

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 -

  1. Make the extension a plugin, no core hacks to Joomla or K2.
  2. Allow the admin to enter and email address or list of addresses to send the notifications to.
  3. Include the content of the comment in the notification so the admin does not have to go looking for it.
  4. 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.

Brent Friar

Brent Friar is the owner and chief web developer for BNR Branding Solutions. His development experience dates back to 1994 when he was a founding partner of Internextion Web Development in Orange County, CA.

PLG_K2_UEF_SOCIAL_PROFILES

PLG_K2_UEF_GOOGLE_PLUS

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.