Exposing every aspect as an option is untenable.
You need to adjust a template file.
The file in question depends on which BP template pack you are using.
Go to wp-admin > Settings > BuddyPress > Options and note the setting for the Template Pack option.
If you are using Nouveau, then this is the file:
wp-content\plugins\buddypress\bp-templates\bp-nouveau\buddypress\activity\index.php
In that file, find this: <?php bp_get_template_part( 'activity/post-form' ); ?>
And change it to this:
<?php
if ( ! bp_is_user() ) {
bp_get_template_part( 'activity/post-form' );
}
?>
Note: it is recommended that you do not edit the template files in the BuddyPress plugin.
Your changes will be wiped out when you update the plugin on a new release.
Instead, create a template overload and then edit that file.
More info re template overloads:.
I have to hide some nav menus of bp users’ profile page from other users. I using the following function to do so. That was working fine.
/* BuddyPress profile nav menu restrictions */
function bpex_hide_profile_menu_tabs()
{
if (bp_is_active(‘xprofile’)) :
if (bp_is_user() && !bp_is_my_profile()) {
// BP’s profile main menu items. Comment those to show.
// bp_core_remove_nav_item( ‘activity’ );
// bp_core_remove_nav_item(‘profile’);
bp_core_remove_nav_item(‘friends’);
bp_core_remove_nav_item(‘groups’);
// exist only if you use bbPress
bp_core_remove_nav_item(‘forums’);
// bp_core_remove_nav_item(‘activity’);
bp_core_remove_nav_item(‘following’);
bp_core_remove_nav_item(‘followers’);
bp_core_remove_nav_item(‘bookmarks’);
bp_core_remove_nav_item(‘activity’);
// BP’s profile main menu items. Comment those to show.
bp_core_remove_subnav_item(‘activity’, ‘personal’);
bp_core_remove_subnav_item(‘activity’, ‘friends’);
bp_core_remove_subnav_item(‘activity’, ‘groups’);
bp_core_remove_subnav_item(‘activity’, ‘following’);
bp_core_remove_subnav_item(‘activity’, ‘feed’);
}
bp_core_remove_subnav_item(‘activity’, ‘mentions’);
bp_core_remove_subnav_item(‘activity’, ‘favorites’);
endif;
}
add_action(‘bp_init’, ‘bpex_hide_profile_menu_tabs’, 15);
I have this navigation menu for the bp user on the header by default. When I am viewing other’s profiles the nav menus inside the user’s header menu also get hidden.
Is there any other ways to do this.
I am using the latest version of WordPress 5.4.2, BuddyPress 6.0.0, and BuddyX Theme 1.3.7.
Theme – Cera
I am still struggling to figure out how to separate the activity streams. I just want each member to have their own activity stream.
Let me explain…
I have an activity stream in each members profile page already but..they all share the same feed.
I want the activity feeds to be separate.
If I post in members page A then post in members page B – you will have to go to both members pages to see each post. Example- A post stays in A members page
Please someone help
I want to learn how to customize this myself.
Hi,
I checked all the plugins which were in the theme, and indeed, one of the plugins limited access to the groups. Now they are visible to everyone 🙂
Thanks a lot!
Hello,
I am working on a subdomain for a client: https://forum.secretsofpakistan.com/
I put a few public Groups on the Homepage, but I can only click on them when I am logged in to the WP site.
When I am logged in, I can visit https://forum.secretsofpakistan.com/groups/uk-nationals-in-pakistan/ e.g. but whoever is not logged in will land on the Homepage of the website.
I already went to Settings – Permalinks and selected “Post Name”.
WordPress Version 5.4.2
BuddyPress Version 6.0.0
Theme Aardvark
Does anyone has an idea how to make the Group pages visible for non-logged in visitors?
Hi Mercime,
The button does not show in Twenty Twenty theme. The theme I use it shows the button but when clicked it makes you sign up/login. The Dev has not got back to me yet.
You can change it yourself through CSS, if you right click on the picture and choose inspect element you can see the name and specifications of the element to change.
Here’s some good links from another forum helper on it.
~ https://developers.google.com/web/tools/chrome-devtools/css/reference#view
~ https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS
Otherwise you could probably get help from the Aardvark theme developers or RTmedia.
Hi all,
I am having an issue with my activity stream, where images uploaded by users are way too big, and can take up one and a half of the web browser space. I’ve tried changing the RTmedia image sizes but that hasn’t worked.
I’m using Aardvark theme.
Your theme’s grimlock-buddypress plugin set style of the BuddyPress select form with no wiggle room for the font-size they set on the select options. Following is a quick fix. You should ask your premium theme author where you should add the style fix as we have no access to the paid theme. The theme author should provide you with free support for the premium theme.
#buddypress .standard-form select {
padding: .3rem 1.25rem;
}
Thanks for the prompt reply. I’ll head back to Elegant Themes.
@chuck141 and what did the theme dev say? As @iamthewebb mentioned above, those do no show up for users who are not logged in. If you change to Twenty Twenty theme, do the buttons still show up when you’re logged out?
Thank you for the reply. I am using rehub theme and I have queried this with the theme dev.
> how to get the excerpt from a blog post to appear in the BuddyPress activity stream without displaying the Divi Shortcode.
@angelajean Excerpts of published blog posts do appear in the BP activity stream naturally in any theme, and any blog URL you post in the status update in the activity stream has a very nice excerpt as well, so not sure why you would need a plugin for showing blog excerpts using Divi. .
Unfortunately, Divi’s a premium theme that we don’t have access to so I would have to refer you back to that theme’s support forums where you could ask them why you need to add/buy a plugin to show a normal blog excerpt in your activity stream.
Cannot say with just your screenshot whether it’s the theme or the plugin that’s causing the issue. Here are some links which can help you identify the CSS selector to adjust line-height and/or margin of your select fields.
~ https://developers.google.com/web/tools/chrome-devtools/css/reference#view
~ https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS
I am trying to figure out how to get the excerpt from a blog post to appear in the BuddyPress activity stream without displaying the Divi Shortcode. I wrote to Elegant Themes and they want me to add yet another plugin. My website is already plug-in heavy and I am trying to avoid future conflicts. I am sure there must be a simpler fix.
You can see an example of what I am talking about here: https://www.notyouraverageamerican.com/activity/
Scroll down to the post Your Ecuador Pre-Trip To-Do List.
PS – I am not a coder.
Hi,
Is there a way to stop users being able to tick the checkbox and use weak passwords while updating their password through BuddyPress? I have googled and found various answers of how to enforce strong passwords, and also code to remove the option to allow it, but for WordPress, not specifically BuddyPress. However, none of the things I have tried have worked.
I’m even struggling to hide it uses CSS and using !important as it is overridden.
I am using the latest WordPress/BuddyPress and the Woostify theme. My website is https://segauniverse.com, however you need to be registered to access BuddyPress (under Community/SEGA Chat).
I don’t want users to be able to select a weak password, as they can select a 1 letter password or basic word, and i think this is a security risk.
Thanks
Those buttons don’t normally appear for logged out users. Have you tested with the default themes?
I have followed the steps you have referred me to and the issue still persists. I tried activating the ‘twentyseventeen’ theme and still experience issues with joining and creating groups.
It is worth noting that i can create groups as an admin, just not as a member?
@swalky it might be some 3rd party js specific conflict or theme js itself. You can follow the following steps to isolate the issue
https://buddypress.org/support/topic/when-asking-for-support-2/
Hi
Please revert this
I basically reordered the options in the php file. and It worked to some extent.
and put the following code in your bp-custom.php file or child theme’s functions.php file:
add_filter( 'bp_nouveau_get_groups_filters', function( $filters, $context ){
return array_reverse( $filters, true );
},10,2);
I hope this will help you.
function ps_mine_activity_args( $args ) {
if ( ! bp_is_activity_directory() || ! is_user_logged_in() || ! empty( $args['scope'] ) ) {
return $args;
}
$user_id = get_current_user_id();
$args['user_id'] = $user_id;
return $args;
}
add_filter( 'bp_after_has_activities_parse_args', 'ps_mine_activity_args' );
Please put the above given code in your bp-custom.php file or in your child theme’s functions.php file.
Hope that it will show only logged-in user’s activities in the sitewide activity stream.
Hi there,
Is there a way to remove the “All Members” from the activity stream? I’d like it so essentially users are only able to view their activity / their friends activity, as I don’t feel like theres a need for everyone to be visible. I’ve made a duplicate of the activity index.php into a child theme, and commented a few bits out, which does work to a certain degree, but when you first go onto “activity” it’s the first thing that shows up, rather than defaulting to “Friends”.
Any help would be appreciated.
Thanks,
Kind regards,
Hi shonty
Unfortunately I have the same problem with the theme I’m currently using but I tested my theory by switching to the Twenty Twenty theme and then changing to Nouveau and sure enough, the filter is showing correctly.
I’m going to need to find a better fix myself so will continue to investigate further and report back.
Nice one Nik. My theme won’t let me change from Buddypress Legacy. I select Nouveau, click Save Settings and Legacy is still there. I’ll do some digging around to. Thanks for sharing:)