JComments fix for disabling comments in articles
Last Updated on Wednesday, 07 December 2011 03:20 Wednesday, 07 December 2011 00:16
Jcomments, the awesome free comment component for Joomla!, has also the possibility of disabling comments on a case by case basis. All you have to do is inserting "{ jcomments lock }" (without the spaces) in the article you want to disable the commenting function in.
However, the current version 2.2.0.2 has a bug: while the message "This content has been locked. You can no longer post any comment." is displayed users are still able to reply, reply with quote and quote. Smart, the mastermind behind jcomments, has provided a fix which I re-post here from the jcomments forums:
Find at around line 304 in components/com_jcomments/jcomments.class.php the following code:
Replace this code with the following:
and you're good.
Edit: In order for the fix to work you have to turn off the cache in global configuration.
Blue Menu
Latest Comments
- mod_2ClickShare - Datenschutzf...
Thank you for your interest. I will try... Weiterlesen...
27.03.12 20:30
Von ΠΥΡΟΤΕΧΝΗΜΑΤΑ - mod_2ClickShare - Datenschutzf...
No, but feel free to take the javascript included ... Weiterlesen...
07.03.12 11:21
Von vaggi









