BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How do I change dropdown label? #40299

    Hello Lisa,

    Thank you for posting. You can you any translator plugin and Update the text ‘– Everything –‘. Please do let me know if it help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Contact Form Roles #40297

    Hello RES,

    Thank you for reporting the issue. Please upgrade to the latest version of the plugin and give it shot.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Donation feature for buddypress #40257

    Hello Tosin,

    I have checked and tested the code and it is working fine for me. Please check the following link:

    // User no details.
    https://tinyurl.com/ygtvoj56

    // User with details.
    https://tinyurl.com/yk5vtq8b

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Error HTTP when trying to upload a file #40252

    Hello Dave,

    Link you have mentioned showing me “Page not found” message. I have just uploaded a sample doc file please check:

    https://www.ecocomedoresdecanarias.com/grupos/grupo-de-sensibilizacion/mediapress/wall-doc-gallery/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Donation feature for buddypress #40250

    Hello Tosin,

    I will recheck this code and will let you know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Hide group roles based on group type #40249

    Hello Omar,

    Thank you for the acknowledgment. Please try the following code:

    
    
    add_filter( 'bp_after_group_has_members_parse_args', function ( $args ) {
    	$group = groups_get_current_group();
    
    	$types = bp_groups_get_group_type( $group->id, false );
    
    	if ( ! $types ) {
    		return $args;
    	}
    
    	$exclude = array();
    
    	if ( in_array( 'A', $types ) && bp_group_has_moderators( $group ) ) {
    		// Exclude moderators.
    		$exclude = bp_group_mod_ids( $group, 'array' );
    	} elseif ( in_array( 'B', $types ) ) {
    		// Exclude Administrators.
    		$exclude = bp_group_admin_ids( $group, 'array' );
    	}
    
    	$args['exclude'] = empty( $args['exclude'] ) ? $exclude : array_merge( (array) $args['exclude'], $exclude );
    
    	return $args;
    } );
    
    

    Let me know if it helps or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Error HTTP when trying to upload a file #40247
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Buddyblog pro / Blog categories for groups #40237

    Hello Daniel,

    Thank you for posting here. You can override the plugin template with your theme template. just override in the following way:

    
    To override a template, please create a directory named "bcg" in your theme/child theme.
    
    Once you have this directory, copy any file from plugin/blog-categories-for-groups/template/bcg/ to yourtheme/bcg/
    
    For example, to override posts.php, you will copy it to yourtheme/bcg/posts.php and modify.
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Hide group roles based on group type #40236

    Hello Omar,

    Thank you for posting. By group role, I am assuming you are talking about Group Members, Group Moderators, and Group Admins. On the basics of group type, you want to hide them. Is it you are looking for?

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Donation feature for buddypress #40235

    Hello Tosin,

    Missing details will not show until all fields are empty.

    Regards
    Ravi