Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 151 through 175 (of 69,103 total)
  • Author
    Search Results
  • Django
    Participant

    Unfortunately BuddyPress search doesn’t use WP_Query.

    The best you can do with BuddyPress search is to use the bp_search_query_results filter.

    
    function bp_exclude_from_search( $search_results ) {
        return array_filter( $search_results, function( $result ) {
            $excluded_post_ids = array( 1, 2, 3 );
            $excluded_post_types = array( 'custom_type', 'other_cpt' );
            if ( 
                ! in_array( get_post_type( $result->id, $excluded_post_ids ) ) 
                || ! in_array( get_post_type( $result->type, $excluded_post_types ) ) 
            ) {
                return true;
            };
        });
    };
    add_filter( 'bp_search_query_results', 'bp_exclude_from_search', 10 );
    
    #336869
    Patel Akshay
    Participant

    Here’s my function, and I want to add a placeholder for wp_editor(). However, there’s no default parameter available for this. How can I achieve it?

    I’m using BuddyPress, and the following function is used for the “What’s New” textarea. I have replaced the simple textarea with wp_editor().

    function show_whats_new_tinymce_editor($editor_id) {
        $current_user = wp_get_current_user();
        $user_display_name = !empty($current_user->display_name) ? $current_user->display_name : __('User', 'reign');
    
        $content = "What's new, {$user_display_name}?";
    
        $settings = array(
            'media_buttons' => false,
            'textarea_name' => 'comment',
            'textarea_rows' => 6,
            'teeny' => false,
            'tinymce' => array(
                'wpautop' => true,
                'toolbar1' => 'bold,italic,bullist,numlist,link,unlink,undo,redo,addmedia,addgif,videoembed,fullscreen',
                'toolbar2' => '',
                'branding' => false,
                'statusbar' => true, // Show status bar for resizing
                'resize' => true, // Allow resizing
                'height' => 200, // Set default height
                'extended_valid_elements' => 'a[href|target=_blank], iframe[src|width|height|frameborder|allowfullscreen]',
                'rel_list' => array(array('title' => 'No Follow', 'value' => 'nofollow')),
                'link_default_target' => '_blank'
            ),
            'quicktags' => false
        );
    
        $dark_mode = isset($_COOKIE['reign_dark_mode']) && $_COOKIE['reign_dark_mode'] === 'true';
        $settings['tinymce']['content_css'] = $dark_mode ? get_stylesheet_directory_uri() . '/assets/css/dark-mode-editor.css' : '';
    
        wp_editor($content, $editor_id, $settings);
    }
    emaralive
    Moderator

    Hi,

    I’m not sure I, totally, understand your inquiry but, I’ll provide some information that may be of some help. The BP Nouveau template pack provides for use of the wp_editor() function configured as TinyMCE and by default provides 7 buttons, e.g.:

    • Bold
    • Italic
    • Bulleted list
    • Numbered (ordered) list
    • Blockquote
    • Link
    • Image

    Compose and Reply makes use of the same wp_editor and due the use of various filter hooks, the number of buttons can be altered by a plugin or someone implementing custom code. Depending on the code that is external to BuddyPress, there is opportunity to make various buttons available to different users.

    For the sake of simplicity, the following screenshot is a simple illustration:

    Screenshot of Private Message visual editor

    As for settings within BuddyPress, there isn’t a UI available for this purpose. However, some plugins that provide additional TinyMCE buttons, may offer UI settings.

    shawfactor
    Participant

    Gutenberg

    It is a standard

    Buddypress already supports it (to some extent) and will be integrated further in the future

    #336660
    emaralive
    Moderator

    Hi,

    Try reading through the following document to see if the information provides some insight:

    Navigation menus

    #336659
    michaelc1
    Participant

    Hello,
    I am currently working on my new website https://learnhisword.org/
    I am using WordPress 6.7.2 and BuddyPress 14.3.3

    No menu items are showing at all in the menus section. Can’t add them either it seems.

    I am not using a Buddypress theme! I am using the Masteriyo LMS.

    #336630

    In reply to: Multisite Idea

    valuser
    Participant

    You could check if this plugin still works. It segregates BuddyPress social networks in a multi network WordPress install so that each WP network has a different social network. One for each Network.

    You could also check if this plugin still works. It allows each site on an individual network have its own separate buddypress social network.

    It would appear that you may even, at present*, be able to run separate (though members shared) buddypress social networks on every site in a WP Multi Network setup.

    AFAIK they both still work in with WP 6.7.2, BP 14.3.3 PHP 8.3.11 MYSQL8.0.35 but you should check yourself if they still do. (i am not a developer or coder)

    *The Buddypress Development Team has stated that consideration has been given by the Team to perhaps in the long term to deprecate the multiblog feature sometime in the future. This (AFAIK) would not effect the first scenario but would effect the second

    asapadvisors
    Participant

    Hi,

    I am new to buddypress. I have implemented the Kleo theme. When I am trying to sign-up with non-custom emails viz: @gmail.com or @hotmail.com, etc. The registration verification email does not reach the mailbox.

    Kindly Help

    WordPress Version 6.7.2
    BuddyPress Version 14.3.3
    https://cfoforum.co.in

    #336617

    In reply to: Infinite replies

    davesadows
    Participant

    Hello,

    I’m trying to create custom commenting on a buddypress install. I basically would like to have 2 levels of nested comments, and infinite replies without the indentation causing comments to be unreadable. I found this code, but I think it’s specific to WordPress comments, not buddypress:

    Home » WordPress » How to Have Infinite Replies with WordPress Threaded Comments

    How to Have Infinite Replies with WordPress Threaded Comments
    WordPress doesn’t allow to have infinite replies beyond the maximum nested comment depth. In this tutorial, I’ll show you how to create a “Reply” link for all threaded comments, regardless of the depth.

    Table of Contents

    Code for Infinite WordPress Replies
    No Need to Modify Core WordPress Files
    Why Increasing the Max Depth via Code Doesn’t Work
    Allow Flat Inline Replies Like on Facebook
    Related to WordPress Comments:

    How to Disable Links in WordPress Comments
    How to Remove “Comments are Closed” from WordPress
    How to Block WordPress Comment Spam Using Cloudflare
    How to Display Error Messages in the WordPress Admin
    In this screenshot, I’ve set the nested comments level to three:

    WordPress Nested Comments Three Levels Deep
    WordPress Nested Comments Three Levels Deep
    WordPress will nest comment replies to this depth and then stop showing the “Reply” link at the bottom of every comment, as shown here:

    WordPress Comment Reply Missing on Maximum Depth
    WordPress Comment Reply Missing on Maximum Depth
    Because of this limitation, visitors can’t have an ongoing conversation on your site, thereby stifling debate. The code below fixes this problem.

    Code for Infinite WordPress Replies
    To solve the above problem, paste the following code into your theme’s functions.php file, or better yet, use a custom plugin for code insertion. Whichever way you choose, here’s the code you need:

    // Add a custom reply link for infinite comments

    function add_a_reply_link($comment) {
    $temp = get_comment_id();
    $comment_handle = get_comment($temp);
    // $comment_handle = get_comment(get_comment_id());
    $comment_link = get_comment_link($comment_handle);
    $comment_id = get_comment_id();
    $post_id = get_the_id();
    $author = get_comment_author();

    $comment= $comment . ‘<p>Reply</p>’;

    return $comment;
    }

    add_filter(‘get_comment_text’, ‘add_a_reply_link’);

    // Remove the default reply link

    function remove_reply_link() {
    return ”;
    }
    add_filter(‘comment_reply_link’, ‘remove_reply_link’)

    #336618
    davesadows
    Participant

    Hello,

    I’m trying to create custom commenting on a buddypress install. I basically would like to have 2 levels of nested comments, and infinite replies without the indentation causing comments to be unreadable. I found this code, but I think it’s specific to WordPress comments, not buddypress:

    // Add a custom reply link for infinite comments

    function add_a_reply_link($comment) {
    $temp = get_comment_id();
    $comment_handle = get_comment($temp);
    // $comment_handle = get_comment(get_comment_id());
    $comment_link = get_comment_link($comment_handle);
    $comment_id = get_comment_id();
    $post_id = get_the_id();
    $author = get_comment_author();

    $comment= $comment . ‘<p>Reply</p>’;

    return $comment;
    }

    add_filter(‘get_comment_text’, ‘add_a_reply_link’);

    // Remove the default reply link

    function remove_reply_link() {
    return ”;
    }
    add_filter(‘comment_reply_link’, ‘remove_reply_link’)

    Noel Colby
    Participant

    I added buddypress groups to the website as a feature for members to share posts on the group activity feed, live chat and create networking groups.
    However, when i go to the groups homepage and the text box at the top to share a post wont work. It lets me click on it and type but there isnt a submit button to share the post. I also had to switch the template pack from BP Nouveau to BP Legacy because on the Nouveau template the activity feed page does not even show up at all. I’m using Astra as my WordPress website theme at the moment.

    #336602
    emaralive
    Moderator

    Hi,

    Some of the answers may have to come from the Theme developer, i.e. Re-Hub theme, for example:

    1) How can I configure the user profile page? There are elements I find unnecessary for my website, and I’d like to remove them: the sharing buttons, the “write a note” option, etc.

    The “sharing buttons” and “write a note” options are not standard for BuddyPress and are either introduced by your theme in use or possibly from a plugin you have actuated.

    Additionally, without getting into a lot of detail, depending on the template pack in use, e.g., Legacy or Nouveau, there are an assortment of template pages that can be overloaded/overridden (requres advanced knownledge).

    2) Users registered on my site can publish articles using a frontend plugin, comment, etc.
    However, nothing appears in the “Activity” section: even if someone has published an article, nothing shows up. Similarly, nothing appears if they leave comments, someone replies to their comment, or tags them.
    Also, what does the “Favorites” button correspond to? With the theme I’m using, users can save articles as favorites, which are then displayed on a dedicated page. Is that what it’s supposed to refer to?

    As to “articles“, I’ll assume these are synonymous with “blog posts“, typically these are synced to “Activities” via BuddyPress settings (wp-admin > Settings > BuddyPress) by enabling the “Site Tracking” component within the “Components” tab and enabling the “Post Comments” option under “Activity Streams” within the “Options” tab. See Post comments

    As to “Favorites”, think of these as “bookmarks”, IOW, Activity items may be marked as “favorites” or unmarked as “Favorites” which will be listed within the “Favorites” tab, if marked accordingly and, yes, Favorites behave as you have indicated.

    3) On the profile page, users can change their username and select a username that’s already in use (which isn’t allowed during registration). How can I fix this?

    Usernames are unique and cannot be changed. In a “users” profile, the username is preceded/prefixed with the @ symbol. What may be confusing is the “Name” field which is more akin to the display name, to be more precise, it appears to be the “Display name publicly as”, which can be the same as the username or can be different from the username. What’s confusing is that there specific BuddyPress profile fields that correspond WordPress profile fields that may or may not have the same nomenclature. See Your Profile Screen – names section.

    It seems like you are trying to fix something like, there can only be one user with a display name of "Alice". Rightly or wrongly, I suppose confusion abounds when a “display name” is conflated as being a “username”.

    Perhaps, someone else will have a better or more precise explanation than I have provided.

    #336559
    dimanep
    Participant

    go to Users – profile fields
    try found message on page “BuddyPress Multilingual – have no translated fields” something like that. there is a button in the message, we press it, wait and now we can translate into string translation.
    I searched for a long time and why the authors of the plugin did not include this in the instructions.

    #336547
    giszech
    Participant

    Hi support team,
    I’ve allready asked you few monthes ago – you told me “all is ok” – but I still cannot crop a profile photo. I hoped that the issue would be solved by itself with updates – but it did not.
    Please try it yourself – https://members.life-science.eu

    I have the AVADA 7.11.14 theme, but I am worry to switch to the twenty twenty five because I will not crash the whole WebSite.
    Buddypress 14.3.3
    Wordpress 6.7.2

    You also told me it’s a problem of AVADA and AVADA told me it’s a problem of BuddyPress. I guess you understand – this doesn’t help me.
    Thanks in advance
    Best wishes

    #336532
    alexanderwbell
    Participant

    It actually appears to be a component in buddypress now apparently, so in the wordpress admin dashboard click on your installed plugins. Then under buddypress, click settings and then check friend connections and then save settings.

    Also if you would like to connect with me on social media as you said before, I am trying to grow my LinkedIn profile as I’m currently looking for a job. So unless the link gets removed, it is below:
    https://www.linkedin.com/in/alexander-bell-487a69295/

    #336510
    Renato Alves
    Moderator

    This file extends WP_CLI\CommandWithDBObject which no longer is part of WP_CLI, which in turn throws a fatal error.

    This is news to me. I’ll look into it.

    And your previous developer is not playing tricks. The CLI is bundled with BuddyPress when we release a new version We develop it separately here: https://github.com/buddypress/wp-cli-buddypress

    #336507
    satisfactionstate
    Participant

    Hello! Could you please help me with the issue if my custom theme. When I switch on it – I can’t create a group, because the is no any buttons ect. I use the simplest architecture at my theme: functions, page, archive, single, home, index, header, footer. And with the url mysite/groups/create/step/group-details/ the is a template of a page.php: header + footer + <?php the_content();?> There is only The title. When I switch to anoter theme – all the group setting appears when I try to create a group. I understand that there is a problem with my theme. Are there any additional requirements to use simplest custom theme with BuddyPress? Are there ane specific code or something else that I’ve missed? Thank you!

    #336506
    fliohmy
    Participant

    Hello BuddyPress people,

    I’m just here to see if I can get a project going that I didn’t build myself, so please forgive my ignorance when it comes to BuddyPress and its inner workings.

    When I install buddypress via composer, it creates a “cli” folder next to the various “bp_*” folders in plugins/buddypress/.

    In buddypress/cli is a file called command.php. This file extends WP_CLI\CommandWithDBObject which no longer is part of WP_CLI, which in turn throws a fatal error.

    To be fair, I have no idea if this /cli/ folder is actually part of BuddyPress or some hack the previous developer added, because the folder is not there when I clone BuddyPress via git.

    If this is indeed the previous developer playing tricks on me then I apoligze for taking up your time.

    All the best,
    Fredrik

    #336505
    alexanderwbell
    Participant

    buddypress already has a similar feature, it’s called bp friends, I can’t remember if it’ a standalone plugin, or if it’s its own plugin, but I also use that on my site. With the friends plugin, you can friend, and the user has to accept the friend request (which friends them back). This plugin also has support I believe with rtmedia’s privacy levels where you can friend people and then set post privacy levels so that only your friends can see the activity. (I might have made that functionality myself though, I can’t remember, I’ve written a lot of code). With the followers plugin, it’s just like regular followers where you would follow them and they don’t have to follow you back, and the user gets a following activity feed. that’s why I have both.

    #336499
    alexanderwbell
    Participant

    I setup a fork of the original github repo, I can’t guarantee it 100% works, especially like with following blogs and stuff like that as I haven’t tested that throughly. I also haven’t tested it with legacy themes. However, for regular following and for the following activity filters in bp_noveau etc… it should work.

    https://github.com/Alexanderwbell/buddypress-followers

    #336494

    Thanks for your feedback @alexanderwbell, i will be happy if you can share with me the working modified buddypress follow plugin thank you very much Boss.

    #336493
    alexanderwbell
    Participant

    Yea, so I use the same plugin and the plugin is old and doesn’t work with the latest versions of buddypress by default. I had to modify it. I believe the load text just in time is just a warning though, the fatal error I had was with the sql queries, it worked for me without fixing the warnings. When I get home, I might be able to share some code.

    vic2798
    Participant

    I am currently having a sitewide issue where logged in users with the “Subscriber” role cannot access Buddypress pages like “Groups” and “Member Directory”. Instead, they are being redirected to the Homepage. Administrators have access to the pages but I need subscribers to have access or else they can’t access these key interaction features of the Buddypress community. Does anyone know why this is happening or what code I need to adjust?

    TKServer
    Participant

    I’ve got a bug the last few weeks it seems. When a private message is sent from one user to another, a “random” 3rd user ends up attached to the message. Is this a known BuddyPress bug?

    jenniferwatson
    Participant

    Hi,

    I am facing an issue with the media upload option in BuddyPress on my Community Guidelines page. When I try to upload a media file:
    The “Choose File” option appears, and the file successfully uploads in the interface.
    However, the file suddenly disappears, and I get a red error message saying, “Please choose some content to post.”

    Steps I’ve Taken to Fix It:

      Tried using custom code to resolve the issue—no success.
      Cleared cache from the hosting panel and WordPress dashboard.
      Checked for plugin conflicts by disabling all other plugins, but the issue still persists.
      Tested on different themes—the issue remains.

    Moreover strange thing is, Media upload works fine if I go to My Profile → Media and post on my feed.
    The issue only happens inside Groups—media upload is not working on group posts.
    I have also reviewed some BuddyPress articles where users reported the same issue, but I didn’t find a resolution.
    i.e, https://buddypress.org/support/topic/cant-upload-media-from-sitewide-activity-stream/

    As I am handling a community website, I urgently need this feature to work.
    Please provide guidance on how to fix this issue.

    My Site’s URL: edit: link removed
    Thank you!

Viewing 25 results - 151 through 175 (of 69,103 total)
Skip to toolbar