BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: Critical fatal error Buddycommerce #45867

    Hi Igan,
    I am sorry for the delayed reply.

    I have tested the plugin with latest version of BuddyBoss and WooComerce and it is working fine.

    Please share the php error log to allow me see what is causing fatal error at your end.

    Thank you
    Brjahes

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: [Resolved] How to Add Name on Registration #45866
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: [Resolved] How to Add Name on Registration #45865
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: [Resolved] How to Add Name on Registration #45860
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25211

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

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

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

    Thank you Chris.
    I am glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    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