Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 601 through 625 (of 94,540 total)
  • Author
    Search Results
  • #334759
    lmstearn
    Participant

    WP: 6.6.1, BBClassic & BuddyPress: 14.0, Stearnvault.com
    This enquiry is regarding excerpts from private posts displayed in the search hit results of the in-built Site Search. Looking for repro before filing at Trac.
    Because of the privacy concerns, the code from this SO thread is used to disable all search at the site at this time.
    Thanks.

    #334753
    Lars Henriksen
    Participant

    Hello BP-developers

    Thank you for maintaining and developing Buddypress!

    I have an issue with translating some site messages and labels, i.e. ‘members-only area’ + ‘This community area is accessible to logged-in members only.’ , text in buttons like ‘view group’ and some time stamps like ‘a month ago’

    I use Loco Translate, and I update the strings, but the translations don’t show.

    Here is a link to a group, which redirects to ‘private community’

    WP 6.6.1
    BP 14.0.0

    #334750
    locker17
    Participant

    I want to make users able to add bullet or numeric lists to their profile page. Doesn’t matter if I chose wp user meta bio field or multiline xprofile field, both display lists in user profile as words with linebreaks (br). How can I avoid that and show it like it is saved in db?

    Same question here 3 years ago, unanswered.

    weird formatting with bulleted lists in user meta fields?

    #334735

    The Avatar and Cover images are showing up blurry. I tried adding the below code to my functions file (via snippets plugin) and it did nothing. I need to change the quality of the images to 100% not be so blurry looking, they just look terrible (I changed nothing, just using default BuddyPress). How do I tell BuddyPress to use the full image size and just scale it down to fit the image size vs. using the thumbnail size, since typically in WordPress those images are horribly blurry.

    Hereโ€™s the code I added which only alters the image sizes not QUALITY.

    <?php
    
    // Define Buddypress Avatars Dimensions.
    if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) {
        define( 'BP_AVATAR_THUMB_WIDTH', 50 );
    }
    
    if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) {
        define( 'BP_AVATAR_THUMB_HEIGHT', 50 );
    }
    
    if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) {
        define( 'BP_AVATAR_FULL_WIDTH', 150 );
    }
    
    if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) {
        define( 'BP_AVATAR_FULL_HEIGHT', 150 );
    }
    #334734

    In reply to: disable rss

    Will do! That sounds great. I feel like BuddyPress has so many features and is great but lacks more UI and setting options so web designers/developers can customize easier to help clients.

    #334732

    In reply to: disable rss

    Perhaps I need to create a new post for this or find the relevant one, but the Avatar and Cover images are showing blurry. I tried adding this code to my functions file (via snippets plugin) and it did nothing. I need to change the quality of the images to 100% not be so blurry. How do I tell BuddyPress to use the full image and just scale it down to fit the image size vs. using the thumbnail size, since typically in WordPress those images are horribly blurry.

    Here’s the code I added which only alters the image sizes not QUALITY.

    <?php
    
    // Define Buddypress Avatars Dimensions.
    if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) {
        define( 'BP_AVATAR_THUMB_WIDTH', 50 );
    }
    
    if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) {
        define( 'BP_AVATAR_THUMB_HEIGHT', 50 );
    }
    
    if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) {
        define( 'BP_AVATAR_FULL_WIDTH', 150 );
    }
    
    if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) {
        define( 'BP_AVATAR_FULL_HEIGHT', 150 );
    }
    @whynotadv
    Comment
    
    #334731

    In reply to: disable rss

    Thanks Venutius, I spent some time using your code along with ChatGPT and this seems to have worked for me, all the feeds are gone….maybe this will help someone else!

    function disable_all_rss_feeds() {
        // Disable all WordPress feeds
        function disable_all_feeds() {
            wp_die(__('No feed available, please visit the <a href="'. get_bloginfo('url') .'">homepage</a>!'));
        }
    
        add_action('do_feed', 'disable_all_feeds', 1);
        add_action('do_feed_rdf', 'disable_all_feeds', 1);
        add_action('do_feed_rss', 'disable_all_feeds', 1);
        add_action('do_feed_rss2', 'disable_all_feeds', 1);
        add_action('do_feed_atom', 'disable_all_feeds', 1);
        add_action('do_feed_rss2_comments', 'disable_all_feeds', 1);
        add_action('do_feed_atom_comments', 'disable_all_feeds', 1);
    
        // Remove RSS feed links from the header
        remove_action('wp_head', 'feed_links', 2);
        remove_action('wp_head', 'feed_links_extra', 3);
    
        // Disable BuddyPress feeds
        remove_action('bp_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_activity_sitewide_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_group_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_feed', 'bp_dtheme_activity_feed');
        remove_action('bp_group_feed', 'bp_dtheme_group_activity_feed');
    
        // BuddyPress Nouveau template pack feed removals
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_action_activity_content', 'bp_nouveau_activity_feed', 5);
    
        // Disable BuddyPress members feeds
        remove_action('bp_members_directory_members_feed', 'bp_members_feed');
    
        // Disable BuddyPress groups feeds
        remove_action('bp_groups_directory_groups_feed', 'bp_groups_feed');
        remove_action('bp_group_activity_feed', 'bp_group_activity_custom_feed');
    
        // Disable BuddyPress blogs feeds
        remove_action('bp_blogs_directory_blogs_feed', 'bp_blogs_feed');
        remove_action('bp_blog_comments_feed', 'bp_blog_comments_custom_feed');
    
        // Disable BuddyPress forums feeds
        remove_action('bp_forums_directory_topics_feed', 'bp_forums_feed');
        remove_action('bp_forums_topic_feed', 'bp_forum_topic_custom_feed');
    }
    add_action('bp_init', 'disable_all_rss_feeds', 1);
    
    // Disable BuddyPress Nouveau feeds
    function disable_buddypress_nouveau_feeds() {
        remove_action('bp_nouveau_activity_feed', 'bp_nouveau_activity_feed');
        remove_action('bp_nouveau_group_feed', 'bp_nouveau_group_feed');
    }
    add_action('bp_init', 'disable_buddypress_nouveau_feeds', 1);
    
    // Disable pingbacks and trackbacks for privacy
    add_filter('xmlrpc_methods', function($methods) {
        unset($methods['pingback.ping']);
        return $methods;
    });
    
    add_filter('wp_headers', function($headers) {
        unset($headers['X-Pingback']);
        return $headers;
    });
    
    add_filter('pings_open', '__return_false', 10, 2);
    
    // Remove RSS feed div by ID and class using jQuery
    function remove_rss_feed_div() {
        if (is_buddypress()) {
            ?>
            <script type="text/javascript">
            jQuery(document).ready(function($) {
                $('#activity-rss-feed.feed').remove();
            });
            </script>
            <?php
        }
    }
    add_action('wp_footer', 'remove_rss_feed_div');
    
    add_filter( 'bp_rest_api_is_available', '__return_false' );
    #334728

    In reply to: URL page is blank

    kelly80
    Participant

    ok, I just tried that on my staging site and same issue occurs. It still sees the Group I created before. It’s like it’s somehow still connecting with an existing BuddyPress account, only I have no way to clear that out or select to create a new account.

    #334725

    In reply to: URL page is blank

    kelly80
    Participant

    Right, I know there should be options there, but the page is completely blank except for a Save button. That’s the issue I’m having.

    The only “error” I get is a message on the top of every page that says, “A BuddyPress page has been added for the following active BuddyPress Components which did not have associated BuddyPress Pages yet: Members, Activity, Groups. You may need to refresh your permalink settings.”

    I did follow this path just in case, but this is why I feel like I’m somehow stuck in the old version, even though the version number seems to be the most current.

    #334720
    kelly80
    Participant

    I just installed MemberPress for the first time last week. A few years ago, I had tried using BuddyPress and set up a few things, but ultimately went a different way.

    When I reinstalled BuddyPress last week, all of my old settings were still there. I’m wondering if that is the reason that this URL page is blank, because I understand that the assignment of pages has changed in the past year or so.

    I have tried torubleshooting by deactivating all of my plugins besides BuddyPress and I even reverted to one of the default themes and nothing makes the data appear on the URL page.

    Is there a way for me to reset my BuddyPress account so that it takes me through the full install process again? If not that, does anyone have any other ideas why this might be happening?

    ckchaudhary
    Participant

    @briebree I’ve been developing a plugin which you may want to check. It doesn’t give option to choose different avatars, but it does allow members to join groups anonymously.

    BuyddyBoss & BuddyPress Anonymous members Plugin

    It is not in the wordpress.org plugin repository yet, thanks to a huge list of plugins awaiting review.

    #334716
    Venutius
    Moderator

    If you don’t get the issue with astra, then it’s not an issue with BuddyPress, it’s Elementor that is the issue. That’s the reason why we ask you to try with another theme.

    #334710

    In reply to: BP user @mention

    Praveen Kumar
    Participant

    Hi Varun,

    Thanks for your response.

    I was wondering if it’s possible to add a debounce function without modifying the core BuddyPress files. Iโ€™ve attempted to create a custom file where I wrap the original remoteFilter function with a debounce function and then enqueue this script in the theme’s functions.php file.

    Hereโ€™s the approach Iโ€™ve taken:

    mentionsDefaults.callbacks.remoteFilter = debounce(function(query, render_view) {
    originalRemoteFilter.call(this, query, render_view);
    }, debounceTime);

    Could you please advise if this is the correct approach or if there is a better way to achieve this?

    capexpe
    Participant

    WP version : 6.6.2
    Buddypress : Version 14.0.0
    Theme : Boss
    (I have checked with Twenty Twelve and it still does not work)
    Our Website : https://capexpe.org

    We have been running this website under Byddypress since more than 10 years without any issues. We regularly update to new version without any major issue so far. Thanks a lot for your work.

    When we upgraded to 14.0.0, the site still runs fine except when accessing a group, any group, (called “expe” on our site).

    Here is an example of on Expe (group) : https://capexpe.org/expes/les-debuts-de-lalpinisme-en-autonomie/

    Any idea what I could do to identify and fix what we consider a major issue for us?

    Thanks in advance for your help.

    Dom

    #334694

    In reply to: BP user @mention

    Varun Dubey
    Participant

    Implement a debounce function to delay AJAX requests until the user has stopped typing for a specified duration. This will reduce the number of requests and improve responsiveness. The debounced function can be added to the input event in the “What’s new” section of the BuddyPress activity stream.
    https://dev.to/zahoorcodes/benefits-of-delaying-ajax-calls-2f35

    #334693
    Varun Dubey
    Participant

    @traqbar It seems to be working fine. Try debugging using the default theme and only BuddyPress to find which plugin is causing the issue.

    #334692

    Topic: BP user @mention

    in group forum Requests & Feedback
    Praveen Kumar
    Participant

    Hi Team,

    I am encountering an issue with user mentions in the BuddyPress activity stream. Currently, an AJAX request is sent for each letter typed by the user, which results in a long response time. I am looking for a way to control these AJAX requests so that a request is only sent after the user has finished typing. Can you provide guidance or suggest a method to implement this functionality?

    Thank you.

    Keith
    Participant

    I’ve just activated BP Activity Block Editor (https://github.com/buddypress/bp-activity-block-editor) on my multisite, it stops me accessing ‘Aactivity’ in admin panel. The error msg says I am not allowed to access the page. Given that my account is for superadmin, I doubt I have any access right issue, but as far as I remember, the error msg appears when the user has no access rights for the function.

    My guess is that it is due to multisite setting, but I do not have much clue.

    #334688
    #334675

    In reply to: BuddyPress 14.0.0

    gonzaloengler
    Participant

    Hola, necesito ayuda, porque al instalar buddypress no se asocian mรกs paginas

    #334672
    jimbrown11
    Participant

    Hi,

    For the activation email issue, check your BuddyPress and WordPress settings to ensure emails are configured correctly. Also, look for plugin conflicts that might be affecting it.

    For the profile redirection problem, verify that your website URL settings in WordPress and BuddyPress are correct. Double-check the URL configurations to ensure they point to your site.

    If you need more help, contacting support might be a good next step.

    #334662
    #334656
    744691223097925
    Inactive

    Backstory: I have a Divi Theme and have added member press to that theme as part of that they have a Buddypress integration.

    Problem: whenever I activate the buddy press plugin the formatting of the account page goes weird, the Logo becomes massive the menus all go into a column and it looks awful. Has anyone else had this problem?

    unbelievable
    Participant

    I just tested it and it worked here is my site to view it , view it on your desktop i haven’t added the bell to my mobile header yet

    Let me how it goes for you

    function register_bp_notification_bell_block() {
        // Inline JavaScript for the block
        $block_js = "
        (function (wp) {
            var registerBlockType = wp.blocks.registerBlockType;
            var el = wp.element.createElement;
            var withSelect = wp.data.withSelect;
            var __ = wp.i18n.__;
    
            registerBlockType('buddypress/notification-bell', {
                title: __('BuddyPress Notification Bell', 'buddypress'),
                icon: 'bell',
                category: 'widgets',
                edit: withSelect(function (select) {
                    return {
                        userId: select('core').getCurrentUser().id
                    };
                })(function (props) {
                    var userId = props.userId;
                    var unreadCount = 0;
    
                    // Dummy content for editor preview
                    if (!userId) {
                        return el(
                            'div',
                            { className: 'notification-bell' },
                            el('span', { className: 'bell-icon' }, '๐Ÿ””'),
                            el('span', { className: 'unread-count' }, '0')
                        );
                    }
    
                    // Fetch notifications count
                    wp.apiFetch({ path: '/wp-json/bp/v1/notifications/unread_count/' + userId }).then(function(count) {
                        unreadCount = count;
                        props.setAttributes({ unreadCount: unreadCount });
                    });
    
                    return el(
                        'a',
                        { className: 'notification-bell', href: '/members/' + userId + '/notifications/' },
                        el('span', { className: 'bell-icon' }, '๐Ÿ””'),
                        unreadCount > 0 && el('span', { className: 'unread-count' }, unreadCount)
                    );
                }),
                save: function () {
                    return null;
                }
            });
        })(window.wp);
        ";
    
        // Enqueue inline script
        wp_add_inline_script('wp-blocks', $block_js);
    
        // Register the block type
        register_block_type('buddypress/notification-bell', array(
            'render_callback' => 'bp_notification_bell_block_render',
        ));
    }
    add_action('init', 'register_bp_notification_bell_block');
    
    function bp_notification_bell_block_render($attributes) {
        if (!is_user_logged_in()) {
            return '';
        }
    
        $user_id = get_current_user_id();
        $unread_count = bp_notifications_get_unread_notification_count($user_id);
        $notifications_url = bp_loggedin_user_domain() . bp_get_notifications_slug() . '/';
    
        ob_start();
        ?>
        <a class="notification-bell" href="<?php echo esc_url($notifications_url); ?>">
            <span class="bell-icon">๐Ÿ””</span>
            <?php if ($unread_count > 0) : ?>
                <span class="unread-count"><?php echo esc_html($unread_count); ?></span>
            <?php endif; ?>
        </a>
        <style>
            .notification-bell {
                position: relative;
                display: inline-block;
                width: 30px;
                height: 30px;
                text-decoration: none;
            }
            .bell-icon {
                font-size: 24px; /* Adjust the font size as needed */
                line-height: 30px; /* Match the container height */
                display: block;
                text-align: center;
            }
            .unread-count {
                position: absolute;
                top: -5px;
                right: -5px;
                background: red;
                color: white;
                border-radius: 50%;
                padding: 2px 6px;
                font-size: 12px;
            }
        </style>
        <?php
        return ob_get_clean();
    }
    
    add_action('rest_api_init', function() {
        register_rest_route('bp/v1', '/notifications/unread_count/(?P<user_id>\d+)', array(
            'methods' => 'GET',
            'callback' => 'get_bp_unread_notifications_count',
        ));
    });
    
    function get_bp_unread_notifications_count($request) {
        $user_id = $request['user_id'];
        if (!$user_id) {
            return new WP_Error('no_user', 'Invalid user ID', array('status' => 404));
        }
    
        return bp_notifications_get_unread_notification_count($user_id);
    }
    #334629
    skyhaw77
    Participant

    Hi, I have installed Buddypress attachments however users can’t upload media., below the attach media icon, there is a red square with an exclamation mark inside.

Viewing 25 results - 601 through 625 (of 94,540 total)
Skip to toolbar