Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 126 through 150 (of 3,863 total)
  • Author
    Search Results
  • hausmanconsulting
    Participant

    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”.

    effi10
    Participant

    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)

    dbayon24
    Participant

    Can I link all messages to a single conversation?

    https://privatemonedev.wpengine.com/members/dara/bp-messages/

    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?

    #324369
    fullmetalworkshop
    Participant

    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;
    }
    #324297
    iknowledgesolution
    Participant

    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.

    jkgbs
    Participant

    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
    Jane

    #324253
    kobusjfk
    Participant

    Wordpress v. 5.9.3
    Buddypress v. 10.2.0
    Theme. BuddyX

    In 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?

    #324223
    kobusjfk
    Participant

    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 HELP

    #324170
    danielasanhueza
    Participant

    Hey, 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?

    tabarlyy
    Participant

    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/4785

    #324110

    In reply to: Database Errors

    Mike Witt
    Participant

    @shanebp – OK, I finally figured out how to replicate the error.

    Wordpress 5.9.2
    Twenty Twenty-Two Version: 1.1
    BuddyPress 10.2.0 (Nouveau)
    And some other plug-ins, including MemberPress and bbPress

    (1) Send two private messages to someone.
    (2) That person clicks on one of the notification, and the error happens
    Sometimes it happens if the recipient just refreshes their profile (and hence the notifications)

    Note: There need to be multiple private message notifications. If there’s just one notification the error doesn’t appear to happen.

    The error looks a bit different with BP Nouveau:

    [31-Mar-2022 17:41:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND user_id = 2 AND component_name = 'messages' AND component_action = 'new...' at line 1 for query UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 2 AND component_name = 'messages' AND component_action = 'new_message' made by do_action('wp_ajax_messages_get_thread_messages'), WP_Hook->do_action, WP_Hook->apply_filters, bp_nouveau_ajax_get_thread_messages, bp_thread_the_message, BP_Messages_Thread_Template->the_message, do_action('thread_loop_start'), WP_Hook->do_action, WP_Hook->apply_filters, bp_messages_screen_conversation_mark_notifications, bp_notifications_mark_notifications_by_item_ids, BP_Notifications_Notification::update_id_list

    #324065

    In reply to: buddypress groups

    rshay
    Participant

    Perhaps i could make each private group into a page and restrict access to specific admin roles? Is there a shortcode for me to do that?

    #324064
    rshay
    Participant

    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 you

    #324057

    In reply to: Database Errors

    Mike Witt
    Participant

    I did manage to duplicate it by sending a couple of private messages back and forth between members. But it doesn’t happen every time. So I still haven’t found a sure-fire way to duplicate it. It doesn’t appear to happen exactly when the message is sent. Maybe when the notification is read? Strangely, in the case where I got the error, I can’t find any expected notifications missing. All the notifications appear to be intact. Both on the profile and in email.

    #324051
    realadulting101
    Participant

    Hi 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

    #323979

    In reply to: message of messages

    shanebp
    Moderator

    Go to wp-admin > Settings > BuddyPress > Components
    Then select “Private Messaging” and save.

    #323138
    mounir0014
    Participant

    I mean private groups !

    #322783
    Mathieu Viet
    Moderator

    Hi,

    About 1 and 2, these meta are not generated by BuddyPress, so I advise you to identify the plugins involved and ask their support.

    About 3, you can probably do it for your site, it’s more risky to do it from the BuddyPress plugin.

    About 4. The only approaching string added by BuddyPress is 'Deleted User' and it’s only added at runt time, so to me these are not added by BuddyPress into the DB, so I’d try to see if this comes from another plugin and contact their support.

    About 5. It’s an interesting point, only the first subject of the messages thread seems necessary, and I wonder do we even need a subject to start a private conversation 🤔 ?

    About 6. I don’t think BuddyPress adds postmeta or if it does it’s probably when Post types Activities are on (Blogs component active).

    #322759
    cheyenne711
    Participant

    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!

    Johan SP
    Participant

    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,
    Johan

    gerryj
    Participant

    Hello,

    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
    Gerry

    #322281
    brilor04
    Participant

    Hello,

    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 BuddyPress

    Does anyone know how to completely lock down anything in the /forums/ part of the site so that only members can access?

    patriqueuiliam
    Participant

    Is it possible to create an if/else function to find out if the user has already sent a message to another user?

    When you visit the profile, it is possible to have a notice showing that you have already sent him a private message.

    Sorry about my English. I’m using the translator!

    elitechsavvy
    Participant

    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 server

    So far no luck.

    Any tips/hints will be highly appreciated!

Viewing 25 results - 126 through 150 (of 3,863 total)
Skip to toolbar