• Resolved BrandBull

    (@brandbull)


    Hello,
    first thanks for your work – i use first wp3-newsletter, but your’s is very, very cooler!

    So i have a little Problem… everything works fine, my template does not support sidebars on pages so i use a special plug in calls sibar and widgets (https://codecanyon.net/item/sidebar-widget-manager-for-wordpress/2287447)… so i add a sidebar (with shortcut) than i use a php-widget on widget sites an copy that in:

    — BEGINN
    <div class=”otw-sidebar otw-sidebar-1 otw-sidebar-vertical”><script type=”text/javascript”>
    jQuery(document).ready(function() {
    jQuery(‘div.knews_add_user form’).submit( function() {
    thisform = this;
    jQuery.post(jQuery(this).attr(‘action’), jQuery(this).serialize(), function (data) {
    jQuery(thisform).closest(‘div.knews_add_user’).html(data);
    });
    return false;
    });
    })
    </script><div class=”widget otw-widget-1 widget-first KnewsPlugin printWidget”><h6 class=”widgettitle”>Newsletter-Anmeldung</h6>
    <div class=”knews_add_user”>
    <style type=”text/css”>
    div.knews_add_user textarea#knewscomment {position:absolute; top:-3000px; left:-3000px;}
    </style>
    <form action=”https://mydomain.com/wp-content/plugins/knews/direct/knews_adduser.php&#8221; method=”post”>
    <label for=”email”></label>
    <input name=”email” type=”text” id=”email” style=”width:217px; height:34px; background:#F7F7F7; border:1px solid #E7E5E4; box-shadow:0 1px 2px #E9E9E9 inset; color:#BFBFBF; font-size:12px; padding:1px 25px 0 35px; value=””>
    <input type=”hidden” name=”user_knews_list” id=”user_knews_list” value=”1″ /><input type=”hidden” name=”lang_user” id=”lang_user” value=”de” /><input type=”hidden” name=”lang_locale_user” id=”lang_locale_user” value=”de-DE” /><input type=”hidden” name=”knewskey” id=”knewskey” value=”04b173ce9e3029d2d25694568a566805″ />
    <textarea name=”knewscomment” id=”knewscomment” style=”width:217px; height:34px”></textarea>

    <input type=”submit” style=”width:217px; height:34px; background:url(images/defSprites.png) no-repeat right -131px #99141b; height:34px; border:none; font-size:11px; font-family:’Open Sans’, sans-serif; text-transform:uppercase; color:#FFF; padding:1px 25px 0 16px; value=”Absenden” />
    </form>
    </div></div></div>

    — END

    So it’s working i have see it, but now everytime when i add a adress on this form -this email is incorrect- !!!????
    But all email that i add it was all correctly…. I UNDERSTAND IT, well i test it so many times know, but i do not find the mistake.

    So can you help me please????

    Thanks
    Olli

    https://www.ads-software.com/extend/plugins/knews/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author creverter

    (@creverter)

    Hello BrandBull! Thanks for your words…

    There is a special field in the subscription form, please, find “knewskey” in the code.

    This key must be unique for every page displayed. It’s an anti spambot system. The sidebar manager plugin can be caching the knews code? Please, enter again in your page, look the knewskey value and tell me if is always the same.

    PD: You can submit the site url to: contact at knewsplugin dot com?

    Plugin Author creverter

    (@creverter)

    Hello, @brandbull!

    The problem is easy to explain:

    Knews prints a code in every subscription form. This param is alive, and must be generated everytime. Your code is always the same, then, the param is incorrect, and knews reply the “bad e-mail” message. This is a feature to avoid stupid bots that try to fill any form for publish automated spam messages in WP blogs…

    The right way to put costumised subscription forms in your themes are:

    <?php echo knews_plugin_form(); ?>

    You can put a shortcode in any page/post too:

    [knews_form]

    If you can’t use this solutions, you can patch the knews.php main file:

    go to line 348 (in knews v1.1.4) and comment the line:

    //if ($this->post_safe(‘knewskey’) != $key) $stupid_bot = true;

    However, we will put in the next release a checkbox in the Knews prefs to deactivate this feature.

    PD: Give us feedback about this solution.

    Regards,
    Carles.

    Thread Starter BrandBull

    (@brandbull)

    hey charles,
    the shortcode works in the php-side-widget. so e-mail-adress was accept. great!!! i’am very happy for that. i think i must return to wp3newsletter… puh…. ??

    many thanks for support and plugin!!!!

    for another question to implemented a newsletter-template, must i start a new topic or can i ask you here again?

    olli

    Plugin Author creverter

    (@creverter)

    Great!

    Please, open a new thread for the template question, it help other users to find the same solution.

    Thank you for your donation!
    Carles.

    Thread Starter BrandBull

    (@brandbull)

    okay, open than a new one… but not now.
    i think friday or saturday… you will see it…

    thanks charles,
    bye

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Knews Multilingual Newsletters] The eMail-Adress seems to be incorrect… Always when i use’ is closed to new replies.