Remove Spam Check

Home Forums Calendar Products Community Events Remove Spam Check

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #26943
    Arvid
    Participant

    Hi there,

    is there a possibility to remove the spam check? Tried to comment the SPAM-check but then it fails to go through as it is not checked.

    Thanks,

    Arvid

    #27006
    Casey
    Participant

    Arvid,
    You should be able to do this with the following:

    1) Make sure you do a template override first (https://theeventscalendar.com/faq/what-are-template-overrides-and-how-do-i-do-them/)
    2) Then find your event-form.php file and then replace the SCRIPT block starting on line 18 with the following code: https://gist.github.com/3935859

    I was able to successfully test this in my environment, but let me know if you have any issues. Thanks!

    #27019
    Arvid
    Participant

    Thanks Casey,

    change the block at line 18. Even when I comment line 118 ( $this->formSpamControl();) I get the error message. When I don’t comment the message, the SPAM check line still shows up on the page. When I don’t check it, I also get the error message.

    Not sure what I am doing wrong here.

    #27029
    Casey
    Participant

    Arvid,
    Can you send me a link to your ‘Submit Event Page’ so I can take a look?

    #27111
    Arvid
    Participant
    #27114
    Casey
    Participant

    Arvid,
    Sorry to hear you’re still having issues. It looks like this is an issue with your theme not including jQuery (or another plugin is conflicting) and causing JavaScript errors: http://d.pr/i/hcaB

    Unfortunately, since this solution works in the default theme, this would fall under our policy of not supporting custom themes (https://theeventscalendar.com/support/forums/topic/read-this-an-important-note-on-plugintheme-deactivation/). Sorry I’m not able to help you more than that.

    #27280
    Arvid
    Participant

    Thanks Casey, didn’t see that error before. Let me work on that first before I get back to you.

    #27281
    Arvid
    Participant

    Something strange was going on. We have now include the code in the header of WordPress. We noticed that the hidden.category was not needed. The code used (and which is working now) is:

    //’Click’ the checkbox and then hide it and the label
    // jQuery(‘input[name=”naes”]’).click();
    jQuery(‘input[name=”naes”]’).attr(‘checked’, true);
    jQuery(‘input[name=”naes”]’).toggle();
    jQuery(‘.naes’).toggle();

    });

    #27282
    Casey
    Participant

    Glad to hear you got everything sorted! I’m closing out this thread, but feel free to start a new one if you have further issues. Thanks!

    #978065
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Remove Spam Check’ is closed to new replies.