BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin.
    Please use the following code for diabling buttons:-

    
    // Disable activity comment.
    add_filter( 'bp_activity_can_comment', '__return_false' );
    // Disable activity favourite.
    add_filter( 'bp_activity_can_favorite', '__return_false' );
    // Disable activity deletion.
    add_filter( 'bp_activity_user_can_delete', '__return_false' );
    
    

    and you can use the following for blog post comment recording

    
    
    // Disable blog comment recording.
    add_filter( "bp_activity_post_pre_comment", '__return_false' );
    add_filter( "bp_activity_pre_transition_post_type_comment_status", '__return_true' );
    
    

    You should also disable the Blog/Forum post commenting in the Dashboard->Settings->BuddyPress->Options tab.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: BuddyBoss Autologin after Registration #47285

    Thank you Cristi.

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin,
    My suggestion would be override the buddypress/activity/entry.php and remove the code.

    There are filters to disable the buttons but they will affect all other locations for these buttons.

    If that is fine, we can use use the filters instead.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tom,
    Welcome to BuddyDev support forums.

    Are you using BuddyPress or BuddyBoss? Also, which template pack and theme are you using?

    Please share the details and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: How to stop comment activities #47281

    Hi Tosin,
    Do you want to disable activity commenting?

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Carsten,
    I will definitely support using xprofile_field_get_data today.

    We have a tutorial about it from long long ago
    https://buddydev.com/fetching-and-showing-only-specific-fields-from-buddypress-xprofile-data/

    I am not sure what you want to combine from those 2 and they are doing the same thing but the post by ‘bphelp’ is a bit dated and I will avoid it today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin,
    Thank you for the question.

    There are always the way to disable it. The solution is good or not will depend on theme/template pack being used.

    Which theme and template pack are you using? If you are using a custom theme, the theme developer is the best person to approach.

    Regards
    brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: BuddyBoss Autologin after Registration #47269

    Hi Cristi,
    Thank you for using the plugin.

    At the moment, the plugin is not tested with the latest version of BuddyBoss. We will need a week before we can test it and assist you.

    Please ping us next week for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Carsten,
    Thank you for the update. Please keep me informed of the result.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: BuddyBoss not working #47267

    Hi Ariana,
    I am very sorry for the delayed reply.

    Our team has evaluated it and the current version is not compatible with BuddyBoss. The problem is Anonymous options not being added to their new Activity Form UI.

    We are trying to find a solution for injecting the options in BuddyBoss form but not sure of a final resolution yet.

    For the time being, I will get the refund issued in next 24 hours and when we have the BuddyBoss compatibility for this addon, I will post back to let you know if you need it at that time.

    Regards
    Brajesh