BuddyPress: Member registration not working in IE

Hi Guys,

For some reason, visitors using IE are unable to register/create an account on my BuddyPress site.

When hitting 'submit' on the registration form, the page simply refreshes rather than re-directing to the avatar upload form.

Browser displays the following error:

Line: 149
Char: 41
Error: Expected ';'
Code: 0
URL: http:www.eq24.co.uk/test/register

Line 149 on the register.php file is as follows:

<select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_options( 'type=day' ) ?></select>

Problem occurs on IE6 & IE7 - untested in IE5 & IE8.

BP 1.2.6
WP 3.0.3

Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l
PHP/5.3.1
MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Any help would be hugely appreciated.

Cheers!

  • Julian Evans

    Hi Mason,

    Thanks for the response!

    The typo was in the theme - which is a very heavily modified version of the standard BuddyPress theme (set-up as a child theme).

    Unfortunately I'm unable to provide a link as the site has yet to go live and we have confidentiality agreements in place with potential sponsors. I understand that this makes it slightly trickier for you to help me!

    I've pasted my register.php file below:


    <!DOCTYPE HTML>
    <html>
    <head>
    <title>
    <?php bp_page_title() ?>
    </title>
    <meta charset=utf-8>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
    <?php endif; ?>
    <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
    <?php endif; ?>
    <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
    <?php endif; ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    stLight.options({publisher:'694b07ff-d056-4e17-abd8-09da4905a1dc'});
    /* ]]> */
    </script>
    <?php wp_enqueue_script("jquery"); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <!-- .Site -->
    <div class="site">
    <div id="top-nav">
    <?php wp_nav_menu( array ('theme_location' => 'main-navigation','menu_class' => 'nav' )); ?>
    <ul class="account">
    <?php if ( is_user_logged_in() ) : ?>

  • ">Manage Account
  • ">Log out
  • <?php else : ?>

  • /log-in">Log In
  • <?php endif; ?>

    </div>
    <!-- .Page -->
    <div class="page">
    <!-- #Header -->
    <div id="header"> "><img class="branding" src="<?php echo site_url() ?>/img/logo.jpg" /> <span class="leaderboard"><img src="<?php echo site_url() ?>/img/leaderboard.jpg" alt="Lookers" /></span> </div>
    <!-- END #Header -->
    <!-- #Sub-Header -->
    <div id="sub-header-container">
    <div class="sub-header">
    <?php if ( is_user_logged_in() ) : ?>

    • Currently logged in as:<?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?>
    • ">Log out

    <?php else : ?>

    <?php endif; ?>
    <?php get_search_form(); ?>
    </div>
    </div>
    <!-- END #Sub-Header -->
    <div>
    <!-- #Content -->
    <div id="content">

    <?php do_action( 'bp_before_register_page' ) ?>
    <form action="" name="signup_form" id="signup_form" class="register-form" method="post" enctype="multipart/form-data">
    <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    <?php do_action( 'template_notices' ) ?>
    <?php do_action( 'bp_before_account_details_fields' ) ?>

    <div class="register-section" id="basic-details-section">
    <?php /***** Basic Account Details ******/ ?>
    <h4>Account Details</h4>
    <label for="signup_username">Username (required)</label>
    <?php do_action( 'bp_signup_username_errors' ) ?>
    <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    <label for="signup_email">Email address (required)</label>
    <?php do_action( 'bp_signup_email_errors' ) ?>
    <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    <label for="signup_password">Choose a password (required)</label>
    <?php do_action( 'bp_signup_password_errors' ) ?>
    <input type="password" name="signup_password" id="signup_password" value="" />
    <label for="signup_password_confirm">Confirm password (required)</label>
    <?php do_action( 'bp_signup_password_confirm_errors' ) ?>
    <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    </div>
    <!-- #basic-details-section -->

    <?php do_action( 'bp_after_account_details_fields' ) ?>

    <?php /***** Extra Profile Details ******/ ?>
    <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    <?php do_action( 'bp_before_signup_profile_fields' ) ?>
    <div class="register-section" id="profile-details-section">
    <h4>Profile Details</h4>
    <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    <?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <div class="editfield">
    <?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
    <label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <input type="text" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" value="<?php bp_the_profile_field_edit_value() ?>" />
    <?php endif; ?>
    <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    <label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_edit_value() ?></textarea>
    <?php endif; ?>
    <?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
    <label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_options() ?></select>
    <?php endif; ?>
    <?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
    <label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple"><?php bp_the_profile_field_options() ?></select>
    <?php endif; ?>
    <?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
    <span class="label"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></span>
    <div class="checkbox">
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <?php bp_the_profile_field_options() ?>
    <?php if ( !bp_get_the_profile_field_is_required() ) : ?>' );"><?php _e( 'Clear', 'buddypress' ) ?>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    <?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
    <span class="label"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></span>
    <div class="checkbox">
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <?php bp_the_profile_field_options() ?>
    </div>
    <?php endif; ?>
    <?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
    <div class="datebox">
    <label for="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    <select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_options( 'type=day' ) ?></select>
    <select name="<?php bp_the_profile_field_input_name() ?>_month" id="<?php bp_the_profile_field_input_name() ?>_month"><?php bp_the_profile_field_options( 'type=month' ) ?></select>
    <select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name() ?>_year"><?php bp_the_profile_field_options( 'type=year' ) ?></select>
    </div>
    <?php endif; ?>
    <?php do_action( 'bp_custom_profile_edit_fields' ) ?>
    <p class="description"><?php bp_the_profile_field_description() ?></p>
    </div>
    <?php endwhile; ?>
    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />
    <?php endwhile; endif; endif; ?>
    </div>
    <!-- #profile-details-section -->
    <?php do_action( 'bp_after_signup_profile_fields' ) ?>
    <?php endif; ?>

    <?php if ( bp_get_blog_signup_allowed() ) : ?>
    <?php do_action( 'bp_before_blog_details_fields' ) ?>
    <?php /***** Blog Creation Details ******/ ?>
    <div class="register-section" id="blog-details-section">
    <h4><?php _e( 'Blog Details', 'buddypress' ) ?></h4>
    <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /><?php _e( 'Yes, I\'d like to create a new blog', 'buddypress' ) ?></p>
    <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    <label for="signup_blog_url">
    <?php _e( 'Blog URL', 'buddypress' ) ?>
    <?php _e( '(required)', 'buddypress' ) ?>
    </label>
    <?php do_action( 'bp_signup_blog_url_errors' ) ?>
    <?php if ( is_subdomain_install() ) : ?>
    http://
    <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
    .<?php echo str_replace( 'http://', '', site_url() ) ?>
    <?php else : ?>
    <?php echo site_url() ?>/
    <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
    <?php endif; ?>
    <label for="signup_blog_title">
    <?php _e( 'Blog Title', 'buddypress' ) ?>
    <?php _e( '(required)', 'buddypress' ) ?>
    </label>
    <?php do_action( 'bp_signup_blog_title_errors' ) ?>
    <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value() ?>" />
    <span class="label">
    <?php _e( 'I would like my blog to appear in search engines, and in public listings around this site', 'buddypress' ) ?>
    :</span>
    <?php do_action( 'bp_signup_blog_privacy_errors' ) ?>
    <label>
    <input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> />
    <?php _e( 'Yes' ) ?>
    </label>
    <label>
    <input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> />
    <?php _e( 'No' ) ?>
    </label>
    </div>
    </div>
    <!-- #blog-details-section -->
    <?php do_action( 'bp_after_blog_details_fields' ) ?>
    <?php endif; ?>

    <?php do_action( 'bp_before_registration_submit_buttons' ) ?>
    <p class="terms">By creating an account you agree to our /terms-of-use">terms and conditions</p>
    <div class="submit">
    <input type="image" name="signup_submit" id="signup_submit" src="<?php echo site_url() ?>/img/signup-button.jpg" value="Submit" alt="Submit" />
    </div>
    <?php do_action( 'bp_after_registration_submit_buttons' ) ?>

    <?php wp_nonce_field( 'bp_new_signup' ) ?>
    <?php endif; // request-details signup step ?>
    <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    <h4>You're almost there!</h4>
    <?php do_action( 'template_notices' ) ?>
    <?php if ( bp_registration_needs_activation() ) : ?>
    <p>To begin getting the most out of EQ you will need to activate your account via the email we have just sent to your address. Please check your email.</p>
    <?php else : ?>
    <p>Congratulations, you have successfully created your account! Please /log-in">log in using the username and password you have just created.</p>
    <?php endif; ?>
    <?php if ( bp_is_active( 'xprofile' ) && !(int)bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?>
    <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
    <p>Your profile image...</p>
    <p>Want to use your own image? Upload it now.</p>
    <div id="signup-avatar">
    <?php bp_signup_avatar() ?>
    </div>
    <p>
    <input type="file" name="file" id="file" />
    <input type="submit" name="upload" id="upload" value="<?php _e( 'Upload Image', 'buddypress' ) ?>" />
    <input type="hidden" name="action" id="action" value="bp_avatar_upload" />
    <input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    <input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    </p>
    <p>To skip this step and go to your profile, please /log-in">Log in. You can always change your profile image later on.</p>
    <?php wp_nonce_field( 'bp_avatar_upload' ) ?>
    <?php endif; ?>
    <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?>
    <h3><?php _e( 'Crop Your New Avatar', 'buddypress' ) ?></h3>
    <img src="<?php bp_avatar_to_crop() ?>" id="avatar-to-crop" class="avatar" alt="<?php _e( 'Avatar to crop', 'buddypress' ) ?>" />
    <div id="avatar-crop-pane"> <img src="<?php bp_avatar_to_crop() ?>" id="avatar-crop-preview" class="avatar" alt="<?php _e( 'Avatar preview', 'buddypress' ) ?>" /> </div>
    <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php _e( 'Crop Image', 'buddypress' ) ?>" />
    <input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    <input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    <input type="hidden" name="signup_avatar_dir" id="signup_avatar_dir" value="<?php bp_signup_avatar_dir_value() ?>" />
    <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src() ?>" />
    <input type="hidden" id="x" name="x" />
    <input type="hidden" id="y" name="y" />
    <input type="hidden" id="w" name="w" />
    <input type="hidden" id="h" name="h" />
    <?php wp_nonce_field( 'bp_avatar_cropstore' ) ?>
    <?php endif; ?>
    <?php endif; ?>
    <?php endif; // completed-confirmation signup step ?>
    <?php do_action( 'bp_custom_signup_steps' ) ?>
    </form>
    <?php do_action( 'bp_after_register_page' ) ?>
    <?php do_action( 'bp_after_directory_activity_content' ) ?>
    <script type="text/javascript">
    /* <![CDATA[ */
    jQuery(document).ready( function() {
    if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
    jQuery('div#blog-details').toggle();

    jQuery( 'input#signup_with_blog' ).click( function() {
    jQuery('div#blog-details').fadeOut().toggle();
    });
    });
    /* ]]> */
    </script>

    </div><!-- END #Content -->

    <div id="sidebar" class="register">
    <h4>Why sign-up?</h4>
    <p>Joining EQ is simple and free. Once you've created your account you'll be able to:</p>

    • Connect with users
    • Send and receive messages
    • Buy and sell horses and equipment
    • Post on forums
    • Join groups
    • Comment on news, reviews and articles

    </div>

    </div><!-- END #Page -->
    <!-- #Footer -->
    <div id="footer">
    <span class="leaderboard"><img src="<?php echo site_url() ?>/img/leaderboard-footer.jpg" alt="Barclays" /></span>
    <div id="copyright">
    <p>Copyright 2010 Equestrian24. All rights reserved.</p>
    <?php wp_nav_menu( array ('theme_location' => 'footer-navigation' )); ?>
    </div>
    </div><!-- END #Footer -->
    </div><!-- END #Site -->

    </body>
    </html>

    Any help would be massively appreciated!

  • Julian Evans

    Hmm.

    It didn't seem to like that code much.

    <!DOCTYPE HTML>
    <html>
    <head>
    <title>
    <?php bp_page_title() ?>
    </title>
    <meta charset=utf-8>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
    <?php endif; ?>
    <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
    <?php endif; ?>
    <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
    <?php endif; ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    	stLight.options({publisher:'694b07ff-d056-4e17-abd8-09da4905a1dc'});
    /* ]]> */
    </script>
    <?php wp_enqueue_script("jquery"); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <!-- .Site -->
    <div class="site">
    <div id="top-nav">
    	<?php wp_nav_menu( array ('theme_location' => 'main-navigation','menu_class' => 'nav' )); ?>
    	<ul class="account">
    		<?php if ( is_user_logged_in() ) : ?>
    		<li><strong><a href="<?php echo bp_loggedin_user_domain() ?>">Manage Account</a></strong></li>
    		<li><a href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>">Log out</a></li>
    		<?php else : ?>
    		<li><strong><a href="<?php echo site_url() ?>/log-in">Log In</a></strong></li>
    		<?php endif; ?>
    	</ul>
    </div>
    <!-- .Page -->
    <div class="page">
    <!-- #Header -->
    <div id="header"> <a href="<?php echo site_url() ?>"><img class="branding" src="<?php echo site_url() ?>/img/logo.jpg" /></a> <span class="leaderboard"><a href="#"><img src="<?php echo site_url() ?>/img/leaderboard.jpg" alt="Lookers" /></a></span> </div>
    <!-- END #Header -->
    <!-- #Sub-Header -->
    <div id="sub-header-container">
    	<div class="sub-header">
    		<?php if ( is_user_logged_in() ) : ?>
    		<ul>
    			<li>Currently logged in as:<?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></li>
    			<li><a href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>">Log out</a></li>
    			<li></li>
    			<li></li>
    		</ul>
    		<?php else : ?>
    		<ul>
    			<li>Are you an EQ member?</li>
    			<li><a href="<?php echo site_url() ?>/register">Create an account</a></li>
    			<li><a href="<?php echo site_url() ?>/log-in">Log in</a></li>
    		</ul>
    		<?php endif; ?>
    		<?php get_search_form(); ?>
    	</div>
    </div>
    <!-- END #Sub-Header -->
    <div>
    <!-- #Content -->
    <div id="content">
    
    <?php do_action( 'bp_before_register_page' ) ?>
    <form action="" name="signup_form" id="signup_form" class="register-form" method="post" enctype="multipart/form-data">
    	<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    	<?php do_action( 'template_notices' ) ?>
    	<?php do_action( 'bp_before_account_details_fields' ) ?>
    
    	<div class="register-section" id="basic-details-section">
    		<?php /***** Basic Account Details ******/ ?>
    		<h4>Account Details</h4>
    		<label for="signup_username"><strong>Username</strong> (required)</label>
    		<?php do_action( 'bp_signup_username_errors' ) ?>
    		<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    		<label for="signup_email"><strong>Email address</strong> (required)</label>
    		<?php do_action( 'bp_signup_email_errors' ) ?>
    		<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    		<label for="signup_password"><strong>Choose a password</strong> (required)</label>
    		<?php do_action( 'bp_signup_password_errors' ) ?>
    		<input type="password" name="signup_password" id="signup_password" value="" />
    		<label for="signup_password_confirm"><strong>Confirm password</strong> (required)</label>
    		<?php do_action( 'bp_signup_password_confirm_errors' ) ?>
    		<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    	</div>
    	<!-- #basic-details-section -->
    
    	<?php do_action( 'bp_after_account_details_fields' ) ?>
    
    	<?php /***** Extra Profile Details ******/ ?>
    	<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    	<?php do_action( 'bp_before_signup_profile_fields' ) ?>
    	<div class="register-section" id="profile-details-section">
    		<h4>Profile Details</h4>
    		<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    		<?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    		<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    		<div class="editfield">
    			<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
    				<label for="<?php bp_the_profile_field_input_name() ?>"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<input type="text" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" value="<?php bp_the_profile_field_edit_value() ?>" />
    			<?php endif; ?>
    			<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    				<label for="<?php bp_the_profile_field_input_name() ?>"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_edit_value() ?></textarea>
    			<?php endif; ?>
    			<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
    				<label for="<?php bp_the_profile_field_input_name() ?>"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_options() ?></select>
    			<?php endif; ?>
    			<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
    				<label for="<?php bp_the_profile_field_input_name() ?>"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple"><?php bp_the_profile_field_options() ?></select>
    			<?php endif; ?>
    			<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
    			<span class="label"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></span>
    			<div class="checkbox">
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<?php bp_the_profile_field_options() ?>
    				<?php if ( !bp_get_the_profile_field_is_required() ) : ?><a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name() ?>' );"><?php _e( 'Clear', 'buddypress' ) ?></a>
    			<?php endif; ?>
    			</div>
    			<?php endif; ?>
    			<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
    			<span class="label"><strong><?php bp_the_profile_field_name() ?></strong><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></span>
    			<div class="checkbox">
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<?php bp_the_profile_field_options() ?>
    			</div>
    			<?php endif; ?>
    			<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
    			<div class="datebox">
    				<label for="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_name() ?><?php if ( bp_get_the_profile_field_is_required() ) : ?> (required)<?php endif; ?></label>
    				<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
    				<select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_options( 'type=day' ) ?></select>
    				<select name="<?php bp_the_profile_field_input_name() ?>_month" id="<?php bp_the_profile_field_input_name() ?>_month"><?php bp_the_profile_field_options( 'type=month' ) ?></select>
    				<select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name() ?>_year"><?php bp_the_profile_field_options( 'type=year' ) ?></select>
    			</div>
    			<?php endif; ?>
    			<?php do_action( 'bp_custom_profile_edit_fields' ) ?>
    			<p class="description"><?php bp_the_profile_field_description() ?></p>
    		</div>
    		<?php endwhile; ?>
    		<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />
    		<?php endwhile; endif; endif; ?>
    	</div>
    	<!-- #profile-details-section -->
    	<?php do_action( 'bp_after_signup_profile_fields' ) ?>
    	<?php endif; ?>
    	<?php if ( bp_get_blog_signup_allowed() ) : ?>
    	<?php do_action( 'bp_before_blog_details_fields' ) ?>
    	<?php /***** Blog Creation Details ******/ ?>
    	<div class="register-section" id="blog-details-section">
    		<h4><?php _e( 'Blog Details', 'buddypress' ) ?></h4>
    		<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /><?php _e( 'Yes, I\'d like to create a new blog', 'buddypress' ) ?></p>
    		<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    			<label for="signup_blog_url">
    			<?php _e( 'Blog URL', 'buddypress' ) ?>
    			<?php _e( '(required)', 'buddypress' ) ?>
    			</label>
    			<?php do_action( 'bp_signup_blog_url_errors' ) ?>
    			<?php if ( is_subdomain_install() ) : ?>
    			http://
    			<input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
    			.<?php echo str_replace( 'http://', '', site_url() ) ?>
    			<?php else : ?>
    			<?php echo site_url() ?>/
    			<input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
    			<?php endif; ?>
    			<label for="signup_blog_title">
    			<?php _e( 'Blog Title', 'buddypress' ) ?>
    			<?php _e( '(required)', 'buddypress' ) ?>
    			</label>
    			<?php do_action( 'bp_signup_blog_title_errors' ) ?>
    			<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value() ?>" />
    			<span class="label">
    			<?php _e( 'I would like my blog to appear in search engines, and in public listings around this site', 'buddypress' ) ?>
    			:</span>
    			<?php do_action( 'bp_signup_blog_privacy_errors' ) ?>
    			<label>
    			<input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> />
    			<?php _e( 'Yes' ) ?>
    			</label>
    			<label>
    			<input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> />
    			<?php _e( 'No' ) ?>
    			</label>
    		</div>
    	</div>
    	<!-- #blog-details-section -->
    	<?php do_action( 'bp_after_blog_details_fields' ) ?>
    	<?php endif; ?>
    
    	<?php do_action( 'bp_before_registration_submit_buttons' ) ?>
    	<p class="terms">By creating an account you agree to our <a href="<?php echo site_url() ?>/terms-of-use">terms and conditions</a></p>
    	<div class="submit">
    		<input type="image" name="signup_submit" id="signup_submit" src="<?php echo site_url() ?>/img/signup-button.jpg" value="Submit" alt="Submit" />
    	</div>
    	<?php do_action( 'bp_after_registration_submit_buttons' ) ?>
    	<?php wp_nonce_field( 'bp_new_signup' ) ?>
    	<?php endif; // request-details signup step ?>
    	<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    		<h4>You're almost there!</h4>
    		<?php do_action( 'template_notices' ) ?>
    		<?php if ( bp_registration_needs_activation() ) : ?>
    		<p>To begin getting the most out of EQ you will need to activate your account via the email we have just sent to your address. <strong>Please check your email.</strong></p>
    	<?php else : ?>
    		<p>Congratulations, you have successfully created your account! Please <a href="<?php echo site_url() ?>/log-in">log in</a> using the username and password you have just created.</p>
    	<?php endif; ?>
    	<?php if ( bp_is_active( 'xprofile' ) && !(int)bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?>
    	<?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
    	<p><strong>Your profile image...</strong></p>
    	<p>Want to use your own image? Upload it now.</p>
    	<div id="signup-avatar">
    		<?php bp_signup_avatar() ?>
    	</div>
    	<p>
    		<input type="file" name="file" id="file" />
    		<input type="submit" name="upload" id="upload" value="<?php _e( 'Upload Image', 'buddypress' ) ?>" />
    		<input type="hidden" name="action" id="action" value="bp_avatar_upload" />
    		<input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    		<input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    	</p>
    	<p><strong>To skip this step and go to your profile, please <a href="<?php echo site_url() ?>/log-in">Log in</a></strong>. You can always change your profile image later on.</p>
    	<?php wp_nonce_field( 'bp_avatar_upload' ) ?>
    	<?php endif; ?>
    	<?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?>
    		<h3><?php _e( 'Crop Your New Avatar', 'buddypress' ) ?></h3>
    		<img src="<?php bp_avatar_to_crop() ?>" id="avatar-to-crop" class="avatar" alt="<?php _e( 'Avatar to crop', 'buddypress' ) ?>" />
    		<div id="avatar-crop-pane"> <img src="<?php bp_avatar_to_crop() ?>" id="avatar-crop-preview" class="avatar" alt="<?php _e( 'Avatar preview', 'buddypress' ) ?>" /> </div>
    		<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php _e( 'Crop Image', 'buddypress' ) ?>" />
    		<input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
    		<input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
    		<input type="hidden" name="signup_avatar_dir" id="signup_avatar_dir" value="<?php bp_signup_avatar_dir_value() ?>" />
    		<input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src() ?>" />
    		<input type="hidden" id="x" name="x" />
    		<input type="hidden" id="y" name="y" />
    		<input type="hidden" id="w" name="w" />
    		<input type="hidden" id="h" name="h" />
    		<?php wp_nonce_field( 'bp_avatar_cropstore' ) ?>
    	<?php endif; ?>
    	<?php endif; ?>
    	<?php endif; // completed-confirmation signup step ?>
    	<?php do_action( 'bp_custom_signup_steps' ) ?>
    </form>
    <?php do_action( 'bp_after_register_page' ) ?>
    <?php do_action( 'bp_after_directory_activity_content' ) ?>
    <script type="text/javascript">
    /* <![CDATA[ */
    	jQuery(document).ready( function() {
    		if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
    			jQuery('div#blog-details').toggle();
    
    		jQuery( 'input#signup_with_blog' ).click( function() {
    			jQuery('div#blog-details').fadeOut().toggle();
    		});
    	});
    /* ]]> */
    </script>
    
    </div><!-- END #Content -->
    
    <div id="sidebar" class="register">
    	<h4>Why sign-up?</h4>
    	<p>Joining EQ is simple and free. Once you've created your account you'll be able to:</p>
    	<ul>
    		<li>Connect with users</li>
    		<li>Send and receive messages</li>
    		<li>Buy and sell horses and equipment</li>
    		<li>Post on forums</li>
    		<li>Join groups</li>
    		<li>Comment on news, reviews and articles</li>
    	</ul>
    </div>
    	</div><!-- END #Page -->
    	<!-- #Footer -->
    	<div id="footer">
    		<span class="leaderboard"><a href="#"><img src="<?php echo site_url() ?>/img/leaderboard-footer.jpg" alt="Barclays" /></a></span>
    		<div id="copyright">
    			<p>Copyright 2010 Equestrian24. All rights reserved.</p>
    			<?php wp_nav_menu( array ('theme_location' => 'footer-navigation' )); ?>
    		</div>
    	</div><!-- END #Footer -->
    </div><!-- END #Site -->
    </body>
    </html>

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.