Search Results for 'private'
-
Search Results
-
Using Youzify with a private BuddyPress site (i.e., everyone is a “member” and there is no public access), there is a profile privacy section at the bottom of the new post area on the activity feed that defaults to “Public”. On private communities this is likely to cause a fair amount of confusion because users will obviously not want anything they post to be truly “Public”, and there’s no need to force them to select “Members” before they post since it’s a private community.
In Youzify, the list of privacy options is called with apply_filters and a function name “youzify_wall_activity_privacy_option”. So in your bp_custom.php you can add something like this, where I moved the “Members” option to the top and commented out the public option:
add_filter('youzify_wall_activity_privacy_options', 'youzify_change_public_option' ); function youzify_change_public_option( $options ) { $options = array( //'public' => array( 'title' => __( 'Public', 'youzify' ), 'icon' => 'fas fa-globe-asia' ), 'members' => array( 'title' => __( 'Members', 'youzify' ), 'icon' => 'fas fa-users' ), 'onlyme' => array( 'title' => __( 'Only Me', 'youzify' ), 'icon' => 'fas fa-lock' ), 'friends' => array( 'title' => __( 'My Friends', 'youzify' ), 'icon' => 'fas fa-user-friends' ), ); return $options; }
The keys “public”.”onlyme”, “friends”, and “members” are hard coded into the privacy code so probably best not to change those. The default icon is still the globe when the page is first loaded with the members section at the top of the list, but I think that can be changed in a stylesheet or possibly a theme file override.
The reason I didn’t just rename “Public” and remove the members option is because if the community ever goes public, we don’t want those posts that were destined for the private community to be shown. This way they are still tagged as “members”.
Hello
In a project already in production (with an exclusively private access and about 100 existing members), I want to add a discussion space, and BuddyPress seemed to me to be the ideal solution.
However, I would like to :
– keep the native WordPress registration form (already modified)
– automatically attach users to BuddyPress (when I install BuddyPress, I don’t see them in the members!)I already use (among other things) the “Members” extension in WordPress.
Thanks
Translated with http://www.DeepL.com/Translator (free version)
Hi,
I have a problem with friend private invitation messages.
Suddenly instead of appearing only the invitations sent by users.
All users are getting invitations from all other users. Even though none of them or only a few of them have sent the request.I have used the repair tools offered by buddypress but I haven’t got any result. I also deleted the rows with is_confirmed? 0 value from the “_bp_friends” table. But the problem persists.
How can fix this?
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; }
Topic: Credit Base Private Chat
Hello Support,
I am planing to use Sweet Date WordPress Theme for one of my client, but as per request client want no membership for whole website only for when user want to chat each other they need a credit. So is it possible to do? Please can any one guide me about this.Waiting for your reply.
Hi,
I am trying to setup Buddypress but Friend, public message, private message are not showing on frontend. Neither is members. Can anyone help please?
Thanks
JaneWordpress v. 5.9.3
Buddypress v. 10.2.0
Theme. BuddyXIn Private Messages – the message body part ‘shows’ at the top that you can attach a file or a link,
the link option works, but when you click on the image attachment, it gives a popup that asks for the ‘source’ of the image. It doesn’t open a normal file explorer window to select the image.
Please, how do I FIX this?Topic: Private Messages
In BuddyX theme, there is two options to contact members. Either via Public Message or Private Message.
My theme does NOT show the PRIVATE MESSAGE option anymore!
PLEASE HELPHey, so i am trying to add a filter in the members search to only show the profiles that have a certain role in an Xprofile field, doing some research i came across the next code
if ( !defined( 'ABSPATH' ) ) exit; class BP_Loop_Filters { /** * Constructor */ public function __construct() { $this->setup_actions(); } private function setup_actions() { add_action( 'bp_members_directory_order_options', array( $this, 'random_order' ) ); if( bp_is_active( 'groups' ) ) add_action( 'bp_groups_directory_order_options', array( $this, 'random_order' ) ); if( is_multisite() && bp_is_active( 'blogs' ) ) add_action( 'bp_blogs_directory_order_options', array( $this, 'random_order' ) ); } public function random_order() { ?> <option value="random"><?php _e( 'Random', 'buddypress' ); ?></option> <?php } } function bp_loop_filters() { return new BP_Loop_Filters(); } add_action( 'bp_include', 'bp_loop_filters' );
i tried adjusting it to call the Xprofile fields i want but it caused a complete error on the website, any help?
Hi,
here is the my code. tab is created,
but if user not member this private group redirect to wp-login page. how to open everyone this tab?function custom_members_tab() {
if ( bp_is_groups_component() && bp_is_single_item() ) {
global $bp;
$group_link = bp_get_group_permalink( $bp->groups->current_group );
$tab_args = array(
‘name’ => esc_html__( ‘destination’, ‘default’ ),
‘slug’ => ‘destination-members’,
‘screen_function’ => ‘destination_members_screen’,
‘position’ => 60,
‘parent_url’ => $group_link,
‘parent_slug’ => $bp->groups->current_group->slug,
‘default_subnav_slug’ => ‘destination-members’,
‘item_css_id’ => ‘destination-members’,
‘access’ => ‘anyone’,
‘show_tab’ => ‘anyone’,
‘show_for_displayed_user’ => true
);
bp_core_new_subnav_item( $tab_args, ‘groups’ );
}
}
add_action( ‘bp_setup_nav’, ‘custom_members_tab’ );function destination_members_screen() {
add_action( ‘bp_template_content’, ‘custom_group_tab_content’ );
bp_core_load_template( ‘buddypress/members/single/plugins’ );
}
function custom_group_tab_content() {
echo “show non group members, guests, everyone”
}I read this ticket, but I couldn’t understand how to use it.
https://buddypress.trac.wordpress.org/ticket/4785Topic: buddypress groups
Hello!
I was organizing roles for my admins, i want them to be able to delete activity and public group posts. However currently it includes that they can view/delete activities from private groups even if theyre not apart of such groups. How can i make it so that their admin role is only restricted to public activities/groups? This is really important for my site, i appreciate your help. im using the user role editor by vladimir. Perhaps theres another plugin i can use or css code?
thank youHi there, I was wondering if you are able to tell me why my buddypress private messages are not sending. I use buddypress with memberpress for my online course membership platform. They used to send no problem from member to member but no for some reason when you click send nothing happens. Thanks so much! this is the site but you would need to login to see the member area… http://www.realadulting101.ca
Hi, I have email notifications enabled however email notifications for new message received or you have unread messages are not coming through. I would prefer to share the website link privately. Thank you!
Hi!
I have created two member types:
- Moms
- Volunteers
I also use Woocommerce Subscriptions for giving access to our forum/private content.
I was wondering if it’s possible to assign all subscribers to the “Moms” type automatically upon registering?
My kindest regards,
JohanHello,
I am currently developing a website with many different groups and each has its own forum.
I’m using bbpress to create these forums.
For every forum, only the group’s members should have access to it, which works fine.
The problem is that all of these group forums also have subforums but these can be accessed by anyone no matter which group they are in.
in the forum settings itself, I can only choose between public, private and hidden and since all our users will be logged in anyway there is no difference between Public and private.
Is there any way to also use the group restriction for subforums?Regards
GerryHello,
The site we’ve developed the client doesn’t want to have any of the forum topics or posts available to the public. I’ve tried a few plugins to try and fix this but none seem to work;
bbPress Members Only
BuddyPress Members Only
Wbcom Designs – Private Community for BuddyPressDoes anyone know how to completely lock down anything in the /forums/ part of the site so that only members can access?
Hi folks,
I’m troubleshooting why users cannot write on other members’ posts.
My wall shows a green button but on other members are grayed out.
These have been my actions so far:
1. I’ve checked on Activity Settings and is selected. Which I did on/off with no results.
2. I’ve run the tool options to “repair”
3. Remove the plugin (Disable/remove)
4. Install/activate the plugin
5. All components are active
6. All options are active
7. WordPress report – Version 9.1.1
Active components Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
8. When inspecting POST grayed button got this line results: <input class=”loading” type=”submit” name=”ac_form_submit” value=”post” disabled=””>
9. Check WordPress integrity/checksum – reinstall 5.8 FYI
10. Reboot the serverSo far no luck.
Any tips/hints will be highly appreciated!