Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress Login Widget

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robin-w

    Moderator

    you can edit the profile page to prevent them changing it

    In your theme create a bbpress folder

    wp-content/themes/%yourtheme%/bbpress

    where %yourtheme% is the name of your theme

    then navigate to

    wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php

    and copy this file to the bbpress folder you created above

    bbpress will now use this one instead of the default.

    edit this new file and take out lines 33 to 45

    ie take out the following

    <div>
    			<label for="nickname"><?php _e( 'Nickname', 'bbpress' ); ?></label>
    			<input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
    		</div>
    		<div>
    			<label for="display_name"><?php _e( 'Display Name', 'bbpress' ) ?></label>
    			<?php bbp_edit_user_display_name(); ?>
    		</div>
    		<?php do_action( 'bbp_user_edit_after_name' ); ?>
    

    This will remove the ability to set a nickname and to change the display name.

    @chapman387

    Participant

    Thanks Robin, that worked a treat!
    Cheers,
    Chris

    @robin-w

    Moderator

    great, glad you’re fixed

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar