BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Please use the following function ‘bblpro_ppp_form_has_pay_per_post_enabled’ instead of ‘bblpro_ppp_is_form_pay_per_post_enabled’. Please give it a try

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Lobo.

    Thank you for the acknowledgement. Please let me know what your requirements mean do you want to filter URL field value for a specific user or based on other criteria so that I can help you.

    Also, please post me the code you are using.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Lobo,

    Thank you for posting. Please use the following code to filter all URL field values you can restrict it using field id given as function argument.

    
    add_filter( 'bp_get_the_profile_field_value', function ( $field_value, $field_type, $field_id ) {
    
    	if ( ! bp_is_user() ) {
    		return $field_value;
    	}
    
    	$user_id = bp_displayed_user_id();
    
    	// You can play with user id.
    	if ( 'url' == $field_type ) {
    		$field_value = sprintf( '<a href="%s">%s</a>', esc_url( 'https://mywebsite.com/test_customized_link/' ), esc_html__( 'URL is now hidden' ) );
    	}
    
    	return $field_value;
    }, 10, 3 );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: User Badge, Badges are not displayed #45686

    Hello Julian,

    Thank you for using the plugin. Please let me know are you working with Custom Badges or Role or Member Type-specific badges. Also, Let me know which theme or template pack you are using so that I can help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    We are working on the docs and plugin page for BuddyBlog Pay Per Post Plugin. It will available soon.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Privacy Setting #45682

    Hello Alex,

    Thank you for posting. “Who can post on my timeline” is a specific feature of the BuddyBoss platform plugin. Please contact BuddyBoss contact for the same. They will assist you better on this issue.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BuddyPress Block Users from the activity posts #45643

    Hello John,

    Sorry for the delayed reply. It is not a suitable position for the block button because buttons on the activity list perform actions associated with the activity item only.

    But, If you still want to add the block button there please let me know with the template pack and the theme you are using so that I can check and help you with the code.

    Regards
    Ravi

    • This reply was modified 2 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Exclude admin from all members lists? #45642

    Hello Carsten,

    Thank you for the acknowledgement. I am glad that I could help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Exclude admin from all members lists? #45630

    Hello Carsten,

    The issue was BuddyPress using the rest API calls to list dynamic member lists which is why our members were not excluded in this case. Please try the following filter with the same code

    
    add_filter( 'bp_rest_members_get_items_query_args', 'buddydev_exclude_logged_and_admin_users' );
    
    

    Please check

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Exclude admin from all members lists? #45628

    Hello Carsten,

    Thank you for the acknowledgement. Please let me know what are Dynamic Members List and how is this list created so that I can check.

    Regards
    Ravi