WordPress.org

Support

Support » Plugins and Hacks » WangGuard » [Resolved] [Plugin: WangGuard] How do I get rid of this: Write down whats your favorite hobby is (required)?

[Resolved] [Plugin: WangGuard] How do I get rid of this: Write down whats your favorite hobby is (required)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jose Conti

    @jconti

    You don’t hace to see it.

    Which browser do you use? or which plugin do you use?

    It is a honeypot…

    Plugin Author Jose Conti

    @jconti

    I suppose this is fixed because no more questions sice 4 weeks ago.

    Kind regards

    I have the same thing happening. This text shows as inserted in an event registration form (not shown by choice) and it’s only showing in Firefox. I have the latest WP installed and latest FF Browser.

    If I disable Wangguard, and re-enable it, the location of the text changes on my page as well and show or not show when enabling or disabling the plugin respectively.

    I need to get rid of this, but see no security qustions that are showing this. If I view the page with the FF Source Chart plugin, I see that it’s showing this information about the place it’s put into the page.

    <!–[if !IE]–>
    <style type=”text/css”>
    .kqfqRM {display:none; visibility:hidden}
    </style>
    <div class=”kqfqRM”>
    <input id=”nscijdxT” name=”newuser_a7a83e8d8c” value=”” type=”text”>
    </div>
    <!–[endif]–>
    <!–[if !IE]–>
    <style type=”text/css”>
    .uAstGIPkZ {position:absolute; top:-1956px}
    </style>
    <div class=”uAstGIPkZ”>
    <label for=”baa2ef2251″>
    Write down whats your favorite hobby is (required)
    </label>

    <input tabindex=”13563″ id=”fqOLxTJbV” name=”baa2ef2251″ value=”” type=”text”>
    </div>
    <!–[endif]–>
    <!–[if !IE]–>
    <input id=”hWBjdSPxL” name=”user_720301c082″ value=”” type=”hidden”>
    <!–[endif]–>

    This really needs some help right away. Thank you for the assistance in advance.

    I just found another link that has the code showing in the Wangguard PHP Script.

    http://plugins.svn.wordpress.org/wangguard/trunk/wangguard-admin.php

    So it looks as though this is not handling Firefox correctly and really messes up a professional looking page with the text in the middle of the page.

    Plugin Author Jose Conti

    @jconti

    Hi, it is a honey pot question. I dont know why it is shown in your site.

    For fix it, edit wangguard-admin.php

    Look for the line 106

    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.1/wangguard-admin.php#L106

    Comment all lines (add_action) with wangguard_add_hfield_x

    x = 1, 2, 3 or 4

    Like this:

    //add_action('register_form','wangguard_add_hfield_1' , rand(1,10));
    //add_action('register_form','wangguard_add_hfield_2' , rand(1,10));
    //add_action('register_form','wangguard_add_hfield_3' , rand(1,10));
    //add_action('register_form','wangguard_add_hfield_4' , rand(1,10));
    add_action('register_form','wangguard_register_add_question');
    add_action('register_post','wangguard_signup_validate',10,3);

    Do it for the line groups:

    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.1/wangguard-admin.php#L106
    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.1/wangguard-admin.php#L121
    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.1/wangguard-admin.php#L132

    After that, the problem will be fixed.

    Kind regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WangGuard] How do I get rid of this: Write down whats your favorite hobby is (required)?’ is closed to new replies.
Skip to toolbar