WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Alain Schlesser
    Member
    Posted 1 year ago #

    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/

  2. Andy Bailey
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic