Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 151 through 175 (of 32,562 total)
  • Author
    Search Results
  • #335154
    armwilkinson
    Participant

    At the moment, I’m wanting the pages showing the list of events and the list of groups and the pages for each of those items to be accessible and viewable by people who haven’t signed up to the website. However, at the moment anytime I try to access those pages I get sent back to my registration homepage.

    My website

    I’m using the SocialV theme.

    #335135
    Youzify
    Participant

    1. You can disable all plugins except BuddyPress change your WordPress to the default theme and see if the issue persists or not.

    2. You can check if you add any custom code on the bp-custom.php or functions.php file inside the theme folder. If you have that custom code, you can remove it and see if it fixes the error or not.

    Kokiri
    Participant

    Hi BuddyPress Support,

    I’m experiencing an issue on my BuddyPress site where users are unable to join any groups. When they attempt to click the “Join Group” button either on the groups directory page or within the individual group page, nothing happens. There is no error message or feedback, and the user isn’t added to the group.

    Here are a few details about my setup:

    WordPress Version: 6.6.2
    BuddyPress Version: 14.1.0
    Theme Used: Vikinger

    I’ve already tried the following troubleshooting steps without success:

    Deactivated all plugins except BuddyPress to check for conflicts.
    Switched to a default theme (like Twenty Twenty-Three).
    Cleared cache and tested in multiple browsers.

    I would appreciate any help or insights on resolving this issue. Please let me know if you need further information or logs to help diagnose the problem.

    Thanks in advance for your assistance!

    Best regards,

    #335104
    astroo
    Participant

    It sounds like you’ve done a lot of the right things already. Here are a few additional steps you might try:

    Check for Conflicting Plugins: Ensure no other plugins are overriding BuddyPress translations.
    Clear Caches: Clear any caches that might be affecting the translation display.
    Verify Translation File: Double-check that the .po file has the correct translation for “Name” and is properly saved.
    Theme Conflict: Make sure your theme isn’t overriding the BuddyPress translations.
    If the issue persists, you might want to reach out to the BuddyPress support community for more specific advice.

    #335079
    Youzify
    Participant

    Hi,

    You may try disable all non BuddyPress plugin and change your WP theme to default theme for temporary.

    Check site to see if issue still exists. If issue goes away after deactivating other plugins and switching theme then this means that either the theme or one of the plugins was conflicting with BuddyPress. If it turns out to be a plugin/theme conflict, then you need to activate the plugins/theme one by one until you find the plugin/theme that causes the issue to come back.

    If the issue still exists then it is not a plugin or theme conflict. And do these things

    1. If you have a custom code in bp-custom.php, please remove it for temporary
    2. Make sure to use the latest version of BuddyPress
    3. Check your PHP version, and upgrade it to minimum 7.4 version.

    PS: Backup your website first before do those steps!

    #335034

    In reply to: Redirect login link

    Upen Singh
    Participant

    Hi,
    Which Theme are you using i think this is the theme option. please check the theme option.

    #335032
    Upen Singh
    Participant

    Hi there!

    Reign BuddyPress Theme I think this theme is helpful for you.
    https://wbcomdesigns.com/downloads/reign-buddypress-theme/

    sbanner26
    Participant

    You can add that css code by going to Appearance > Customize and then scrolling down to “Additional CSS”. Paste the code in there and be sure to hit the “Publish” button at the top.

    This is what the support team told me when they gave me that code:

    This is a site-specific issue, which might be because of some coding.

    The page ID div element CSS is conflicting with the footer CSS
    https://prnt.sc/cc6l9bUxs1yC

    A quick fix is you can try placing the below custom CSS code inside Customizer >> Additional CSS


    @media
    only screen and (max-width:767px){
    .bp-user div#page {
    display: inherit;
    }
    }

    So hopefully that code works for you as well. If not, you could always reach out to the theme developer for more help.

    #335023
    experthzone
    Participant

    Building a site with BuddyPress and the Divi Theme is definitely doable, but there are some compatibility considerations to keep in mind. The Divi Theme Builder is highly versatile, but its compatibility with BuddyPress depends on how BuddyPress structures its pages.

    Key Points:

    Post Type Compatibility: As the Elegant Themes team mentioned, if BuddyPress uses the default WordPress post type for its pages, you should be able to edit them using the Divi Builder without any issues. BuddyPress typically generates pages using custom post types for specific content like user profiles, activity feeds, etc.

    Custom Templates: You might need to create custom templates for BuddyPress pages. Divi allows for a lot of customization, so you can design layouts that suit your needs. However, the integration may require some manual tweaking to ensure everything displays correctly.

    Third-Party Plugins: There are third-party plugins that help bridge the gap between BuddyPress and Divi, making it easier to customize BuddyPress pages with the Divi Builder. You might want to explore these if you encounter limitations.

    Testing: It would be a good idea to set up a test environment where you can experiment with how BuddyPress and Divi work together, especially when it comes to customizing profile pages and other BuddyPress-specific content.

    If anyone in the community has experience with this setup, it would be great to hear your thoughts and any challenges you encountered!

    #334987
    Venutius
    Moderator

    I think best practice really depends on your target audience and what features they may expect or desire from their profile.

    One of that main profile customisation features provided in BuddyPress is the ability to “overload”, a profile template file, replacing it with your own customised version. This is a simple way to add your own features to the profile pages.

    However, overloading a page means any updates to it in future by BuddyPress would need to be manually added to your overloaded page, so this method, although simple, is not the only way to add custom features to profile pages.

    If you look in the plugins/buddypress/templates directory, and investigate the templates in, for example bp-nouveau, then you can see there are a lot of action hooks you could use to add further content in specific locations in each page.

    This second method allows you to keep the BP provided templates unchanged, but still add the content required.

    The most configurable profile I ever created was for a social networking community that wanted the user to effectively create their own theme for their profile pages. So I built the following additional plugins for the site:

    1. a theme specific plugin that allowed the user to fully customise their profile colour scheme.
    2. A custom header plugin that allowed the user to select their own header image.
    3. Similarly, a custom background plugin.
    4. My profile home and sidebar user widgets plugins to allow the user to add their own content into their profile pages.
    5. Menu customisations to bring all these customisation options into a single location, and remove/simplify them in other places.
    6. Integration with the overall blogging platform – providing the user with areas where they can showcase their own blogs, and also allow them a variety of options as to who those blogs are shown to.

    Those are just a few main examples as to the possibilities, but most of them do require some form of coding.

    #334981
    farhansheikh125
    Participant

    I’m looking to customize user profiles in BuddyPress to better suit my site’s needs. What are the best practices for:

    Adding custom fields and profile sections
    Ensuring seamless integration with existing themes
    Improving user interface and experience for profile pages
    Any recommended plugins or techniques for advanced customization
    I’d appreciate any advice or resources you can share to help with customizing BuddyPress profiles effectively.

    Thanks!

    #334980
    avltheater
    Participant

    Just to check all the boxes, I’ve changed themes and deactivated all plugins except buddypress and it’s still happening. HELP!!!

    #334963
    George
    Participant

    For anyone that landed here from a Google search. The pagination is not working for forums set up inside BuddyPress groups. You need to copy those two files from
    \plugins\bbpress\templates\default\bbpress
    pagination-topics.php
    pagination-replies.php

    and copy them to
    \wp-content\themes\[yourchildtheme]\bbpress

    Replace the code inside pagination-topics.php to:

    <?php
    
    /**
     * Pagination for pages of topics (when viewing a forum)
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    do_action( 'bbp_template_before_pagination_loop' );
    
    // Use bbPress setting for topics per page
    $posts_per_page = bbp_get_topics_per_page();  // Dynamically get the value from bbPress settings
    
    // Get the current page
    $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
    
    // Set up the custom query
    $args = array(
        'post_type'      => bbp_get_topic_post_type(),
        'posts_per_page' => $posts_per_page,
        'paged'          => $paged,
        'meta_query'     => array(
            array(
                'key'   => '_bbp_forum_id',
                'value' => bbp_get_forum_id(),
            ),
        ),
    );
    
    // Run the custom query
    $forum_query = new WP_Query($args);
    
    if ($forum_query->have_posts()) :
    ?>
        <div class="bbp-pagination">
            <div class="bbp-pagination-count">
                <?php
                // Display the range of topics being viewed
                $start = ($paged - 1) * $posts_per_page + 1;
                $end = min($paged * $posts_per_page, $forum_query->found_posts);
                echo sprintf(__('Viewing %1$s to %2$s (of %3$s topics)'), $start, $end, $forum_query->found_posts);
                ?>
            </div>
            <div class="bbp-pagination-links">
                <?php
                // Generate the pagination links
                echo paginate_links(array(
                    'total'   => $forum_query->max_num_pages,
                    'current' => $paged,
                    'format'  => '?paged=%#%',
                    'add_args' => false,
                    'prev_text' => __('« Prev'),
                    'next_text' => __('Next »'),
                ));
                ?>
            </div>
        </div>
    <?php
    else :
        echo '<p>No topics found.</p>';
    endif;
    
    // Reset post data
    wp_reset_postdata();
    
    do_action('bbp_template_after_pagination_loop');
    ?>
    

    Replace the code inside pagination-replies.php to:

    <?php
    
    /**
     * Pagination for pages of replies (when viewing a topic)
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    do_action( 'bbp_template_before_pagination_loop' );
    
    // Use bbPress setting for replies per page
    $posts_per_page = bbp_get_replies_per_page();  // Dynamically get the value from bbPress settings
    
    // Get the current page
    $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
    
    // Set up the custom query
    $args = array(
        'post_type'      => bbp_get_reply_post_type(),
        'posts_per_page' => $posts_per_page,
        'paged'          => $paged,
        'meta_query'     => array(
            array(
                'key'   => '_bbp_topic_id',
                'value' => bbp_get_topic_id(),
            ),
        ),
    );
    
    // Run the custom query
    $replies_query = new WP_Query($args);
    
    if ($replies_query->have_posts()) :
    ?>
        <div class="bbp-pagination">
            <div class="bbp-pagination-count">
                <?php
                // Display the range of replies being viewed
                $start = ($paged - 1) * $posts_per_page + 1;
                $end = min($paged * $posts_per_page, $replies_query->found_posts);
                echo sprintf(__('Viewing %1$s to %2$s (of %3$s replies)'), $start, $end, $replies_query->found_posts);
                ?>
            </div>
            <div class="bbp-pagination-links">
                <?php
                // Generate the pagination links
                echo paginate_links(array(
                    'total'   => $replies_query->max_num_pages,
                    'current' => $paged,
                    'format'  => '?paged=%#%',
                    'add_args' => false,
                    'prev_text' => __('« Prev'),
                    'next_text' => __('Next »'),
                ));
                ?>
            </div>
        </div>
    <?php
    else :
        echo '<p>No replies found.</p>';
    endif;
    
    // Reset post data
    wp_reset_postdata();
    
    do_action('bbp_template_after_pagination_loop');
    ?>
    

    Then, resave your permalinks.

    #334914
    richardrcook2
    Participant

    Hello. I needed to fix a problem on my website romancingrarehearts.com. While doing so, I deactivated and reactivated Buddypress. Then I found that most of my pages were gone. Is there a trash bin that I can get them back from? Or are they unretrievable? I’m using theme Twenty Fifteen, buddypress 14.0.0, and WordPress 6.6.1.

    #334880
    johngtur
    Participant

    I’m running PHP 8.2, have deactivated all plugins other than BuddyPress, have switched to a default WordPress theme (2023), and have tried BuddyPress 12.2 and 14.0 – and BuddyPress will not send out emails to new members at all.

    This includes when they self-register, when admin sends them reminder emails manually, and when registration moderation is used and admin sends them an approval email.

    The BuddyPress plug-in itself says that emails are successfully sent, but they do not arrive and (when active) the WP Mail Catcher plugin does not record them as having been sent successfully or having failed: it does not acknowledge them at all.

    All other emails from my site work fine when other plugins are active – including 2FA, forgotten passwords and Newsletters. Can anyone suggest what the issue might be, or what next steps I should take to troubleshoot BuddyPress? Thanks.

    itsenaf
    Participant

    Hello,

    I try for hours to create a function, which will display a small red dot on the nav-bars acitivity stream link, when someone posted something new. Since all users are logged in, it should be possible to work with metadata “last_activity_visit”.
    Example screenshot: https://i.imgur.com/eeCvvkj.jpeg
    What I tried:
    Added below code to themes functions.php. Actually managed to display a red dot, when trying around with the code. But either the dot won’t be displayed at all, or it’s displayed always, even when the user visited the acitivity stream.

    
    function track_activity_page_visit() {
        if (bp_is_activity_component()) {
            update_user_meta(get_current_user_id(), 'last_activity_visit', current_time('mysql'));
        }
    }
    add_action('wp', 'track_activity_page_visit');
    
    function has_new_activity_posts() {
        $last_visit = get_user_meta(get_current_user_id(), 'last_activity_visit', true);
    
        if (empty($last_visit)) {
            return false;
        }
    
        $args = array(
            'date_query' => array(
                array(
                    'after' => $last_visit,
                ),
            ),
            'max' => 1
        );
    
        $activities = bp_activity_get($args);
    
        if (!empty($activities['activities'])) {
            return true;
        }
        
        return false;
    }
    
    function add_red_dot_to_menu_buddypress_activity($items, $args) {
        if (is_user_logged_in() && has_new_activity_posts()) {
            foreach ($items as &$item) {
                if (strpos($item->url, '/activity/') !== false) {
                    $item->title .= ' <span class="red-dot"></span>';
                }
            }
        }
        return $items;
    }
    add_filter('wp_nav_menu_objects', 'add_red_dot_to_menu_buddypress_activity', 10, 2);
    

    Any clue? 🙂

    #334788

    This is what I came up with and I think it worked to fix the Avatar quality, however, it won’t impact the Profile images for Groups and Group cover photos. Can you point me in the correct direction for the Constants that work with those two?

    Here’s my code:

    // Set the BP_AVATAR_ORIGINAL_MAX_WIDTH to a higher value
    if ( ! defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) {
        define( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 1024 ); // Set to match your largest expected upload size
    }
    
    // Adjust the quality of the avatar resizing process
    function custom_bp_avatar_quality( $args ) {
        $args['quality'] = 100; // Set to the highest quality
        return $args;
    }
    add_filter( 'bp_core_avatar_resize_args', 'custom_bp_avatar_quality' );
    add_filter( 'bp_core_avatar_thumb_resize_args', 'custom_bp_avatar_quality' );
    add_filter( 'bp_core_group_avatar_resize_args', 'custom_bp_avatar_quality' );
    add_filter( 'bp_core_group_avatar_thumb_resize_args', 'custom_bp_avatar_quality' );
    
    // Adjust JPEG quality for all images in WordPress
    add_filter( 'jpeg_quality', function() {
        return 100; // Set to the highest quality
    });
    
    // Ensure high-resolution images are used in the HTML output
    function custom_bp_use_full_size_avatar( $html, $params ) {
        if ( isset( $params['object'] ) && in_array( $params['object'], array( 'user', 'group' ) ) ) {
            // Get the full-size avatar URL
            $full_avatar_url = bp_core_fetch_avatar( array(
                'item_id' => $params['item_id'],
                'object'  => $params['object'],
                'type'    => 'full',
                'html'    => false,
            ));
            
            // Construct the new img tag with the full-size avatar URL
            $html = sprintf(
                '<img src="%s" class="%s" alt="%s" width="%d" height="%d"/>',
                esc_url( $full_avatar_url ),
                esc_attr( $params['class'] ),
                esc_attr( $params['alt'] ),
                (int) $params['width'],
                (int) $params['height']
            );
        }
        return $html;
    }
    add_filter( 'bp_core_fetch_avatar', 'custom_bp_use_full_size_avatar', 10, 2 );
    
    // Add custom CSS to scale down the avatars
    function custom_bp_add_avatar_css() {
        $custom_css = "
            .avatar,
            .group-avatar img {
                width: 150px;
                height: 150px;
                object-fit: cover; /* Ensures the image covers the element's entire area */
            }
        ";
        wp_add_inline_style( 'bp-parent-css', $custom_css ); // Adjust 'bp-parent-css' to match your theme's main stylesheet handle if necessary
    }
    add_action( 'wp_enqueue_scripts', 'custom_bp_add_avatar_css' );
    #334781
    Robeen
    Participant

    Hello @thesupercargo

    By the nature of the scenario, there is a chance it’s an isolated scenario that is present in your environment. To get the root, if possible check by yourself by mentioning those mention who are not getting the link. As you mentioned there doesn’t seem to be a pattern, I believe you have done that already and you made sure that there aren’t any spaces, and such a scenario.

    Now, you can check theme/plugin conflicts. Although there is a very low chance that there would be conflicts still. To do that, you can try this plugin: https://wordpress.org/plugins/health-check/ Also please consider checking WP-Admin->Settings-> Discussion to see where there is any moderation for those users.

    If the above are all good, consider checking whether there is any location or any other restrictions from the server side. I haven’t faced such a scenario as well, that’s why, I am curious as well to know what exactly is root cause.

    #334766
    capexpe
    Participant

    Hello BP-developers,

    I also want to thank you for maintaining and developing Buddypress!
    We have been using it for almost 10 years and never had issues when updating to a new version.

    Passing to 14.0.0 was different. Thanks for the BP Classic that fixes many issues for us but as Lars we still cannot have the translation working yet.

    We used to use the buddypress-fr_FR.mo file to change the by default translation of “groupe” (French word for group) in “Expé” for expédition on our site. But changing the buddypress-fr_FR and re-uploading to wp-content/languages/plugins as we were used to do at each update, does not seem to work.

    Here is a link to our website with both public and registered users : where the blue button close to the title should be “Créer une Expé” instead of “Créer un groupe” and the other blue buttons next to each group “Rejoindre l’Expé” instead of “Rejoindre le groupe”.

    Thanks for your help.

    WP 6.6.1
    BP 14.0.0
    Theme : a minimally customed child version of Boss

    #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' );
    #334729

    In reply to: URL page is blank

    Venutius
    Moderator

    check for a bp-custom.php file in your plugins directory, and check if you have anything in the themes functions.php file.

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

    #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

Viewing 25 results - 151 through 175 (of 32,562 total)
Skip to toolbar