Results 1 to 7 of 7

Thread: [FIXED] ReCaptcha appear in the middle when using custom fields

  1. #1
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts

    Thumbs up [FIXED] ReCaptcha appear in the middle when using custom fields

    Hello!

    This bug found fajrie and post it in the thread http://forums.appthemes.com/recaptch...-fields-36198/

    This happened because of the fact that the function to insert captcha is located before the hook for insert additional fields.
    This bug is actual for ACFCP Plugin v1.0

    Now I will tell you how to fix this bug.

    1. Find the file \includes\forms\register\register-form.php

    2. Find this code (44-59 lines):
    PHP Code:
                    <?php 
                              
    // include the spam checker if enabled
                              
    appthemes_recaptcha();
                            
    ?> 

                    <div id="checksave">

                        <p class="submit">
                            <input tabindex="6" class="btn_orange" type="submit" name="register" id="wp-submit" value="<?php _e('Create Account','appthemes'); ?>" />
                        </p>

                                            <?php do_action('register_form'); ?>

                    </div>

                </form>
    3. And replace with the following code:
    PHP Code:
                    <div id="checksave">

                        <p class="submit">
                            <input tabindex="6" class="btn_orange" type="submit" name="register" id="wp-submit" value="<?php _e('Create Account','appthemes'); ?>" />
                        </p>

                                            <?php do_action('register_form');

                              
    // include the spam checker if enabled
                              
    appthemes_recaptcha();
                            
    ?> 
                    </div>
                </form>
    Thats all!

    I reported it to AppThemes developers, and I hope in the next version this bug go away.

    Thanks for fajrie
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  2. The Following 3 Users Say Thank You to dikiyforester For This Useful Post:

    barukar (August 29th, 2012), fajrie (August 30th, 2012), somihaz (March 10th, 2013)

  3. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  4. #3
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  5. The Following User Says Thank You to dikiyforester For This Useful Post:

    fajrie (August 30th, 2012)

  6. #4
    fajrie's Avatar
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    9
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #5
    fajrie's Avatar
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    9
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #6
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  9. #7
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ReCaptcha appear in the middle when using custom fields
    By fajrie in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: August 31st, 2012, 08:39 AM
  2. More Fields in Registerform and Profile-Page / Custom Fields
    By magicfingers in forum ClassiPress General Discussion
    Replies: 2
    Last Post: September 4th, 2011, 06:39 PM
  3. How can 'fixed text' instruction-fields be added to custom form
    By swapmama in forum ClassiPress General Discussion
    Replies: 3
    Last Post: August 23rd, 2011, 02:38 PM
  4. ClassiPress 3.1 Custom Fields not fixed
    By vienna in forum Report ClassiPress Bugs
    Replies: 8
    Last Post: July 11th, 2011, 11:24 AM