Make Profile link, link to the BuddyPress profile instead of the WordPress dashboard? [closed]

There are two ways to do that: From the plugin settings page On the “Loggedin Links” option, the second anchor tag is pointing to WordPress profile by default: ‘<a href=”http://yoursite.com/wp-admin/profile.php”>Profile</a>’. You have to update this to point to Buddypress profile page, to do so, you need to know what is the members domain that Buddypress … Read more

How to increase password requirements for registration [closed]

Use a hook that fires later and add the $bp global to the function. Try this: function bp_password_beefing() { global $bp; if ( !empty( $_POST[‘signup_password’] ) ) if ( strlen( $_POST[‘signup_password’] ) < 6 ) $bp->signup->errors[‘signup_password’] = __( ‘Your password needs to be at least 6 characters’, ‘buddypress’ ); } add_action( ‘bp_signup_validate’, ‘bp_password_beefing’);

Remove tabs from buddypress groups and members pages [closed]

Managed to crawl through the core code and find this function: bp_core_remove_subnav_item So you can do something like this: function remove_group_options() { global $bp; bp_core_remove_subnav_item($bp->groups->slug, ‘members’); bp_core_remove_subnav_item($bp->groups->slug, ‘send-invites’); } add_action( ‘bp_setup_nav’, ‘remove_group_options’ );

Buddypress get member meta info for specific user ID [closed]

to get the buddypress profile field data use: bp_get_profile_field_data( array( ‘field’ => ‘your-field-slug’, ‘user_id’ => $user_id ) ); to get the avatar look up bp_get_member_avatar(), and for the name there is bp_displayed_user_fullname() but you need to be in the bp_has_members loop for that one.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)