BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] Unable to Deactivate Buddypress #43296

    Ok, Thanks for Reply 🙂

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] Unable to Deactivate Buddypress #43293

    Hi There, I Had to Migrate All Content to A New WordPress Installation, to Deactivate Buddypress.
    Anyways, it is Solved Now. Is There a Way to Filter all Activity Updates into Two Categories, One With Images, and The Other without Images (Only Text)?
    I Have to Create a New Section which Contains Updates with Only Texts and One with Only Images.
    Thank You 🙂
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] Unable to Deactivate Buddypress #43290

    I Already Tried Disabling Every Other Plugin, and Even Changed the Theme to Buddyboss, Still Unable to Deactivate the Buddypress Plugin.
    Thanks for Reply

  • Participant
    Level: Enlightened
    Posts: 83

    Hi Brajesh,
    Thanks for Reply (Even on Weekends😅)

    Will Look into Something that Will Create A New Activity Type or Something.
    Updated the Next Line of Code, Thanks for That 🙂

    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83

    A Thing More, I Use the Following Code from Your Posts –

    
    
    function buddydev_friends_only_activity_args( $args ) {
    	
    	if( ! bp_is_activity_directory() || !  is_user_logged_in() ) {
    		return $args;
    	}
    	
    	$user_id = get_current_user_id();
    	$user_id_admin = 1;
    	$user_id_manager = 32;
    	$user_ids = friends_get_friend_user_ids( $user_id );
    	
    	//include users own too?
    	array_push( $user_ids, $user_id, $user_id_admin, $user_id_manager);
    	
    	$args['user_id'] = $user_ids;
    	
    	//print_r($args);
    	return $args;
    
    }
    add_filter( 'bp_after_has_activities_parse_args', 'buddydev_friends_only_activity_args' )
    
    

    Can I Make Everything Visible to the Admin Account, I Mean No Filtering Happens when An Admin user is Logged In (or User with User ID= 1) and Admin Sees All Activites.
    Adding Something Like ‘If Is User ID 1 then Do Not Return Args’ ?
    Any Other Suggestions regarding the Code I Already Use is Appreciated too.

    Thank You,
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83

    Hi Brajesh, Thanks for Reply.
    Unfortunately, It Doesn’t Seem that a New Activity Type is Created based on Videos.
    Do I Need to Do Something to Create New Activity Types on Adding Videos? Or Any Can It Still Be Filtered Directly?
    Thank You 🙂

  • Participant
    Level: Enlightened
    Posts: 83

    Thanks You Ravi,
    Worked 🙂

  • Participant
    Level: Enlightened
    Posts: 83

    Hi Ravi,
    Thanks for Reply.

    Unfortunately, that Didn’t Work.
    Would Using Cloudflare Caching Cause an Issue? As that Adds Another Query String?
    If Not, The Complete Permalink, I’m Trying to Work with is This – /profile/?uid=29&swcfpc=1

    Thank You 🙂
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83

    Ok, Thank You 🙂

  • Participant
    Level: Enlightened
    Posts: 83

    Hi,
    Sure Brajesh. No Issues at All.

    I have One More Query, The Members Directory Shows Pagination by Default, And Metafans Hides the Button for Next Page or Something Similar. is There A Way to Load Members Directory Infinitely? Or Else Bringing Back the Next Page Button would be Even Great

    Thank You,
    Cromacio