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: 25486

    Hi Pablo,
    Welcome to BuddyDev support forums.

    You may use the following code and customize it as you need

    
    /**
     * Customize allowed upload sizes for xprofile custom field types.
     */
    add_filter( 'bpxcftr_allowed_sizes', function ( $allowed ) {
    	$allowed['file']  = 64; // 64MB
    	$allowed['image'] = 32; // 32 MB for image field.
    
    	return $allowed;
    } );
    

    hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Lobo,
    Thank you.

    @ravisharma
    was almost read with a shortcode but I am glad you found the solution using profile search plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Exchange Please #45857

    Hi Heather,
    I am sorry for the issue. I am not aware of any conflict.

    Can you please provide me the list of active plugins and also your registration process(e.g Registering via default WordPress, BuddyPress, WooCommerce etc..)

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Chris,
    hope you are doing well.

    Please upgrade to BuddyBlog Pro 1.2.9 and put this code in wp-content/plugins/bp-custom.php or in your themes functions.php (Or if you are using a code snippet manager, you can put it using that)

    
    
    /**
     * Filters BuddyBlog Pro form for roles.
     */
    add_filter( 'bblpro_post_type_associated_form_id', function ( $form_id, $post_type ) {
    
    	if ( ! is_user_logged_in() || 'ccwky_announcements' !== $post_type ) {
    		return $form_id;
    	}
    
    	$roles = wp_get_current_user()->roles;
    	if ( in_array( 'subscriber', $roles ) ) {
    		$form_id = 27931;
    	} else if ( array_intersect( array( 'staff', 'administrator' ), $roles ) ) {
    		$form_id = 27932;
    	}
    
    	return $form_id;
    }, 10, 2 );
    
    

    It will show the specific forms for the roles.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Thank you Chris.
    I am glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Exchange Please #45850

    Hi Heather,
    Welcome to BuddyDev support forums.
    Please check your account. I have added the plugin to your account.

    I have left the other plugin also enabled for download.

    Please let me know if it works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Chris,
    Thank you.

    Which post type are you using? Is it the default Post post type?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi jabagh,
    Welcome to BuddyDev support forums.

    I am sorry, the repeater field is not supported. The plugin only supports basic fields.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Follow All With Autofriendship Pro? #45840

    Hi Chris,
    Thank you. I am expecting it sometimes in the next month.

    Regards
    Brajesh