BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: [Resolved] Buddycircles #28932

    I get this error when an admin try to delete an user that has some circles (I automatically add circles to new users using the plugin):

    Fatal error: Uncaught Error: Call to undefined method stdClass::delete() in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/buddycircles/src/core/circle-functions.php:78 Stack trace: #0 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/buddycircles/src/handlers/class-actions-handler.php(202): bcircles_delete_circle(Object(stdClass)) #1 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(289): PressThemes\BuddyCircles\Handlers\Actions_Handler->on_account_delete(33) #2 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #3 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/vhosts/mydomain.com/httpdocs/wp-admin/includes/user.php(367): do_action(‘delete_user’, 33, NULL) #5 /var/www/vhosts/mydomain.com/httpdocs/wp-admin/users.php(197): wp_delete_user(33) #6 {main} thrown in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/buddycircles/src/core/circle-functions.php on line 78

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: [Resolved] Buddycircles #28664

    yes sorry its working after they press on delete, I only had to hide “delete” button with css
    If for example they rename a circle or change its privacy the changes will be only for their profile or globally?

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: [Resolved] Buddycircles #28662
    
    add_filter( 'bcircles_user_can_delete_circle', function ( $can ){
    	 // only admins can.
    	return is_super_admin();
    });
    

    It’s not working, users are still able to delete and edit the circles
    thanks

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: Circle followers list #28621

    Thanks @ravisharma its working very well but there isn’t the Orderby dropdown

    I’m using buddypress-message-privacy and now that I’ve switched to circles (instead of friends), is there a way to set messages privacy to: Only members that are in my circles?

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: Circle followers list #28588

    and I think there is no pagination, if possible I also need to show the number of users in the tab “Affiliate Users 123” (like the friends tab)

    • This reply was modified 4 years, 7 months ago by damland.
  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: Circle followers list #28586

    Hello,
    Yes it’s working but it isn’t using the default design of the theme (member cards): https://pasteboard.co/J2zbLhM.png

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: Circle followers list #28557

    To any user visiting the profiles
    Thanks

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: Circle followers list #28550

    Hi @sbrajesh
    Yes ok honour circle privacy would have been better, but it’s not a problem
    Thanks

  • Participant
    Level: Enlightened
    Posts: 38

    I have the same problem on my theme, when the user clicks on accept request if I refresh the page the request its still there (without adding him as friend). I had to turn off the plugin

  • Participant
    Level: Enlightened
    Posts: 38
    damland on in reply to: [Resolved] Buddycircles #26804

    1. Ok, thanks
    2. Ok, thanks
    3. I’m using Legacy, and I really need this…
    Ok I will test again and open new topic for the Friendship Restrictions, sorry about that
    Thank You