Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 26 through 50 (of 69,209 total)
  • Author
    Search Results
  • emaralive
    Moderator

    This appears to be related to ticket #9302, primary navigation in site editor fails to allow creation of a group. The ticket was submitted by the OP for this topic and has more information regarding the steps to reproduce.

    #338074
    emaralive
    Moderator

    The URLs come from the WP Posts table in the database. In your db client, you can query/search the “post_type” field/column with a value of “buddypress” (without the quotes) and the results should be all the entries that are associated with URLs/Directories.

    #338073
    Serena Zehlius
    Participant

    Thank you so much for your help! I was referencing the database because no pages existed with the titles to warrant the “-2” addition. And in menus, when I open Buddypress Directories, there are 3 Activity items and 3 Member directories with titles I used in previous installations(Members, Member Directory, Members Directory, etc.) I wanted to know where the plugin pulls the URLS from so I could remove all of the old entries. Using the BP Classic plugin won’t help since they’re all from the URL version of Buddypress. I also was confused about how I can set the sidebar on the Buddypress pages being that they are dynamically generated.

    Any other ideas about where the plugin is getting the URLs from prior installations?

    #338065
    emaralive
    Moderator

    When reviewing the history for this BP Add-on, this appears to be a bug that was first reported in April of 2024 in the WordPress support forum for this plugin. However, it appears that the only action taken was the submission of a GitHub issue #112 that acknowledges the bug and this issue has remained open since that time.

    Long story shorter, the fatal error is due to, what appears to be, missing parameters which is unforgiving with PHP version 8.0+. Rolling the PHP version back to 7.4.33 produces PHP errors as a warning and notice for the same file and line number. This bug appears to affect the posting of am image in an activity post; meaning the image is uploaded but does not get attached to the associated activity post. What does seem to work is uploading images from a user’s profile media area (where the image gallery is shown).

    All I can suggest at this point is that you deactivate the plugin until a remedy can be found and a new version is released.

    #338053
    emaralive
    Moderator

    For the following items, there will either be URLs or Pages:

    • Activate
    • Activity
    • Groups
    • Members
    • Register

    The default when installing or upgrading to BuddyPress versions of 12 or greater is URLs. In order to change to Pages, the BP Classic add-on (plugin) should be installed and/or activated.

    Most likely, the reason for the -2 for the Activity Directory slug in URLs is that there is a Page with the title of “Activity” and a slug with a name of “activity” which should be visible within the WP Pages area. The indicated items are WP posts that will either have a post type of “buddypress” (indicates URLs) or a post type of “page” (indicating Pages). Meaning they should all be of same post type, not a mixture of both nor duplicates,

    Installing and/or activating the BP Classic add-on should revert all the previously indicated items to Pages and then you should be able to remove (trash) any duplicate Pages within the WP Pages area. You can the keep things as Pages or deactivate the BP Classic add-on to revert to the default of URLs.

    #338050
    kenjikato
    Participant

    If anyone comes to this post looking for help on using Divi with BuddyPress here’s the first thing that you need to do.

    1. Log in to your WordPress site.
    2. From the WordPress sidebar select “Divi > Theme Options”.
    3. Go to the “General” tab (which should be selected by default) found below the Divi Theme Options text.
    4. Click on the “Performance” sub-tab.
    5. Disable “Dynamic CSS”.

    This should fix the header and footer formatting issues that most people see when using Divi with BuddyPress.

    #338036
    quandt
    Participant

    Update, in legacy view as to why when expanding your ‘Child groups’ each group is listed again.

    So not sure exactly, however, cause is related to the template stack not getting loaded when called via ajax. Not being an expert in buddypress nor wordpress, I’d guess that BP now requires something special for ajax style calls (or frankly maybe the code should be rewritten to remove ajax… in my mind that’d be preferable)

    This is the code line not getting executed when called via ajax… cuz your not in the groups directory… or wherever the groups directroy might be on your verson of BB

    "public/class-hgbp.php" 
        /* Changes to the groups directory view. **********************************/
        /** 
         * Add our templates to BuddyPress' template stack. 
         *
         * @since    1.0.0
         */ 
        public function add_template_stack( $templates ) {
            if ( bp_is_current_component( 'groups' ) ) {
                $templates[] = plugin_dir_path( __FILE__ ) . 'views/templates';
            }
            return $templates;
        }

    Simply executing the template stack add, gets you much better results, but is the right answer, doubt it?

    quandt
    Participant

    Anyone else having issues with nouveau and creating new groups?

    wp version: 6.8.2
    BB version: 14.3.4

    From the frontend go create a group step 1 (enter name/details), press next

    In legacy I get to step #2, and other steps just fine

    In nouveau, I get a site crash

    In both cases, a group is created but of course I never got to steps past #1

    Here’s the php errors.log

    [Thu Aug 28 20:57:57.144448 2025] [proxy_fcgi:error] [pid 3199895:tid 3199921] [client 47.146.236.56:57038] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function get_secondary() on null in /srv/buddypress/wordpress/wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/template-tags.php:802\nStack trace:\n#0 /srv/buddypress/wordpress/wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php(12): bp_nouveau_has_nav()\n#1 /srv/buddypress/wordpress/wp-includes/template.php(812): require('...')\n#2 /srv/buddypress/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(225): load_template()\n#3 /srv/buddypress/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template()\n#4 /srv/buddypress/wordpress/wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/functions.php(1612): bp_get_template_part()\n#5 /srv/buddypress/wordpress/wp-includes/class-wp-block.php(586): bp_nouveau_render_primary_nav_block()\n#6 /srv/buddypress/wordpress/wp-includes/blocks.php(2359): WP_Block->render()\n#7 /...', referer:

    https://fam.actlocalfest.org/groups/create/step/group-details/

    #338033
    quandt
    Participant

    Great plugin.

    But yup, needs some attention to update to latest… logically works though, just visuals seem to be programmatic.

    wordpress: 6.8.2
    buddypress: 14.3.4

    legacy:
    almost works 100%, groups directory view shows a caret for groups, unfortunately when you expand the caret (groups are not getting filtered for the child groups, ie the children are simply the list of all groups again)

    nouveau:
    ehh, no tree view, but the include top-level groups only kind of functions, but again don’t think there’s any code to support this under nouveau

    I hope to do some debugging and work on this plugin, wish me luck.

    #338028

    Topic: Social Login

    in group forum Third Party Plugins
    Ricsca2
    Participant

    Is there a free plugin to add Gmail login almono?
    The two most popular plugins, Nextend Social Login and miniOrange Social Login, integrate with buddypress only in the pro version.
    Thanks

    elearnnow
    Participant

    Hi BuddyBoss community,

    I’m having trouble activating BuddyBoss components programmatically. I’ve tried several approaches, but the components aren’t being enabled. Here’s what I’ve attempted:

    Using bp_update_option()
    Direct database updates
    Different hooks (init, after_setup_theme)
    Current Behavior:

    No components activate
    No error messages in logs
    Tried both single site and multisite
    What I Need:

    A reliable way to activate components (Groups, Activity, Messages, etc.)
    Best practices for programmatic component management
    Any known issues with automatic component activation
    <?php
    /**
    * BuddyBoss Components Activator
    * Add this to your theme’s functions.php or as a must-use plugin
    */

    // Make sure we don’t expose any info if called directly
    if (!defined(‘ABSPATH’)) {
    exit;
    }

    // Hook into after_setup_theme to ensure BuddyBoss is loaded
    add_action(‘after_setup_theme’, ‘activate_buddyboss_components_on_init’, 9999);

    function activate_buddyboss_components_on_init() {
    // Check if BuddyBoss is active
    if (!function_exists(‘buddypress’)) {
    return;
    }

    // Get current active components
    $active_components = get_option(‘bp-active-components’, array());

    // Components we want to activate
    $components = array(
    ‘groups’ => 1,
    ‘activity’ => 1,
    ‘messages’ => 1,
    ‘notifications’ => 1,
    ‘friends’ => 1,
    ‘settings’ => 1,
    ‘xprofile’ => 1,
    ‘members’ => 1
    );

    // Merge with existing components
    $new_components = array_merge($active_components, $components);

    // Only update if there are changes
    if ($active_components != $new_components) {
    update_option(‘bp-active-components’, $new_components);

    // Clear BuddyBoss component cache
    if (function_exists(‘bp_core_reset_incrementor’)) {
    bp_core_reset_incrementor(‘bp_active_components’);
    }

    // Flush rewrite rules on next load
    set_transient(‘bb_flush_rewrite_rules’, ‘1’, 60);
    }
    }

    // Handle rewrite rules flush
    add_action(‘init’, ‘bb_maybe_flush_rewrite_rules’, 9999);
    function bb_maybe_flush_rewrite_rules() {
    if (get_transient(‘bb_flush_rewrite_rules’)) {
    delete_transient(‘bb_flush_rewrite_rules’);
    flush_rewrite_rules(false);
    }
    }

    tim4578
    Participant

    Hello!
    I am using BuddyPress + BUddyBuilder + bbpress + Woocommerce for subscriptions.
    I now have the problem that for testusers there is no profile being displayed. When navigating with my admin profile, I can open the “my account” page without any problems, the full BuddyPress Profile with Woocommerce integrations are being displayed.
    Do you have any idea how I may resolve this issue, so that users can access their profiles?

    Thanks and best regards

    #337990
    locker17
    Participant

    I meant the link because there is no button.
    To risca, it depends which template you use, default or novoue. If it is novoue pick up the template file for the emails, search for the unsubscribe link and delete or comment it out. Then save this file in a directory called buddypress with the same folder structure in your child theme directory.

    emaralive
    Moderator

    The login page shown in the 1st screenshot is due to having the Community Visibility option set to “Members Only” (Private Community) within BuddyPress options. This option was introduced in version 12.0.0 and there appears to be some situations in which the default WordPress login page appears as opposed to the intended “Private Community” login page. Nevertheless, the “Private Community” login page can be disabled by utilizing the bp_view_no_access_redirect_to_login_screen filter hook and you will want your callback function to return a value of true. The following link is the line of code where the filter hook resides for v14.3.4:

    bp_view_no_access_redirect_to_login_screen

    The registration page shown in the 2nd screenshot is actually the BuddyPress registration page. Why it looks different is because the Buddyx theme is utilizing CSS rules to alter/change the appearance. You should contact Wbcom Designs support regarding the restoration of the default appearance.

    #337971
    emaralive
    Moderator

    The snippet does what it is coded to do, therefore, either the snippet is not being invoked or there is something else (possibly a plugin, theme or other custom code) that is counteracting the snippet.

    I’m not familiar with the “username only” plugin, is this plugin available via the WordPress plugins directory? I’m asking because this plugin or some other external factor (a different plugin or theme) might be disrupting the normal flow of events.

    The snippet relies on the bp_get_title_parts filter hook which relies on the bp_modify_page_title() function to be invoked by the wp_title filter hook.

    You can try hooking the snippet to the wp_title filter hook to see if that makes any difference, i.e., change:

    From:

    
    add_filter( 'bp_get_title_parts', 'yz_change_buddypress_browser_tab_title', 999 );
    

    To:

    
    add_filter( 'wp_title', 'yz_change_buddypress_browser_tab_title', 999 );
    
    #337970

    Topic: Supporter Badge

    in group forum Third Party Plugins
    werny
    Participant

    I need a way to add a sort of Supporter Badge to all my Buddypress-users who support me.
    A custom badge should be shown on their profile.
    It also should be clickable (link to a specific page)
    Is that possible? What options do I have?

    #337956
    emaralive
    Moderator

    From what I can tell, the snippet replaces the text portion of what BuddyPress would normally add to the meta “title” with the text “XXXX” (without the quotes). For example on a members profile view page (site.url/members/username/profile):

    Display name of user: test
    Website name: Apple

    Without snippet: Profile | test | Apple

    With snippet: XXXX | Apple

    The snippet (copy & paste) was checked for use in the bp-custom.php file and the functions.php file of a child theme. Perhaps, you could elaborate a bit more as to the steps you took to implement the snippet and what you expected the result to be.

    #337947
    locker17
    Participant

    Delete it in the email template of your theme and upload it to buddypress folder in your theme directory to be update safe.

    #337938
    Kir 2012
    Participant

    Hi – apologies if this is a really obvious one but I don’t seem to be able to find a way to do it.

    On my buddypress profiles, I’m using usernames and the mention names. I don’t want real names to appear anywhere and it appears in the browser tab, is there a way to change it? I found this but it doesn’t seem to work for me, any suggestions gratefully receieved? Thanks 🙂

    // Change User Profile Browser Page Title.
    function yz_change_buddypress_browser_tab_title( $bp_title_parts ) {
         
        if ( bp_is_user() ) {
        	return "XXXX";    
        }
    
        return $bp_title_parts;
     
    }
     
    add_filter( 'bp_get_title_parts', 'yz_change_buddypress_browser_tab_title', 999 );
    #337937
    Ricsca2
    Participant

    How can I remove the “unsubscribe” link at the bottom of emails sent by buddypress to users?
    Thanks

    emaralive
    Moderator

    BuddyPress utilizes the WordPress login page by default. There are plugins that will alter or replace the standard WordPress login page.

    #337930
    emaralive
    Moderator

    This is been asked before in different topics with various solutions offered. There is one solution that may work for you, which is represented as a GitHub Gist:

    Disable BuddyPress Signups feature

    The Gist came from a reply that is located here.

    Another solution is provided by the LoginPress plugin that has a coding example that is similar to the Gist code. The code is located near the bottom of this page.

    Other than those examples, you can read through other conversations related to this topic that may be better fits for your situation.

    #337921
    Ricsca2
    Participant

    I solved it with chatgpt which had made me a plugin to put .html also in the forum (which like buddypress does not depend on the parmalinks that are set on wp).

    #337920
    Ricsca2
    Participant

    /%postname%.html
    I’m importing an old site that had parmalinks like maysite.com/name-article.html, so I set the parmalinks to /%postname%.html.

    But now, since buddypress doesn’t have a / after the %/, it’s breaking the forum tab URLs, even though the buddypress links don’t contain the .html because they don’t follow the custom parmalink rules.

    #337911
    Ricsca2
    Participant

    If Permalinks aren’t set with / at the end of /%postname%/ but, for example, /%postname%.html, even though it doesn’t actually affect the BuddyPress URLs, only the posts and pages, when navigating the forum tabs, the / is missing and the URL is broken.
    For example: to see a user’s replies, the URL is
    /members/ricscaforums/replies/
    and not
    /members/ricsca/forums/replies/

Viewing 25 results - 26 through 50 (of 69,209 total)
Skip to toolbar