Search Results for 'how to invite to groups'
-
Search Results
-
Topic: Hiding hidden groups
Hi,
Hidden groups in BuddyPress allow their members not only to invite others, but also to modify the group settings (for instance, to revert to public group…). Is there a fix for this?
Thanks for your help.
I have created a custom meta in the WP user profile page and I just want to filter the user list with exclude query args. I was able to do it in the members directory list using the hook “bp_after_has_members_parse_args” but I am having trouble implementing it in the Invite Members – All Members tab – /groups/GROUP_SLUG/send-invites/. I tried using the hook “nouveau_group_invite_query_exclude_args” to inject the ‘exclude’ args, but it gets overwritten by the $get_group_member_ids values. Therefore, I am unable to pass the custom exclude argument with the query string.
Please advise.
ThanksTopic: create posts for subscribers
Hello
If you can’t create posts for subscribers or open new groups and invite friends, you need an extra plugin for this
Thank you very muchbuddypress Version: 12.5.0
WP-Version6.5.3
When I create a group and set it to hidden, it is not visible to me as admin (or any other user whether they’re members of the group or not.
To test, I created a fresh WordPress install, installed the BuddyX (free) theme, then BuddyPress, bbPress, and finally BP Classic plugin. I’m logged in as admin. I created a user called sub1 who is a subscriber.
I created a group called Normal which is set up as a public group. Then I created a second group called Private which is set up as private. Then I set up a group called Hidden which is set to hidden. When creating each group, I sent an invite to user Sub1.
When I go to the Groups page (/groups), I see the group count as 3. I see the group Normal which I can click into and view group info, and the group Private which I can click into and see group info (since I’m logged in as admin who created the group). I do not see the group Hidden. But on the bottom it says “Viewing 1 – 3 of 3 groups” even though I can only see 2.
If I log out, I can see the group Normal and click into it and see group info. I can see the group Private and click into it, but see a message saying that this is a private group. No group Hidden when logged out (as expected) and on the bottom it says “Viewing 1 – 2 of 2 groups”.
If I log in as user Sub1, I only see 2 groups but “Viewing 1 – 3 of 3 groups”. The group Private says I have to be a member of the group to see anything. Then I accept the invite to group Private. Then I can see everything in the group. I don’t see the group Hidden. In my notifications, I click on the invitation to group Hidden and nothing happens.
I tried and succeeded to reproduce this in a vanilla environment. Any help would be appreciated.
Thanks.
Topic: flow
Hi,
So I don’t even know if what I want is possible – came here looking for some guidance.
I have a wordpress woocommerce site where people can purchase a monthly subscription for a service. That part all works fine.I installed buddypress because I want each subscriber to have their own profile and take bookings themselves (no payment option necessary – will be done off-site)
I want each subscriber to be automatically put into a certain ‘group’ which I’ve already created. I’ve tried all the custom code I’ve found on here with the group id but nothing is working. The subscriber is automatically a ‘member’ but they’re not a member of the ‘group’
This is the code I put in my functions.php file
//Automatically add new users to a group
function automatic_group_membership( $user_id ) {
if( !$user_id ) return false;
groups_accept_invite( $user_id, <# 0 #> );
}
add_action( ‘bp_core_activated_user’, ‘automatic_group_membership’ );I have my group id as ‘0’ because that’s what I found in the inspect tool https://snipboard.io/nlPTSM.jpg am i using the wrong id#
Any help would be greatly appreciated
Hi there,
Trying to work out the kinks of the membership portion of a client’s site before going live and am having some issues with the groups feature.
Whenever I send an invitation to a user to join the group, they get an email with a “go here to accept your invitation” link and a “visit the group” link. The latter goes the group page (but does not allow interaction since they are not yet a member), and the former goes to a blank page that just displays the banner and the footer and nothing else. Any ideas on why this is happening?
I’m using both buddypress and youzify together.
Hi,
I will need to create private or hidden groups where I am the only one able to invite people.
Thanks for your help,
PhilippeHeads up ! BP is currently not compatible with PHP 8.2
Deprecated: Creation of dynamic property BP_Members_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_invitations is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_last_activity is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_optouts is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_signups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$nav is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 213 Deprecated: Creation of dynamic property BP_Members_Component::$invitations is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 232 Deprecated: Creation of dynamic property BP_XProfile_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_data is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_groups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_fields is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Activity_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Activity_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Activity_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Friends_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Friends_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Friends_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_members is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_groupmeta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_notices is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_messages is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_recipients is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Notifications_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Settings_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Course_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Activity_Component::$actions is deprecated in wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 350 Deprecated: Creation of dynamic property MemberTypes_Custom_Field::$bp_get_member_type_tax_name is deprecated in wp-content/plugins/vibebp/includes/class.membertypes.from.fields.php on line 29 Deprecated: Creation of dynamic property BP_Members_Admin::$capability is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 109 Deprecated: Creation of dynamic property BP_Members_Admin::$user_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 115 Deprecated: Creation of dynamic property BP_Members_Admin::$current_user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 118 Deprecated: Creation of dynamic property BP_Members_Admin::$user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 121 Deprecated: Creation of dynamic property BP_Members_Admin::$is_self_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 124 Deprecated: Creation of dynamic property BP_Members_Admin::$screen_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 127 Deprecated: Creation of dynamic property BP_Members_Admin::$stats_metabox is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 130 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_args is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 133 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 134 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 135 Deprecated: Creation of dynamic property BP_Members_Admin::$users_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 138 Deprecated: Creation of dynamic property BP_Members_Admin::$signups_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 139 Deprecated: Creation of dynamic property BP_Members_Admin::$users_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 140 Deprecated: Creation of dynamic property BP_Members_Admin::$users_screen is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 141 Deprecated: Creation of dynamic property BP_Members_Admin::$members_invites_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 143 Deprecated: Creation of dynamic property BP_Members_Admin::$subsite_activated is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 146 Deprecated: Creation of dynamic property BP_Members_Admin::$tools_parent is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 160 Deprecated: Creation of dynamic property BP_Members_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 78 Deprecated: Creation of dynamic property BP_XProfile_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php on line 38Hi,
I got few questions.
We are talking about front-end. Not wp-admin.
1. If i promote a member to a moderator in one group, he can invite other members to that group.
2. Can he also delete them from the group? I don’t see such a option.
3. If i go to the wp-admin, promoted moderator, can add and delete members from any group !! why ?
He was assigned moderator only to a specific group.Topic: Join group ajax not working
I’m getting an admin-ajax 403 error when clicking the Join Group button. It seems to be the switch case in the functions. It seems to be completely ignored somehow. Logging within any of the cases returns nothing at all. Also a quick note… it’s not every group. It’s only on random ones
function bp_legacy_theme_ajax_joinleave_group() { if ( ! bp_is_post_request() ) { return; } // Cast gid as integer. $group_id = (int) $_POST['gid']; if ( groups_is_user_banned( bp_loggedin_user_id(), $group_id ) ) return; if ( ! $group = groups_get_group( $group_id ) ) return; // Client doesn't distinguish between different request types, so we infer from user status. if ( groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) { $request_type = 'leave_group'; } elseif ( groups_check_user_has_invite( bp_loggedin_user_id(), $group->id ) ) { $request_type = 'accept_invite'; } elseif ( 'private' === $group->status ) { $request_type = 'request_membership'; } else { $request_type = 'join_group'; } // NOTE: WHY IS THIS BROKEN?!!? switch ( $request_type ) { case 'join_group' : if ( ! bp_current_user_can( 'groups_join_group', array( 'group_id' => $group->id ) ) ) { esc_html_e( 'Error joining group', 'buddypress' ); } check_ajax_referer( 'groups_join_group' ); if ( ! groups_join_group( $group->id ) ) { _e( 'Error joining group', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } break; case 'accept_invite' : if ( ! bp_current_user_can( 'groups_request_membership', array( 'group_id' => $group->id ) ) ) { esc_html_e( 'Error accepting invitation', 'buddypress' ); } check_ajax_referer( 'groups_accept_invite' ); if ( ! groups_accept_invite( bp_loggedin_user_id(), $group->id ) ) { _e( 'Error requesting membership', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } break; case 'request_membership' : check_ajax_referer( 'groups_request_membership' ); if ( ! groups_send_membership_request( [ 'user_id' => bp_loggedin_user_id(), 'group_id' => $group->id ] ) ) { _e( 'Error requesting membership', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button disabled pending membership-requested" rel="membership-requested" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Request Sent', 'buddypress' ) . '</a>'; } break; case 'leave_group' : check_ajax_referer( 'groups_leave_group' ); if ( ! groups_leave_group( $group->id ) ) { _e( 'Error leaving group', 'buddypress' ); } elseif ( 'public' === $group->status ) { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button join-group btn" rel="join" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>'; } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button request-membership" rel="join" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>'; } break; } exit; }Hi,
WordPress Version 5.9.2
Theme: MagicVersion: 1.10.0 By Bdaia
Website: miComunidad.comWhen I install the BuddyPress.10.2.0 I get these errors:
WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_notifications' doesn't exist] SELECT COUNT(*) FROM wp_wkkr_bp_notifications n WHERE user_id IN (1) AND component_name IN ('xprofile','friends','messages','activity','groups','members') AND is_new = 1 WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_messages_recipients' doesn't exist] SELECT SUM(unread_count) FROM wp_wkkr_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0 WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_friends' doesn't exist] SELECT id FROM wp_wkkr_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_invitations' doesn't exist] SELECT DISTINCT i.item_id FROM wp_wkkr_bp_invitations i WHERE user_id IN (1) AND class IN ('bp_groups_invitation_manager') AND type = 'invite' AND invite_sent = 1 AND accepted = 0 WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_groups' doesn't exist] SELECT DISTINCT g.id FROM wp_wkkr_bp_groups g WHERE g.id IN (0) ORDER BY g.date_created DESC WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_groups' doesn't exist] SELECT COUNT(DISTINCT g.id) FROM wp_wkkr_bp_groups g WHERE g.id IN (0) WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_notifications' doesn't exist] SELECT id, user_id, item_id, secondary_item_id, component_name, component_action, date_notified, is_new, COUNT(id) as total_count FROM wp_wkkr_bp_notifications n WHERE user_id IN (1) AND component_name IN ('xprofile','friends','messages','activity','groups','members') AND is_new = 1 GROUP BY user_id, component_name, component_action ORDER BY date_notified descHow do I create these database tables? Please help?
Thanks,
Carlos
Is it possible to configure the groups invite to only ‘My friends’? In other words, remove the option for ‘All members’.
Thanks.
-J.However, as the result, the group will still be created, but the cover image of the group will not be uploaded and shown.
Here are the error messages in different browsers:
***********************************************************************
https://gamerraven.org/groups/create/step/group-invites can not be connected, or it has been moved to a new location. ERR_HTTP2_PROTOCOL_ERROR
****************************************************************************
This page isn’t working right now. gamerraven.org redirected you too many times.To fix this issue, try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
*******************************************************someone has a clue?
Hi,
I have been using the below code, So when someone clicks on the profile of an association it will redirect to the products tab.
All is well and I can use the other tabs to navigate around except when I click on the activities tab. It takes me to the products tab users cannot see the associations (role) activity stream.I removed this code and it worked fine so it is some where here. I have this in the child-theme/buddypress-nouveau/members/single/home.php page
WP Version 5.7.2 PHP 7.4.12
$displayed_user = new WP_User( bp_displayed_user_id() ); if ( ( in_array( 'associations', $displayed_user->roles, true )) && (strpos($_SERVER['REQUEST_URI'], "my-products") == false) && (strpos($_SERVER['REQUEST_URI'], "front") == false) && (strpos($_SERVER['REQUEST_URI'], "profile") == false) && (strpos($_SERVER['REQUEST_URI'], "activity") == false) && (strpos($_SERVER['REQUEST_URI'], "friends") == false) && (strpos($_SERVER['REQUEST_URI'], "my-donations") == false) && (strpos($_SERVER['REQUEST_URI'], "notifications") == false) && (strpos($_SERVER['REQUEST_URI'], "messages") == false) && (strpos($_SERVER['REQUEST_URI'], "groups") == false) && (strpos($_SERVER['REQUEST_URI'], "location") == false) && (strpos($_SERVER['REQUEST_URI'], "invite-anyone") == false) && (strpos($_SERVER['REQUEST_URI'], "settings") == false) && (strpos($_SERVER['REQUEST_URI'], "w-my-account") == false) && (strpos($_SERVER['REQUEST_URI'], "store-manager") == false) && (strpos($_SERVER['REQUEST_URI'], "articles") == false) && (strpos($_SERVER['REQUEST_URI'], "media") == false) && (strpos($_SERVER['REQUEST_URI'], "item-header-content") == false) ) { //is assoc and is not already redirected to products or other profile links $currenturl = $_SERVER['REQUEST_URI']; $urlto = $currenturl."my-products"; ?> <script> window.location.replace("<?php echo($urlto); ?>"); </script> <?php } else { // just load ?>Thank you for helping with this
Topic: menu with bp_nav_menu()