Search Results for 'custom activity page'
-
Search Results
-
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.
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!Hi
Is it possible to add the Activity Feed in a custom location?
I find the Activity page quite restrictive and would like to add a feed to a custom page via a shortcode.
I can gt the feed to load like this – however it seems to be missing styling and when clicking comment it redirects me.
Is there a better way to do this?
function custom_shortcode_activityfeed() { ob_start(); if ( function_exists( 'bp_has_activities' ) ) { bp_get_template_part( 'activity/activity-loop' ); } $output .= ob_get_clean(); return $output; } add_shortcode( 'custom_activityfeed', 'custom_shortcode_activityfeed' );Hi everyone,
I’m working on customizing my BuddyPress site and would like to change the text that says “posted an update in the group” on the activity page. Specifically, I want to replace the word “group” with “Teams.”
Could someone guide me on which file I need to edit to make this change? Any tips on best practices for modifying this would also be appreciated to ensure I don’t break any future updates.
Thanks in advance!
Best,
i Have this link now: https://domain.com/member/johndoe/activity/512/
but need this: https://domain.com/512/how i can do that by some php snippet? pls help
Something like this? but its bad code i mean
function custom_activity_link($activity_id = false) { global $bp; if (!$activity_id) { $activity_id = bp_get_activity_id(); } return home_url('/' . $activity_id . '/'); } function change_buddypress_activity_permalink() { global $bp; $bp->activity->root_slug = 'activity'; add_rewrite_rule('^([0-9]+)/?$', 'index.php?pagename=activity&p=$matches[1]', 'top'); } add_action('bp_init', 'change_buddypress_activity_permalink', 2); add_filter('bp_get_activity_thread_permalink', 'custom_activity_link', 10, 2);According to the following document
https://github.com/imath/buddypress/blob/master/docs/user/administration/settings/urls.md
“Every BP Component using a directory gets an accordion panel to let you customize its title and permalink as well as potential single item screen URLs when supported (eg: Members and Groups).”
However, on my BuddyPress Settings->URLs screen, I see accordion panels for Members and Activity Streams. I do not see an accordion panel for User Groups, even though it is enabled in the Components screen.
I see the following message in the Network Dashboard and the Main Site Dashboard:
A BuddyPress page has been added for the following active BuddyPress Components which did not have associated BuddyPress Pages yet: Groups. You may need to refresh your permalink settings.
Hi, I got some error about the BP Classic. Before the bp’s updates, my activity page is working without activate BP Classis plugin. For now, I need to activate the BP classic plugin to work my activity page. However, I cannot customize my site now when I activate my BP Classic plugin.
May I know how to solve the problem?
This is how my activity page without activate BP Classic looks like: https://ctrlv.link/rSS8
Activity URL: https://myinvestbuddies.com/feeds/

I have a custom template page that I’ve added specific bp-activities and its comments (pulled some code from the activity-loop).
In Buddypress v11.4.3, everything was working fine, the activity displays and comments + reply functionality works – click on a reply and the .ac-form moves to selected reply/comment and it nests it as expected.
Since Buddypress 12, replies no longer work. I think it’s because the Buddypress scripts no longer load on NON-buddypress pages. I tried enqueueing Buddypress scripts myself using a function:
but just loading the scripts is not enough. When I replaced buddypress-activity.js with my own version to debug, I noticed that BP_Nouveau returns as ‘undefined’ and so none of the script functionality would run.
I’m probably missing something really simple but how can I load Buddypress core scripts or styles in my own custom wordpress template?