A sane way to delete comments (Kukkaisvoima version 7)

Deleting comments have been little hard with Kukkaisvoima. Version 7 fixes this problem intruducing admin interface to delete comments. When you are viewing some specific blog entry, you get Admin heading on the sidebar. Clicking it will append ?admin to the url and show delete comment link beside comment. Clicking delete comment will ask password (new setting variable for version 7) and delete comment if the password is correct. Deleting comment will erase it permanently.

Second improvent in version 7 is spam question. Commenting blog entry will now ask question which will hopefully reduce spam.

Kukkaisvoima 7 got also some "refactoring" and new setting variables:

  • nospamanswer = '5' (Answer to spam question)
  • passwd = 'password' (password for deleting comments)

Since kukkaisvoima_settings.py contains now somewhat sensitive information you should block all access to it from public web. For example I have the following settings on my .htaccess file:

<files kukkaisvoima_settings.py>
 order allow,deny
 deny from all
</files>

If the passwd value is set to 'password' comments cannot be deleted from web interface. This is for those, who for some reason cannot hide the kukkaisvoima_settings.py and still want to use Kukkaisvoima.

Version 7 intrudes also some new language variables

  • l_nospam_question = 'What\'s 2 + 3?'
  • l_delete_comment = 'Delete comment'
  • l_passwd = 'Admin password'
  • l_admin = 'Admin'
  • l_admin_comments = 'Manage comments'
  • l_do_you_delete = 'Your about to delete comment this, are you sure you want to that?'

Download version 7 here.

Categories: Kukkaisvoima
Date: 2007-04-20, 4 years and 294 days ago

Leave reply

No html allowed in reply

Notify me of follow-up comments via email.