WordPress.org

Support

Support » Plugins and Hacks » [Resolved] CommentLuv & AntiSpam Bee conflict

[Resolved] CommentLuv & AntiSpam Bee conflict

  • Hi,

    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:
    BEFORE:
    var comObj = cl_settings['comObj'] = jQuery("textarea[name='" + cl_settings['comment'] + "']",formObj);
    AFTER:
    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?

    http://wordpress.org/extend/plugins/commentluv/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andy Bailey

    @commentluv

    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

    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.

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] CommentLuv & AntiSpam Bee conflict’ is closed to new replies.