Replies
- Niculae Constantinescu on May 24, 2023 at 4:52 am in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49596This reply has been marked as private.
- Niculae Constantinescu on May 15, 2023 at 5:43 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro #49522
Hi,
You are right.
There was a code that hidden the users.
I removed that code and everything it is OK now.
Thank you for pointing me to the right direction.Regards
Cristi - Niculae Constantinescu on May 14, 2023 at 12:11 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro #49509
Hi,
I tried that but it does not add any friend.
I am using a Custom Registration Page with Auto Login After Registration and Redirecting to an Internal Page after Registration.
I am also using this code from BuddyBoss://Disable validation for registration
function disable_validation( $user_id ) {
global $wpdb;
$wpdb->query( $wpdb->prepare( “UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d”, $user_id ) );
$users = $wpdb->get_results( “SELECT activation_key, user_login FROM {$wpdb->prefix}signups WHERE active = ‘0’ “); foreach ($users as $user) {
bp_core_activate_signup($user->activation_key);
BP_Signup::validate($user->activation_key); //fix roles
$user_id = $wpdb->get_var( “SELECT ID FROM $wpdb->users WHERE user_login = ‘$user->user_login'”); $u = new WP_User( $user_id );
$u->add_role( ‘subscriber’ );
}
} add_action( ‘bp_core_signup_user’, ‘disable_validation’ );
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );
add_filter( ‘bp_core_signup_send_activation_key’, ‘__return_false’ );If you have any other suggestion it will be perfect
Thank you
Cristi - Niculae Constantinescu on May 13, 2023 at 2:07 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro #49501
Hi,
I have three members to the global friendship list.
The friends were added upon the user registration.
There are only showing two on that user Profile, perhaps the new registered user deleted one.Thank you
Cristi - Niculae Constantinescu on May 12, 2023 at 3:56 pm in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49479This reply has been marked as private.
- Niculae Constantinescu on May 12, 2023 at 3:28 pm in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49478This reply has been marked as private.
- Niculae Constantinescu on May 12, 2023 at 12:57 pm in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49476This reply has been marked as private.
- Niculae Constantinescu on May 12, 2023 at 11:26 am in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49472This reply has been marked as private.
- Niculae Constantinescu on May 12, 2023 at 11:08 am in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49471This reply has been marked as private.
- Niculae Constantinescu on May 12, 2023 at 10:58 am in reply to: BuddyBlog Pro multiple empthy article Auto Draft #49469This reply has been marked as private.