The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] CommentLuv & AntiSpam Bee conflict (4 posts)

  1. Alain Schlesser
    Posted 3 years ago #


    I had to find out that CommentLuv is not compatible with the AntiSpam Bee plugin. Some digging revealed that, with AntiSpam Bee enabled, CommentLuv chose the wrong textarea field to work with (the variable comObj in commentluv.js).

    After I made the following small change, everything worked fine:
    var comObj = cl_settings['comObj'] = jQuery("textarea[name='" + cl_settings['comment'] + "']",formObj);
    var comObj = cl_settings['comObj'] = jQuery("textarea[id='" + cl_settings['comment'] + "']",formObj);

    This is surely not a correct fix for every situation, but works for me.

    Would it be possible to include a more robust fix for this conflict in a future version?


  2. Andy Bailey
    Plugin Author

    Posted 3 years ago #

    You should be able to do this without editing the code.

    Check the technical settings area and there you can set the name vales of all the comment form fields so if your form uses different vales than the standard names, you can set it to use the names that anti spam bee uses instead

  3. Alain Schlesser
    Posted 3 years ago #

    No, this does not work. The thing is, the text "comment" that is configured is already correct. But CommentLuv uses the field with the NAME "comment", but it should use the field with the ID "comment". This can't be configured in the settings atm.

  4. Alain Schlesser
    Posted 3 years ago #

    Okay, I take back was I posted yesterday. It is indeed possible to get them to work together without changing the code. Check out the corresponding article here.

    Sorry, Andy, and thanks for the additional feedback and a great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CommentLuv
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic