WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bg
    Member
    Posted 1 year ago #

    Hi, I would like to know how do I get rid of the text and the 4 fields that come with it: Write down whats your favorite hobby is (required)? It really does not look nice on the registration page. I thank you in advance for anybody that could help me out.

    My website is, http://buddygalaxy.com.

    http://wordpress.org/extend/plugins/wangguard/

  2. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    You don't hace to see it.

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

    It is a honeypot...

  3. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

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

    Kind regards

  4. knobby44
    Member
    Posted 1 year ago #

    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.

  5. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic