Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1 through 25 (of 73,981 total)
  • Author
    Search Results
  • kflux
    Participant

    Hello everyone,

    I’m trying to create a simple custom theme to override the BuddyPress (Nouveau) registration page, but I’m consistently running into a White Screen of Death (WSOD). I’ve been troubleshooting for a while and would appreciate any help you can offer.

    My Goal:
    To create a custom theme that overrides register.php from the BP Nouveau template pack.

    My Environment:

    OS: Windows

    Local Development Tool: DevKinsta

    Plugin: BuddyPress (latest version)

    The Problem:
    When I activate my custom theme, I get a WSOD when trying to access the site (e.g., mysite.local/register/).

    Here is a summary of the troubleshooting steps I have already tried:

    Enabled WP_DEBUG: I have set WP_DEBUG, WP_DEBUG_LOG, and WP_DEBUG_DISPLAY to true in my wp-config.php. However, no errors are ever displayed on the screen or written to the debug.log file. The page is just completely blank.

    Checked for PHP Errors: I initially had parse errors (an extra } bracket) in my functions.php and register.php files. These have been found and corrected.

    Checked for BOM: I have verified with my code editor (VS Code) that all my theme files are saved with UTF-8 encoding and do not have a Byte Order Mark (BOM).

    Reset Permalinks: I have gone to Settings > Permalinks and clicked “Save Changes” multiple times to rebuild the rewrite rules.

    Theme Deactivation Test: When I rename my theme’s folder to force WordPress to deactivate it, I can access wp-admin again. This confirms the issue is within my theme’s code.

    File Permissions: I received a security warning that /wp-content/ was too writeable. I have reset the permissions for my entire site folder on my Windows machine to ensure they are not too permissive.

    My Theme Structure and Code:

    My theme is very simple.

    1. Directory Structure for the Override:
    wp-content/themes/kfluxtheme/buddypress/members/register.php
    (The register.php file is an exact, unmodified copy from wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/)

    /*
    Theme Name: K-Flux Theme
    Author: My Name
    Version: 1.0
    */
    <?php
    /**
     * Theme functions and definitions.
     */
    
    if ( ! function_exists( 'kfluxtheme_setup' ) ) {
    	/**
    	 * Basic theme setup.
    	 */
    	function kfluxtheme_setup() {
    		// Add support for BuddyPress (ESSENTIAL)
    		add_theme_support( 'buddypress' );
    
    		// Let WordPress manage the document title.
    		add_theme_support( 'title-tag' );
    
    		// Enable support for Post Thumbnails.
    		add_theme_support( 'post-thumbnails' );
    	}
    }
    add_action( 'after_setup_theme', 'kfluxtheme_setup' );
    
    /**
     * Enqueue scripts and styles.
     */
    function kfluxtheme_enqueue_scripts() {
    	wp_enqueue_style( 'kfluxtheme-style', get_stylesheet_uri(), array(), '1.0' );
    }
    add_action( 'wp_enqueue_scripts', 'kfluxtheme_enqueue_scripts' );
    

    Despite all these steps, the WSOD persists when my theme is active. Since WP_DEBUG is not showing any errors, I’m running out of ideas on how to debug this further.

    Has anyone encountered a similar issue with DevKinsta or have any suggestions for what I might be missing?

    Thanks in advance for any help.

    #338230
    albertpronto
    Participant

    We are adding BuddyPress to our MemberPress setup. On our MemberPress, we also have three tiers of memberships: Free, Basic, and Premium. The messaging will only be available for Basic and Premium members. Additionally, Basic and Premium members can also opt out of messaging.

    Are there third-party addons that can be added to BuddyPress that can enable this setup? Or could this be done natively with BuddyPress?

    emaralive
    Moderator

    @thinlizzie,

    We created a new build (11.5.2), give this a try and let me know if this works for you.

    https://downloads.wordpress.org/plugin/buddypress.11.5.2.zip

    #338200
    emaralive
    Moderator

    Is item #2 a custom email that you created and if so, how did you create it, i.e., what steps did you take?

    FYI – Typically “mail logging” plugins log mail sent via wp_mail() (WordPress) and by default BuddyPress doesn’t use WordPress to send emails thus they won’t show in those logs.

    jesserie
    Participant

    Hi BuddyPress Support Team,

    We’ve run into an issue with BuddyPress email notifications specifically with “A member receives a new private message”.

    1.) Private Messaging is enabled in BuddyPress Settings.
    2.) I created an email with the trigger “A member receives a new private message.”
    3.) To test, I sent a private message as another user. The test message does appear in the BuddyPress Private Message inbox of the recipient, so messaging itself is working.
    4.) However, the email notification is never triggered.

    For troubleshooting, I installed a mail logging plugin, and there are no logs showing BuddyPress attempting to send the notification email when a private message is received. We’ve tested this multiple times but the email notification for trigger “A member receives a new private message” is not working.

    Could you please confirm if this is a known issue or if additional configuration is required to get this notification working?

    Thank you for your assistance!

    emaralive
    Moderator

    Hello all. Versions 14.4.0, 12.6.0 & 11.5.2 are Maintenance and Security Releases. Please update, accordingly, when possible.

    BuddyPress 14.4.0, 12.6.0 & 11.5.1 Maintenance and Security Releases

    pakeeza25
    Participant

    Sounds like that group’s database entry might be corrupted. Try repairing BuddyPress tables from wp-admin → Tools → BuddyPress, or delete/recreate the Texas Roadhouse group. Also clear object/page cache after changes—often fixes group-specific feed and upload issues.

    glenphillips33
    Participant

    Hi everyone, I’ve been building a community website using BuddyPress where people can share restaurant experiences, and I set up a section specifically for Texas Roadhouse fans. The idea is to let users join the group, share menu reviews, upload food photos, and talk about their visits. However, I’ve been running into a technical issue: the Texas Roadhouse group page isn’t displaying properly compared to other groups.

    When users join the Texas Roadhouse group, the activity feed either doesn’t update or loads very slowly. Sometimes the posts don’t appear at all until I refresh the page multiple times. What’s strange is that other groups on my site (like “Olive Garden” or “Chili’s”) work fine and update instantly.

    I checked my BuddyPress settings, and everything looks identical across groups. The group permissions and activity stream settings are the same, so I don’t understand why this one page is behaving differently. I even tried disabling a couple of plugins (like caching and image optimization) to rule out conflicts, but the issue remained.

    Another problem is with the group media uploads. When someone tries to upload a photo of their Texas Roadhouse meal, the upload hangs or fails completely, even though image uploads work in other groups. This makes me wonder if there’s some kind of database issue or corruption specific to this group ID.

    Has anyone else faced a situation where a single BuddyPress group acts differently from the rest? I’d love to know if there’s a fix—whether it’s resetting the group, clearing caches, or maybe adjusting BuddyPress database tables. Any advice would be greatly appreciated, since this Texas Roadhouse group is one of the most popular on my site.

    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.

Viewing 25 results - 1 through 25 (of 73,981 total)
Skip to toolbar