Importing users to Buddypress with custom fields

I ended up writing a bunch of MySQL statements. My process went: Add users into wp_users. Add first name into wp_usermeta. Add last name into wp_usermeta. Add nickname into wp_usermeta. Add last activity into wp_usermeta. (This is important for BuddyPress; otherwise, users won’t show up in the members-loop) Add name to BuddyPress. Add custom “phone” … Read more

Showing the user’s username in registration email or activation page with BuddyPress [closed]

You can add the username to the activation e-mail by adding this code either to the bp-custom.php or to the theme’s functions.php file add_filter(‘bp_core_signup_send_validation_email_message’, ‘add_username_to_activation_email’,10,3); function add_username_to_activation_email($msg, $u_id, $activation_url) { $username = $_POST[‘signup_username’]; $msg .= sprintf( __(“After successful activation, you can log in using your username (%1\$s) along with password you choose during registration process.”, … Read more

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