Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 51 through 75 (of 492 total)
  • Author
    Search Results
  • ppp12345
    Participant

    I’m happy with the profile part of the registration form, however the account setup in Nouveau is a different story. How can I disable only the account part, any ideas?

    #315824
    craigburdett
    Participant

    I created a fresh install of WordPress, removed all themes except TwentyTwenty and all default plugins. Installed Buddypress from the WP repository. Activated. This is a fresh install set up to troubleshoot this Buddypress problem in another install.

    I can add users in the backend. If BP is disabled, users can register using the default registration.

    No WP errors are created or logged. A single proxy error is thrown. Noted below with real domain masked.

    Any suggestions?

    ********************

    1. Which version of WordPress are you running?
    Wordpress 5.5.3

    2. Did you install WordPress as a directory or subdomain install?
    Subdirectory

    3. If a directory install, is it in root or in a subdirectory?
    subdirectory

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    Fresh installation

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    yes

    6. Which version of BP are you running?
    Version 6.4.0

    7. Did you upgraded from a previous version of BP? If so, from which version?
    No. Fresh install

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    None

    9. Are you using a standard WordPress theme or customized theme?
    No

    10. Which theme do you use ?
    Twenty-twenty

    11. Have you modified the core files in any way?
    No

    12. Do you have any custom functions in bp-custom.php?
    No

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    None

    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress
    One error noted in proxy_error_log
    2020/12/01 13:37:19 [error] 31520#0: *5156884 “/var/www/vhosts/DOMAIN.com/httpdocs/testing2/register/index.html” is not found (2: No such file or directory), client: 143.244.45.55, server: DOMAIN.com, request: “POST /testing2/register/ HTTP/2.0”, host: “DOMAIN.com”, referrer: “https://DOMAIN.com/testing2/register/”

    All debug options enabled in wpconfig but WP throws no errors or creates a log file.

    15. Which company provides your hosting?
    1and1 dedicated server

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Apache & nginx

    17. Which BP Theme are you using?
    None additional

    18. Have you overloaded any BuddyPress template files.
    Touched none

    19. Any other site customisations that might have a bearing on the issue?
    Fresh install

    20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress – Options page.
    Buddypress Nouveau (but also tried with Buddypress Legacy)

    #313175
    honoluluman
    Participant

    Hello 🙂

    I am trying to set up my website that makes use of BP with W3TC and i also run WPML. I get this problem,, when i use object cache from W3TC in the /members/ page, i can see the members in one version of language but not in the other. If i disable object cache then i don’t get this issue. (the same for registration page)

    For BP i only use very basic components, see image https://ibb.co/Q9Jxzj4

    Any ideas would be appreciated.

    iamthewebb
    Participant

    Ahh the site is using the Legacy Template pack, this doesn’t happen with Nouveau template. You can switch between templates on the options page within buddypress settings.
    Unfortunately I’m unfamiliar with this but https://buddypress.org/support/topic/how-to-disable-stay-on-page-confirmation-popup-from-registration-page/ has a possible solution.

    #311915
    twmcmahan
    Participant

    I have over 4000 active users on Buddypress – and it’s a Spam Magnet.

    I’ve tried a few things I’ve found in past threads, but doesn’t seem to be working. Registrations are e-mail verified, and coming from gmail for the most part. The Spam users don’t seem to have the same IP range to ban, etc.

    First people were just creating profiles. Then they started using the messages system. Disabled that. Then they started sending Friend requests to other users. Then they started replying to other users basic activity.

    I’ve tried throttling, they just make more accounts. I’ve tried ReCaptcha on every messaging form. A week later someone still manages to reply to activity to a few hundred users in a day.

    I’ve essentially disabled every single interaction possibility at this point, which severely hobbles the usefulness of buddypress in the first place.

    Any ideas for something that actually works to stop spam?

    #311609
    balebond
    Participant

    Running WordPress 5.4.1. and Buddypress 5.2. Users can’t register. With all other plugins off and using 2019 or 2020 themes, the front-end registration is still not working. The page does a quick refresh but no confirmation message, nothing recorded in database and no emails are sent. Not sure when this stopped working but had been on auto-pilot for at least a year with various plugins and Socialize theme by Ghostpool/Envato. User registration from the admin panel does work. With Buddypress also disabled saw that WordPress user registrations would work. https://godhelp.net/register/

    Any ideas?

    #311039
    Varun Dubey
    Participant

    @easytomake You can try to disable BuddyPress registration
    https://gist.github.com/r-a-y/5578432

    César
    Participant

    The last update March / April 2020, has caused an uncomfortable and inconvenient situation:

    We have been using the LEARNDASH, Bbpress and BudyPress Add-On for months. Excellent until this month ….

    Now…
    1. A second registration form appears (owned by Buddypress), after having used the original LEARNDASH (LMS)
    2. And in addition, a blue button began to appear above the section “Course content) that does not serve or does not fulfill its functionality.

    This affects the functionality of the LMS and service to those who wish to register. And LearnDash offers both Add-ons, Bbpress, Buddypress

    You should consider this with LearnDash and repair this so that we have the option to skip a second registration form, the one that belongs to Buddypress.

    Easy To Make has also written to LEARNDASH, but they say this is from Buddypress.

    Unfortunately we have decided for the moment to disable Bbpress and Budypress, until this is fixed.

    Thank you! CEASE
    easytomake.net

    #310784
    Varun Dubey
    Participant

    @artsybohemian BuddyPress override the default registration process, you can check following thread

    How to disable the registration function of buddypress?

    #310523
    #310117
    buddypresstest
    Participant

    Hello,

    I allow myself to contact you because I have a big problem.

    In fact, I am currently developing the site: https://piedspieds.whimpixel.fr/

    Until now, everything worked very well but overnight, the registration page is no longer accessible … (https://piedspieds.whimpixel.fr/inscription)

    Indeed, it automatically returns to the home page.

    I tried to purge the cache, recreate a registration page, go through the repair tools to reset everything, disable and reactivate the plugin but nothing helps … The famous registration page is more visible.

    Could you help me please ?

    #309476
    markcummins
    Participant

    I think you can also disable the generated password on the registration page for the nouveau theme by adding the following code to functions.php

    add_action( 'bp_before_register_page', 'bp_page_signup_disable_random_password');
    function bp_page_signup_disable_random_password(){
      add_filter( 'random_password', '__return_empty_string' );
    }
    #309445
    philliprf
    Participant

    I have a social media site I’m working on using Buddypress.

    Spam accounts are signing up without filling in any of the required fields, and I don’t understand how. WordPress registration/login is disabled, all done through a 3rd party plugin (Youzer). When I go through the registration form myself, there’s no way to skip entering information such as city, country etc. All they are signing up with is a username, email and password.

    How can I stop this? They’re messing up the layout of the members area, and just sending spam messages to actual members.

    #308984
    jennifersanchez
    Participant

    Hi! how i can do to disable the activation user of BP for login to the profile without activating and without approve the email? i saw many post of it but it was all older and it isnt work now.

    i tried this code without lucky

    add_filter( 'bp_core_signup_send_activation_key', 'ps_disable_activation_email' );
    function ps_disable_activation_email() {
    	return false;
    }
    add_filter( 'bp_registration_needs_activation', '__return_false' );

    Thanks!!

    stevecurrey
    Participant

    Hi all,

    Can anyone tell me how I go about disabling the auto generation of the strong password on the registration form?

    The users of my site are not very tech savvy and they tend to register without taking note of the password then have to reset it.

    I get daily complaints…

    The password strength notices are fine so that isn’t a problem.

    Many thanks in advance!

    Stephen.

    #308273
    404user
    Participant

    WordPress 5.2.3
    Buddypress version up to date 5.0.0.

    Hi Only the base profile is showing up on registration and being logged into account.I am trying to build a couples profile so I would have the data from both the man and the woman, how do I go about this? I want to enable extra fields and also how do i put them extra fields in a new tab? I have disabled my theme and put the twenty twelve and still the same problem, please help

    They show up in my user profile fields but nowhere else on my site, only the base is showing.

    Georgio
    Participant

    Hi everyone,
    is it possible to disable the auto-generation of passwords on the signup form?
    This features comes with the latest version of Buddypress and gives me headaches, given the configuration of my site.

    The context:
    The home page is the signup page and there is a login form on the topbar. Both browsers, Firefox and Chrome, fill the signup form with the username of the login form. The problem is with firefox who sees my username together with the auto-generated password and thinks I want to update my credentials. So everytime I login, Firefox asks me if I want to update my password. It is very annoying and I must stop this.

    Is there any snippet to disable this feature?

    Thanks in advance

    #307711
    misterjekyll
    Participant

    Hi,
    My registration seems to work fine on the computer but I get reviews that some users can’t register on their mobile device. I tried to register through mobile and have the same issues. After completing the form I get redirected to the same registration form with no errors.

    Website info:
    – WordPress version: 5.2.3–nl_NL
    – Website: mierenmarkt.be
    – Registration form: mierenmarkt.be/registratie

    I tried:
    – Disable plugins (-> didn’t work)
    – Change theme to default (-> didn’t work)

    Anyone knows any fixes? I don’t get error reports in my error logs.

    #307218
    buddyhelp
    Participant

    Hi,

    I can’t enable the registration.
    1) There is no option “allow anyone to register” in my wordpress admin settings
    2) When I click on “pages” on buddypress pages setting: under “registration” it says something in the lines of “Registration is currently disabled. Before you are allowed to register to the page, please enable the recording to select either “User office can be registered” or “Both websites and user offices can register” on this page.”

    when I write the admin username and password, it leads to a blank page saying “Sorry, you are not allowed to access this page.”

    What to do?

    Thanks for all the help in advance!

    PS: I am using a Norwegian version of it via University of Bergen, if it helps.

    fabiojr2016
    Participant

    Perfecto, muchas gracias por el código… si, con ese código si pude deshabilitar el registro de BuddyPress y dejé el registro original de WordPress. Yo cree el archivo bp-custom.php dentro de la carpeta wp-content/plugins/

    Es decir, tengo Buddypress funcionando, pero con registro de WordPress.

    <?php
    /*disable registration bp */ function my_disable_bp_registration() { remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ ); remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ ); } add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ ); add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”); function firmasite_redirect_bp_signup_page($page ){ return bp_get_root_domain() . ‘/wp-login.php?action=register’; }
    ?>

    #306759
    gobbuilder
    Participant

    Hi,

    My testsite was working fine on the 28th and stopped working on the 29th. While I changed nothing.

    The problem:
    1. Choose to register as a new user
    2. Fill in the firm and press submit.
    3. Result you get back to the registration page with the password data wiped.

    No errors in debug mode.
    Still happens when all other plugins disabled

    I have been staring at this problem for 3 hours now and I’m stuck. does anyone have an idea?

    #305900

    In reply to: Wrong count shows

    bdd
    Participant

    @prashantvatsh I’m having a similar problem and would appreciate a little clarity on your suggestion.

    1. Which email are you talking about when you say to disable the activation email?
    2. How do I auto-login them on registration?
    3. Where/how do I set it so that they’re redirected to the proper place to activate their account? (You mentioned the Users screen and you mentioned their BuddyPress profile. For either, which specific page do I list and where do I list it?)

    Thank you!

    ladymay
    Participant

    Hello,
    I would like to manually activate all new profiles as an administrator. At the moment, a new user receives an activation email, and an email notification about new user’s registration is sent to an administrator only after a newcomer activates one’s email.
    That is why I need to (1) receive a notification about a new user as soon as he/she is registered but doesn’t activate one’s profile and (2) disable a possibility to activate a profile by a user for good.
    How can I do it?
    I will utterly appreciate specific recommendations.

    zoleest
    Participant

    Hey,

    I had a problem with a code which I customized from a forum topic, but absolutely have no idea why it doesn’t work.
    I have a query in the code to upgrade the display name for the user on registration, activation, and x-profile edit. Unfortunately it only works on profile editing. The strange thing is that I put another query (a simple INSERT INTO query, which insert the user ID and the new display name into a test table) to test if my code run, and that query runs both registration and activation too. I work with 5.1.1 WordPress version and BuddyPress version 4.2.0. Profile sync is also enabled.

    Here is my code:

    function xprofile_sync_wp_profile2( $user_id = 0 ) {
    	
    
    // Bail if profile syncing is disabled
    	if ( bp_disable_profile_sync() ) {
    		return true;
    	}
    
    	if ( empty( $user_id ) ) {
    		$user_id = bp_loggedin_user_id();
    	}
    
    	if ( empty( $user_id ) ) {
    		return false;
    	}
    
    	global $wpdb;
      
        
        // Get name from x-fields
        $display_name = xprofile_get_field_data('Név',$user_id );
        
    	//Test query to detect if the function run, works every time
    	$wpdb->query("INSERT INTO test (id, name) VALUES ('".$user_id."', '".$display_name."');");
    
            //Query to update display_name, works only on x-profile edit
    	$wpdb->query( $wpdb->prepare( "UPDATE wphu_users SET display_name = '%s' WHERE ID = %d", $display_name,  $user_id ) );
    	
    }
    add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile2' );
    add_action( 'bp_core_signup_user',      'xprofile_sync_wp_profile2' );
    add_action( 'bp_core_activated_user',   'xprofile_sync_wp_profile2' );

    Thanks for your help & replies,
    David

    #303549
    airsid
    Participant

    Hello,
    Please find attached my plugins/buddypress/bp-themes/bp-default/registration/register.php content

    <?php get_header( 'buddypress' ); ?>
    
    	<div id="content">
    		<div class="padder">
    
    		<?php do_action( 'bp_before_register_page' ); ?>
    
    		<div class="page" id="register-page">
    
    			<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
    
    			<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    				<?php do_action( 'template_notices' ); ?>
    				<?php do_action( 'bp_before_registration_disabled' ); ?>
    
    					<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
    
    				<?php do_action( 'bp_after_registration_disabled' ); ?>
    			<?php endif; // registration-disabled signup setp ?>
    
    			<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    
    				<h2><?php _e( 'Create an Account', 'buddypress' ); ?></h2>
    
    				<?php do_action( 'template_notices' ); ?>
    
    				<p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p>
    
    				<?php do_action( 'bp_before_account_details_fields' ); ?>
    
    				<div class="register-section" id="basic-details-section">
    
    					<?php /***** Basic Account Details ******/ ?>
    
    					<h4><?php _e( 'Account Details', 'buddypress' ); ?></h4>
    
    					<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></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"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></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"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_password_errors' ); ?>
    					<input type="password" name="signup_password" id="signup_password" value="" />
    
    					<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    					<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    
    					<?php do_action( 'bp_account_details_fields' ); ?>
    
    				</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><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    						<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    						<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : 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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<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() ) : ?>
    
    									<div class="radio">
    										<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    										<?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() ) : ?>
    
    									<div class="checkbox">
    										<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    										<?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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    
    										<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 if ( 'url' == 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() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<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 if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/>
    
    								<?php endif; ?>
    
    								<?php do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?>
    
    								<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    									<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    										<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
    									</p>
    
    									<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
    										<fieldset>
    											<legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
    											<?php bp_profile_visibility_radio_buttons() ?>
    
    										</fieldset>
    										<a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
    									</div>
    								<?php else : ?>
    									<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    										<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
    									</p>
    								<?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; ?>
    
    						<?php do_action( 'bp_signup_profile_fields' ); ?>
    
    					</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 site', '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 bp_blogs_subdomain_base(); ?>
    							<?php else : ?>
    								<?php echo home_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( 'Site 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 site to appear in search engines, and in public listings around this network.', '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', 'buddypress' ); ?></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', 'buddypress' ); ?></label>
    
    							<?php do_action( 'bp_blog_details_fields' ); ?>
    
    						</div>
    
    					</div><!-- #blog-details-section -->
    
    					<?php do_action( 'bp_after_blog_details_fields' ); ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_registration_submit_buttons' ); ?>
    
    				<div class="submit">
    					<input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" />
    				</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() ) : ?>
    
    				<h2><?php _e( 'Check Your Email To Activate Your Account!', 'buddypress' ); ?></h2>
    
    				<?php do_action( 'template_notices' ); ?>
    				<?php do_action( 'bp_before_registration_confirmed' ); ?>
    
    				<?php if ( bp_registration_needs_activation() ) : ?>
    					<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
    				<?php else : ?>
    					<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    				<?php endif; ?>
    
    				<?php do_action( 'bp_after_registration_confirmed' ); ?>
    
    			<?php endif; // completed-confirmation signup step ?>
    
    			<?php do_action( 'bp_custom_signup_steps' ); ?>
    
    			</form>
    
    		</div>
    
    		<?php do_action( 'bp_after_register_page' ); ?>
    
    		</div><!-- .padder -->
    	</div><!-- #content -->
    
    	<?php get_sidebar( 'buddypress' ); ?>
    
    	<script type="text/javascript">
    		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>
    
    <?php get_footer( 'buddypress' ); ?>
Viewing 25 results - 51 through 75 (of 492 total)
Skip to toolbar