Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 101 through 125 (of 3,425 total)
  • Author
    Search Results
  • yas12
    Participant

    Right now I have a problem My wordpress site only allows admins to set the privacy of groups. Can I change this setting?

    honoluluman
    Participant

    Hello,

    I am trying to set by default target and _blank in a link tag inside the content of private messages.

    I have tried somethink like that

    add_filter( 'bp_messages_allowed_tags', 'filteratag' );
    function filteratag($messages_allowedtags) {
    	
      
    	$messages_allowedtags['a'] = array(
                'aria-label'      => array(),
                'class'           => array(),
                'data-bp-tooltip' => array(),
                'id'              => array(),
                'rel'             => array(),
    	    'tagret'          => '_blank',
            );
    	return $messages_allowedtags;
    
    }

    but didn’t worked. Could someone help me please?

    #326657
    Gomle
    Participant

    Hello, and thank you for all the great work!

    I have been using WordPress for about 15 years. I started my first online community in 2008.
    I then chose not to use Buddypress, because at the time it was fine with a forum. Facebook hadn’t invented its activity wall yet, and people didn’t expect too much.

    Now in 2022 I am in the process of re-launching this old online community again, after it has been dead for a number of years. (Mostly because Facebook arrived)
    Meanwhile, I’ve been using WordPress & Woocommerce a lot – last couple of years – with Gutenberg and Blocks. An absolutely fantastic solution to a lot of problems!

    If you use WordPress, it’s because you can do something yourself, but you can’t do everything.

    I was therefore really looking forward to getting started with Buddypress in relation to the relaunch I’m about to start, but I was a little disappointed when I saw that it is not at all possible to use gutenberg to style the absolutely required pages. For example Register, Profile, Members, Activity etc.

    I think many who now use WordPress are people who want to own their own information, have 100% control, and to shape something themselves out of their own creativity. They may have some knowledge, but not always enough to do programming, or to go deep into css and theme design etc. They don’t have time for that either.

    Gutenberg blocks are therefore the perfect bridge between those who know a LITTLE, but need the help of software to do the rest, and who want to create something quickly.
    I think there are many of us..

    Wordpress scores highly here with blocks and easy solutions.

    You can now use Kadence Theme + Gutenberg blocks to create almost anything you want.

    I’m not a programmer myself, but I own a couple of companies. Much of the joy is being able to create something, see it being used, make it work – and I can do that by using blocks.

    I’ve gone back and forth between Buddypress and Buddyboss, after I realized that Buddypress doesn’t yet have this functionality and tried to think what I really want.
    With Buddyboss, I get a great theme, and it has all the functionality I need – but I’m completely locked into just that. Also, I’m not very impressed with companies that take credit for a product that was originally created by someone else. That is why I prefer to use Buddypress, and I also see Buddypress as the authority here.

    I think you Buddypress developers will be able to deliver something more in the future, than what I expect from a company working with a product not originally made by themselves.

    But still I see it difficult using Buddypress as it would turn out to be much more expensive, since I have to contact someone at upWork to do it the way I want it.
    To many people it would be more logical to pay a couple of hundred dollars to be able to start tomorrow.

    So my contribution to the discussion is perhaps not a secret: Make buddypress elements ready to use as blocks. And make sure to market it as a “point and click system with Gutenberg”

    Additionally, specifically for my online community, I will need:
    – Forums
    – Private messaging
    – Notification system
    – Nice looking user profiles
    – Speedy site
    – Friends
    – Follow friends
    – Moderation system for both community and forums.

    #326475
    David Bisset
    Participant

    I might be too close to BuddyPress since using it since the 0.1 days (yes, that version is right). I do agree more with the comments so far about the “product fit” and some of that “vibe” feels like some people talking about where WordPress itself (which BP relies on) although I feel WordPress still fills many holes and has a long life to it. But there are two factors I consider to be competitors that offer attractive, “modern/hip”, and easier (in same cases) solutions:

    – TikTok, Instagram, etc. social networks – the trend of posting content OUTSIDE your site and not truly 100% owning it. These are the “Wix” and “Medium” versions that WordPress exists with. They are easier to setup and the social mass effect can’t be beat. It would be neat though to have a BP-lite that could setup a TikTok like video sharing network (perhaps that could intergrate with 3rd parties). I’m not sure if there’s a “build this feature and it will help big” here, since if a user or client wants to use them you can’t stop them. But appeal maybe to the niche (which BuddyPress has always done well) and the customizers out there that maybe want something like them, or something that has a slimed down feature set with an attractive new theme/look.

    – BuddyBoss. Surprised this hasn’t been brought up. Look at what they are doing in terms of features. The past few freelance projects that the cilents could have used BuddyPress on for new projects, they went and paid for BuddyBoss. My observations has been because of the (1) marketing, (2) features, and (3) continued support (the mobile app also maybe played a part although I’ve heard disappointing experiences about that). I know some don’t like BuddyBoss because they’ve forked BP and (as far as I know) really haven’t contributed anything back (GPL, open source, etc.) But if you’re looking for features, look at what this for-profit company is doing (big and small) because logically they are likely listening to their base and current customers and their actions and focus might be some input.

    I do support a BuddyCamp (I used to have a BuddyCamp Miami way back… in 2010 I think?).

    Some good BuddyPress plugins have been difficult to recommend because of their maintenance or lack thereof, with no fault to the authors. But BuddyPress always needs SOME plugins when being used for projects. Might be also nice for other plugin companies (say Yoast?) to promote their BuddyPress support.

    I would love to see a new theme but not sure yet what direction to offer further $0.02 on that.

    No real comments from a coding perspective – there are developers here with more experience in that. A “BuddyPress lite” plugin if you’re talking about “restarting from another plugin” might be worth some discussion. Imagine just spending 5 minutes with a few clicks and you have your own private, secure social network just for your friends/family. Simple. Easy. Modern looking, works with modern tech, etc.

    #326461
    chicagogregg
    Participant

    Hello,

    I know the documentation says BP uses cookies for API authentication, but my install of BP allows any non-authenticated user to use the API and retrieve user data. (e.g. /wp-json/buddypress/v1/members/3)

    I’ve also tried this through incognito/private browsers and also through curl from the command line.

    Everything I’ve tried, without authenticating, returns the data.

    I’ve also installed REST API Toolbox (plugin) – that helped me with requiring authentication for WP wp-json endpoints.

    I don’t see a BP option anywhere to require authentication…

    Am I missing something here?

    Thank you in advance for the help!

    -gregg

    #326448
    user4forum
    Participant

    Just my opinion and just an AI translation:

    Where are the sticking points?

    BP core:
    After 9 months with BP and several free BP plugins, there are still a lot of questions. Group handling and invitation are too complex and partly illogical. (Example: Group Owner is allowed to remove himself and then the administrator has to ‘intervene’). Furthermore, internal e-mail, where you have to select users based on their usernames (@…). Also not visually appealing and sometimes rather confusing in use. Other BP features (sorting/displaying members within groups!) that don’t work even on a WP default theme (Twenty Twenty-Two). Just annoying!

    In principle, the core plugin provides too little (in terms of functionality). Best example: Blogging and media. Something that defines WP at its core. In addition to two larger commercial “BP providers” and some ancient plugins in the WP repo, the selection and comparability is difficult if you want to use them for specific rights and groups. I understand that you want to offer an open and expandable system, but something “more” would be desirable or necessary.

    BP mailing list:
    Hardly any actions, but many (trivial) questions and no answers. On the other hand, technically interesting answers are often 10 years or more in the past (and unfortunately still up-to-date in principle), but where there is no attempt to test them in a current BP version.

    ToDo (Plugins into Core):
    Directory: Very important! Of course you can use “BP Custom Fields” but there’s no option to do a filter search, based on different fields to exclude displaying other profiles – or I just can’t find the options. Tried “BP Profile Search”

    Why not just embed a few components “more tightly” into the core, why not simply take over the source code of others who simply “copy” BP themselves without returning anything to the community? There was an interesting discussion about this recently on another platform site.

    Wishes:
    – Rights management for pages/posts or for individual BP components (either private/public or at user level) – e.g. “User Access Manager”
    – E-mail communication between each other without having to use the real e-mail address and being able to leave the borders of BP – e.g. “BP Reply By Email”

    It’s a pity, but currently STILL not enough for uncomplicated use and sometimes stopped in development. In addition, commercial providers who copy BP as well as other WP Social Media Group solutions that are more complete and appear more self-contained.

    To name a few plugins that could be partially included:

    Theme: BuddyX (free)
    BP 11 (dev) &
    BP Attachments (dev) (what does it do? Substitution of BuddyDrive?)
    – bbPress (smarter integration)
    – BP Profile Search (no filter options found)
    – BP Reply By Email (should be core as option)
    – BuddyDrive (should be Core)
    – Buddpress Docs
    – BuddyPress Xprofile Custom Field Types (should be core)
    – BuddyPress Xprofile Conditional Fields (should be core)
    – Rendez Vous (should be core as option)
    – “BuddyPress XY Blog” (should be core)
    – “BuddyPress XY Search”

    #326417
    pgrafix
    Participant

    All of a sudden I can no longer manage users of a specific group, whether from the front end or back end. The manage-members page loads fine, but the member list is blank. The member count is correct in the back end and are all present in the DB. Members can also still access the group. Member management of other groups is unaffected. Depending on the browser, I get different console errors:

    Chrome:

    Uncaught TypeError: Cannot read properties of undefined (reading ‘name’)
    at eval (eval at template (underscore.min.js?ver=1.13.1:2:15327), <anonymous>:29:18)
    at n (underscore.min.js?ver=1.13.1:2:15407)
    at n.template (wp-util.min.js?ver=350dcb35f552474cc66408105b81368d:2:323)
    at n.render (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2893)
    at wp.Backbone.Subviews.<anonymous> (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2140)
    at underscore.min.js?ver=1.13.1:2:6433
    at Function.dr (underscore.min.js?ver=1.13.1:2:9528)
    at wp.Backbone.Subviews._attach (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2101)
    at wp.Backbone.Subviews.set (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:884)

    FF (underscore.min.js:29:1):

    Uncaught TypeError: data.role is undefined
    Underscore 2
    template https://mydomain/wp-includes/js/wp-util.min.js?ver=350dcb35f552474cc66408105b81368d:2
    Backbone 2
    Underscore 2
    Backbone 3
    addListTableRows Ember
    Underscore 2
    addListTableRows Ember
    Backbone 5
    initialize Ember
    Backbone 4
    initialize Ember
    Backbone 4
    Ember 2
    underscore.min.js:29:1

    Safari:

    TypeError: undefined is not an object (evaluating ‘data.role.name’)
    anonymous (Anonymous Script 1 (line 28))
    n (underscore.min.js:2:15412)
    (anonymous function) (wp-util.min.js:2:324)
    render (wp-backbone.min.js:2:2902)
    (anonymous function) (wp-backbone.min.js:2:2147)
    (anonymous function) (underscore.min.js:2:6438)
    dr (underscore.min.js:2:9530)
    _attach (wp-backbone.min.js:2:2106)
    set (wp-backbone.min.js:2:892)
    add (wp-backbone.min.js:2:1005)
    (anonymous function) (manage-members.min.js:1:8475)
    (anonymous function) (underscore.min.js:2:6438)
    dr (underscore.min.js:2:9530)
    addListTableRows (manage-members.min.js:1:8439)
    p (backbone.min.js:2:3194)
    f (backbone.min.js:2:2931)
    a (backbone.min.js:2:843)
    (anonymous function) (backbone.min.js:2:2815)
    reset (backbone.min.js:2:10387)
    initialize (manage-members.min.js:1:8226)
    (anonymous function) (backbone.min.js:2:14145)
    constructor (wp-backbone.min.js:2:2606)
    (anonymous function) (backbone.min.js:2:23432)
    (anonymous function) (backbone.min.js:2:23432)
    initialize (manage-members.min.js:1:9254)
    (anonymous function) (backbone.min.js:2:14145)
    constructor (wp-backbone.min.js:2:2606)
    (anonymous function) (backbone.min.js:2:23432)
    (anonymous function) (backbone.min.js:2:23432)
    (anonymous function) (manage-members.min.js:1:9325)
    Global Code (manage-members.min.js:1:9369)

    I have:

    1. Tested for plugin conflicts. Even stripped down to just BP running, error persists.
    2. Tested for theme issues. Error persists.
    3. Disabled bp-custom. Error persists.
    4. Restored theme functions.php to default. Error persists.
    5. Nothing in the server error logs.

    Not sure where to turn next. Went as far as to update all plugins and theme on a staging version but no change. I really don’t want to have to recreate the group – it has private docs assigned to it.

    EDIT: I have found that if I remove the last members to be added (7 total) from the database that the list is restored. However, if I add even one of them back, the list disappears again. Adding any other non-member WP user that is not a part of the seven I deleted from the DB works fine.

    WP 5.9.3
    BP 10.4.0
    Link to site wouldn’t be useful as all of the groups are set to private or hidden. Can potentially provide access privately.

    #326402
    Anonymous User
    Inactive

    Hi @ok2net @muhittinsahilli & @johnjamesjacoby 😉

    Thanks a lot for your feedbacks 😍. Very interesting ideas!! I’ll add the « spam protection » one I received on Twitter to the list.

    Just like John who gave the right example as a Project Lead, I’ll share my ideas 😁.

    A first category of ideas is about getting more hands to help us build great things:
    – A BuddyPress annual meeting like a BuddyCamp but online to welcome everyone on earth: a « World-BuddyCamp »
    – As BuddyPress is more than just a plugin, we should probably have more « official » teams to compliment the BP Core one: Support, Theme, Docs, REST API, Marketing (?), …
    – The BuddyPress.org network to host developer/contributors docs & Core development updates.
    – A great BP Standalone theme for the BuddyPress.org site as well as a replacement for the BP Default theme.
    – Providing recommanded Addons to help new users choose the right BP plugins for their need.

    À second category of ideas is about code:
    – making BP Rewrites the default URL parser,
    – going even more granular than we are, moving optional components as BuddyPress add-ons: this would probably help us to improve each feature and Core/Members with the basic features a user can expect from a community feature software.
    – Blocks to standardize ways to share media/rich tools into activity streams, private conversations and why not Template pack & themes.
    – Of course BP Attachments, user generated media to share with the BP community as well as giving WordPress Admins a new source for their editorial content.
    – Private conversations revamped looking more like private chats / slack exploring WebRTC or Server-Sent Events.

    And finally I invite @dcavins, @espellcaste, @boonebgorges, @djpaul, @r-a-y, @mercime and all the members of the team to follow @johnjamesjacoby example! Let’s all share what we think BuddyPress is missing 😇

    #326191
    eltechafrica
    Participant

    @deepvyas Hi,

    So I’m a total newb at this and I don’t understand how to disable the RSS on BP

    I am trying to make a fully private buddypress installation.

    One issue I am running into is the RSS feeds are public, especially the site wide activity RSS.

    There is a wordpress plugin called disable RSS, but this does not disable the buddypress specific RSS feeds.

    Is there a way to delete/block/disable all the RSS feeds?

    Can you offer any help, or some more detailed instructions (in layman’s terms) so that I can make my RSS feed for all site activity go away? I want to have a completely private BP community

    I have wp 6.0 , bp 10.4

    #325971
    werny
    Participant

    Hi there,

    how can I deactivate the “Public message” button on all profile pages?
    I think those 2 buttons are too confusing for the users.
    The “Private message” button is more then enough, I think

    rgilman
    Participant

    I’m doing some customization where I’d like to allow users who are not members of a private group to still have access to some of the content in the group. What hooks could I use (or functions to modify) that would enable this kind of customization of access to parts of a private group?

    Thanks!

    mounasis
    Participant

    Hello i use buddypress with masterstudy theme i activated private message on the buddypress settings but it’s not showing on the profile page
    I need help with this

    olafkjelberg123
    Participant

    Hello, I want to know if its possible to limit the private messaging between user and admin only because I want to make a website where you can message the administrator of the website to access the services provided by the administrator.

    Wordpress version: WordPress 6.0.1
    Theme: Hello ElementorVersion: 2.6.1

    Thanks everyone, I appreciate the help!

    #325269
    dootyfree
    Participant

    WordPress version 6.0
    Buddypress Version 10.3.0

    Hello all,

    I am attempting to use posts as a journal of sorts. Would like posts to remain private to user, unless they check a box to share with logged in community when creating the post.

    Best Regards,

    tracy apps
    Participant

    the three pages linked here codex.buddypress.org/developer/buddypress-hooks-actions-filters/ i would love to access, but they are not public. who controls these? if these are supposed to be private, it’s probably a good idea to REMOVE those links from the PUBLIC codex site.

    joselawrence
    Participant

    Hi, Some help here please.
    I am creating a buddypress community and among other plugins I have the “Buddypress Compliment” and the “Block, Suspend, Report for BuddyPress” plugins active, but these two plugins cause the the “Private Message” button to display last in the user profile header. I want the private message button to display second, right next to the “Add Friend” button and that all other buttons should fall after it.

    Somebody kindly help me with the code needed for this and where to insert it, or if the is another better way to solve this issue I will really be grateful.

    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;
    }
    #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

Viewing 25 results - 101 through 125 (of 3,425 total)
Skip to toolbar