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: 25337
    Brajesh Singh on in reply to: Insert content before Activity page #25441

    Hi,
    BuddyPress provides you a hook to add content before activity directory . You can attch to

    
    bp_before_directory_activity
    

    action.

    example.

    
    
    add_action( 'bp_before_directory_activity', function () {
    	echo "hello activity";
    } );
    

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: Filter for specific members type in the members loop #25440

    Hi,
    I am sorry if I was notr very clear.

    Since you mentioned you are creating a custom loop, Can you please tell me how are you creating a custom loop?

    If you create a members loop, It will need the above function. If I can get some idea on how are you creating the members loop, I can assist better.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: The Urgent Ones #25430
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: The Urgent Ones #25428
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: Buddypress anonymous activity support #25426

    Hi Tosin,
    Thank you for confirming.
    We do have checkbox for comments currently.
    We can arrange to make it a checkbox in the next release for updates too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: Buddypress anonymous activity support #25424

    Please share how it looks on your site.
    You are free to use css to customize the UI as you want. Customn styles for checkbox/radio are not supported by browsers, so we do not supply custom styles. We use default radio box.

    When you are posting, you should see an option with 2 radio, post as “Anonymous” , “The actual name” with actual name being selected.

    Isn’t that happening?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: Buddypress anonymous activity support #25422

    Hi Tosin,
    It uses a radio button under status. Please share a screenshot to show how it looks on your site. The old screenshot is not visible to me.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337

    Hi Milan,
    At the moment, It is not available. We have been planning it and It will be available in future. Currently, the way we handle uploads(using dropzone and other things), does not make it work properly.

    I did an experiment a few months ago
    https://github.com/buddydev/mediapress/tree/activity-comment-upload

    but I will not recommend using that branch currently. We need to change some internals to make it available in future.,

    Rergards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25337

    Thank you Milan.

  • Keymaster
    (BuddyDev Team)
    Posts: 25337
    Brajesh Singh on in reply to: Array of user IDs for specific member type #25417

    Hi,
    Thank you for the question. I do not see a direct way to do it currently. BuddyPress does not have an API to fetch all user ids of a member type without fetching their all data(wp user info data). That is not efficient.

    If you still want it, I will post a sample with BP_User_Query.

    Thank you
    Brajesh