Replies
Please do it from BuddyBlog->Group Settings
That menu is only available if you have BuddyBlog Groups plugin installed.
Regards
Brajesh- Brajesh Singh on March 3, 2023 at 7:00 pm in reply to: how to encrypt file name when uploading with Xprofile Custom Field Types #48658
Thank you Oscar.
Please do let me know if it worked or not?Regards
Brajesh - Brajesh Singh on March 3, 2023 at 11:05 am in reply to: BuddyBlog Groups – 1.0.0-RC-3 – possible bug – can’t save group tab settings #48652
Thank you Nik.
It does point me in the right direction.I will make sure that the status message is working properly in next release.
Thank you
Brajesh - Brajesh Singh on March 3, 2023 at 10:33 am in reply to: [Resolved] Order by – parameter for featured member plugin shortcode #48650
Hi Tosin,
Thank you for the details. I will have someone test it and write back to you early next week.Regards
Brajesh - Brajesh Singh on March 3, 2023 at 10:32 am in reply to: Show Custom Tab for users (not members) in BB Private Group #48649
Hi Azamat,
As conveyed over email, the plugin does not allow you to add public tab to private/hidden groups. That is how BuddyPress/BuddyBoss works.Marking it resolved as discussed over email.
Regards
Brajesh - Brajesh Singh on March 3, 2023 at 10:31 am in reply to: [Resolved] Display GROUPS Alphabetically in List #48648
Hi Dianne,
Thank you for the question.I have modified your shcorcode for flexibility. I hope it helps.
/** * Shortcode for listing groups of a user. * * @param array $atts shortcode attributes. * @param string $content content. * * @return string */ function user_world_memberships( $atts, $content = '' ) { $atts = shortcode_atts( array( 'user_id' => bp_displayed_user_id(), 'type' => 'alphabetical', 'order' => 'ASC', 'page' => 1, 'per_page' => - 1, 'group_type' => '', 'group_type__in' => '', 'group_type__not_in' => '', ), $atts, 'member_worlds' ); $groups = groups_get_groups( $atts ); $groups = $groups['groups']; if ( empty( $groups ) ) { return ''; } $list = ''; foreach ( $groups as $group ) { $list .= sprintf( '<li><a title="View %1$s" href="%2$s">%3$s</a>', esc_attr( $group->name ), esc_url( bp_get_group_permalink( $group ) ), esc_html( $group->name ) ); } if ( ! empty( $list ) ) { $list = "<ul class='custom-user-group-list'>{$list}</ul>"; } return $list; } add_shortcode( 'member_worlds', 'user_world_memberships' );P.S. we normally void providing coding support for 3rd party plugins but there are always exceptions.
Regards
Brajesh Hi Earl,
Thank you for the reply.Here are the steps you need to follow:-
1. Create form and select Group Post form and publish
2. Visit Dashboard->BuddyBlog->Group Settings
3. Enable a post type for Group and save.
4. On the Post Type tab in group settings, Please make sure you have the form selected in “Create” section. Also, Please make sure proper settings and enabled for all the tabs/sub tabs.That will allow you to associate a post type with a group and allow posting from group if you enable it to do so.
Thank you
Brajesh- Brajesh Singh on March 3, 2023 at 9:45 am in reply to: BuddyBlog Groups – 1.0.0-RC-3 – possible bug – can’t save group tab settings #48645
Hi Nik,
Thank you.Can you please help me understand the hour glass icon? We haven’t added any, so it could be inheriting from the theme.
Please link me to a screenshot and I will make sure it is included.
Regards
Brajesh - Brajesh Singh on March 3, 2023 at 9:43 am in reply to: how to encrypt file name when uploading with Xprofile Custom Field Types #48644
Hi Oscar,
Welcome to BuddyDev support forums.The files upload by Xprofile custom field types are public. Please do not treat them as private.
It is still possible to hash/encrypt file name.
Yo may want to try this one
/** * Encrypts file name using md5 * * @param array $file file info. * * @return array */ function buddydev_cusotm_encrypt_file_name( $file ) { $info = pathinfo( $file['name'] ); $ext = empty( $info['extension'] ) ? '' : '.' . $info['extension']; $name = basename( $file['name'], $ext ); $new_file_name = md5( $name ); // limit file name to 12 characters. comment if you don't want to limit. $new_file_name = substr( $new_file_name, 0, 12 ); // update file name. $file['name'] = $new_file_name . $ext; return $file; } add_filter( 'wp_handle_upload_prefilter', 'buddydev_cusotm_encrypt_file_name' );Please do note that it will encrypt the file name for all files uploaded via WordPress and not just ours. In next release, I will put an extra hook to allow us to it selectively.
Regards
Brajesh - Brajesh Singh on March 3, 2023 at 9:22 am in reply to: Assiging Member Type Doesn’t Add User to Group #48641This reply has been marked as private.