Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    The plugin is aimed for site admins only. So if you have more than one site admin, they can use it.

    Even better, do you use Profile Visibility Manager? If yes, I will suggest avoid the stealth mode and just set the user has hidden from everywhere in the visibility manager.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Load more activity faster #12053

    Hi
    2. There is nothing random there. It is base on the position of your “Load More” button. When you scroll near to that button, more activities are loaded.

    4. That tutorial is aimed at theme developer. It was based on BP Default theme. Since you mentioned in another thread that you don’t code, I will not suggest venturing into that type of modification.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Aubrey,
    Thank you for posting.

    I sincerely appreciate you taking time to help me understand it properly. I do see the issue clearly now. Please allow me to explore further this week(Sorry about this, just to need to set aside some time for this).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Please put the above code in your child-theme/functions.php.

    Also, can you please clarify this?

    
    Hi Please also give me same function code used for plugin: Stealth Mode for Site admin
    

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Idea plugin. user widget & activity tinymce #12046

    Sorry, At the moment, we are unable to take any new request. I will suggest you to reopen it in Feb next year.

    PS: Please post Ideas in the Request/feedback forums.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Load more activity faster #12045

    Hi Julia,
    1.The Button:- It depends on the theme. So, it depends on your theme. You can’t get as it is from the BP default theme.

    2. It is most probably your server. The activity response comes from server, I don’t see any delay on the js we have.

    Please check by deactivating the plugin if your activity loads faster.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    You are welcome!

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    No problem.
    You can put this code

    
    
    /**
     * Disable recording for some users. These users will not appear in list from now onwards.
     *
     * @param bool $is_enabled is recording enabled.
     * @param int  $user_id the user id we are checking for.
     *
     * @return bool
     */
    function buddydev_custom_disable_visitor_recording( $is_enabled, $user_id ) {
    
    	$disabled_user_ids = array( 1, 2 ); // add the user ids here.
    
    	if ( in_array( $user_id, $disabled_user_ids ) ) {
    		$is_enabled = false;
    	}
    
    	return $is_enabled;
    }
    
    add_action( 'visitor_is_visit_recordable', 'buddydev_custom_disable_visitor_recording', 10, 2 );
    
    

    In your theme’s functions.php or in the bp-custom.php.

    If you are uncomfortable with it, please drop me an email with ftp details and I will do it for you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Patrick,
    Thank you.

    I will supply you with the code for it then.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Julia,
    It’s a good suggestion. Allow me to check the feasibility and get back to you in next 24 hours.

    Thank you
    Brajesh