• harmgsn

    (@harmgsn)


    Hello,

    If I set the “contacts” to NOT use the Contact Form (ie: uncheck the “USE CONTACT FORM” checkbox in settings) it should *DISABLE* the contact form, not just hide it. I just tested setting it to disabled and yet the direct URL to the contact form still works. I’m having to disable the contact form due to spambots using it and instead resorting to just displaying the email address and hoping that Gmails filters can pick up the slack.

    On line 48 of pta-member-directory/includes/pta-display-directory.php I just added an exit(); statement – in theory there should be logic to see if that checkbox is enabled or not. If it’s not enabled it should not render a contact form.

Viewing 1 replies (of 1 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    If you have the contact form disable, then there will be no links to it, so how will the spambots find it? Sounds like you found a solution to this “issue” already.

Viewing 1 replies (of 1 total)
  • The topic ‘Contact Form – Disabling’ is closed to new replies.