WordPress.org

Ready to get started?Download WordPress

Forums

Javelin Email Marketing
[resolved] [Plugin: WP Responder Email Newsletter and Autoresponder Plugin] Anti spam method? (3 posts)

  1. MacItaly
    Member
    Posted 4 years ago #

    Good plugin, but I miss an important function: one antispam security method like Captcha.
    May be a future addition?
    And could be very useful a translation system of plugin
    Thanks a lot, anyway

    http://wordpress.org/extend/plugins/wp-responder-email-autoresponder-and-newsletter-plugin/

  2. rajasekharan
    Member
    Posted 4 years ago #

    Hi

    Translation is something I am looking into for a later version. The plugin wasn't created with the intention of being this big. So a lot of hard coding with into it which will take some time to make i18n-able.

    Raj

  3. emmvie
    Member
    Posted 3 years ago #

    honeypot instead of non-accessible captcha

    Captcha's aren't all that easy to implement actually and above all they aren't accessible for visually impaired people.

    Try a so-called honeypot instead, it's just a few lines of code where you test whether an invisible field is filled out (which only a spambot would do). See for example this:
    (sorry, it's in German):
    http://www.openwebboard.org/Tutorials/HTML_CSS/Barrierefreie_CAPTCHAs_1.html?1286521026#voting

    The php code I'm using starts on line 301 of wpresponder.php in the plugin folder:

    //a visitor is trying to subscribe.
    
    			if (isset($_GET['wpr-optin']) && $_GET['wpr-optin'] == 1)
    
    			{
    
    # begin honeypot
    				if ($_POST['email2'] !== "")
    
    			     {
                             exit('Gotcha');
    				}
    
    # end honeypot
                        require "optin.php";			
    
    				exit;
    
    			}

    In my html template I have:

    <h2>E-Mail Newsletter-Abo</h2>
    <form action="<?php echo $ahl_root_abs; ?>?wpr-optin=1" method="post">
      <span class="wpr-subform-hidden-fields">
          <input type="hidden" name="blogsubscription" value="none" />
          <input type="hidden" name="newsletter" value="1" />
          <input type="hidden" name="fid" value="1" />
      </span>
    <label for="name">Name: </label>
         <input type="text" name="name" />
    <label for="email">E-Mail: </label>
         <input type="text" name="email" />
    <label for="email2">Hier bitte nichts eintragen sonst bekommst du eine Fehlermeldung Wiederholung E-Mail: </label>
         <input class="email2" type="text" name="email2" value="" />
    <input type="submit" value="Abonnieren" class="btn" id="newssubmit" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'" />
    </form>

    In css I have:

    input.email2 {
         visibility: hidden;
         height: 1px;
    }
    label[for="email2"] {
         visibility: hidden;
         height: 1px;
    }

    It's not very sophisticated but it works and was genuinely easy to implement and test.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic