Replies
- Brajesh Singh on July 29, 2022 at 10:11 am in reply to: Upload size in BuddyPress Xprofile Custom Field Types #45859
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 - Brajesh Singh on July 29, 2022 at 10:06 am in reply to: [Resolved] Page that shows only user with specific profile field value #45858
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 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- Brajesh Singh on July 29, 2022 at 10:01 am in reply to: [Resolved] Custom Fields Per Role in BuddyBlog Pro #45856
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 - Brajesh Singh on July 27, 2022 at 7:08 pm in reply to: [Resolved] BuddyBlog Checkboxes Aren’t Visible #45851
Thank you Chris.
I am glad it is resolved.Regards
Brajesh 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- Brajesh Singh on July 26, 2022 at 9:47 pm in reply to: [Resolved] Custom Fields Per Role in BuddyBlog Pro #45843
Hi Chris,
Thank you.Which post type are you using? Is it the default Post post type?
Regards
Brajesh - Brajesh Singh on July 26, 2022 at 9:32 pm in reply to: Conditional Profile Fields not working with Repeater Fields #45842
Hi jabagh,
Welcome to BuddyDev support forums.I am sorry, the repeater field is not supported. The plugin only supports basic fields.
Regards
Brajesh - Brajesh Singh on July 26, 2022 at 9:31 pm in reply to: [Resolved] Page that shows only user with specific profile field value #45841
Thank you.
Hi Chris,
Thank you. I am expecting it sometimes in the next month.Regards
Brajesh