@wanderingsoles Just to be clear, you have enabled registration on your site and removed the copy correct? Have you have assigned the Register and Activate pages in Settings > BuddyPress > Pages? Have you tried changing your theme to 2014 or 2015 to check if it’s a theme issue or not?
BuddyPress 2.2 should fix this problem.
Release is imminent so stay tuned!
Just a couple further thoughts about this, since you guys are re-thinking it:
If you really want people to get into the right sub-forum, why show a long list of topics in the first place? If they’re browsing, they’ll click an interesting-looking topic, and then end up posting their own question in whatever category they find themselves in (or append their question to an existing topic).
On the other hand, if they arrive at /support with the intention to post a query without browsing first, it isn’t immediately obvious that a category must be chosen first in order to do that.
An alternative:
buddypress.org/support perhaps shows a couple/few sticky posts, but the main content is a modified version of @modemlooper’s ‘When Asking for Support’. I’m guessing few people actually open that link before posting. For clarity, it might even be sub-divided into its troubleshooting advice, and the installation-environment probes.
I’d follow (or even precede) that with concise instructions on initiating a query by first selecting the relevant category from the sidebar list.
If there is a desire to just have all posts sorted by most-recent, just link to such a page. The /support page as it stands now seems to be geared for browsing.
In other words, my register page does not actually show up at all… just BuddyPress Create an Account form.
Hello,
Does anyone know why Buddypress creates the pages for Members, Activity Streams, Site Directory and User Groups automatically, but the pages for Register and Activate need to be created manually? And more importantly – is there any way to have those created automatically as well?
Thanks!
@henrywright Thanks! Here is what I did:
edited /wp-content/plugin/buddypress/bp-activity/activity-template.php
Found the activity loop and changed $defaults = array(
‘display_comments’ => ‘stream’
That puts all comments on the top but only the comments are pulled to the top. What I really wanted was the entire conversation is pulled to the top.
Also, I think what I have done is crude and somehow, not ‘proper’. For instance, when I update buddypress plugin, all my changes will be gone.
How do I make sure that the changes remain?
Also, I have gone through https://codex.buddypress.org/developer/function-examples/bp_activity_add/
But still am nebulous about:
You can add items to the activity stream using bp_activity_add(). You’d write a custom function and hook it to the relevant action which fires when a group message has been posted (see a)
Can you elaborate?
Lastly, the codex page talks about adding new activity to database. I hope, it makes sure that one gets to see messages posted to only those groups one is authorized to see.
PS – When I crack it, is there any way I can contribute to the codex so other newbies like me have access to the stuff? How?
Thanks!
It sounds like a bug.
Please create a ticket on trac.
Use the same user / password you use here.
Careful not to confuse the bp_get_activity_user_id filter hook with the bp_get_activity_user_id() function.
See here for the function and here for the hook.
I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays… …all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?
You have to ‘add’ the new activity.
Regarding the second bullet point, you’d need to modify your activity loop which will be inside your activity template. Try something like this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&display_comments=stream' ) ) : ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?>
<?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
<?php endwhile; ?>
<?php endif; ?>
For more info on the BuddyPress template system and where you find your activity template, please see this article.
You should copy the entire buddypress folder from the bp-legacy folder to your root anyway, this will allow easy adjustment of those core templates, and you get easier access to those files to copy code for new page-templates you can add to your root folder.
Perhaps you might have to alter Brajesh Singh’s code to this, not sure.
<?php bp_get_template_part( 'buddypress/activity/index' ); ?>
Another way around would be plugins that allow activity as shortcode to be placed on any page, but more plugins is not necessarily a good idea.
Good luck
Peter Hamilton
Onlijn.com
Hello!
Here is the information first:
1. Which version of WordPress are you running?
WordPress Version 4.1
2. Did you install WordPress as a directory or subdomain install?
Installed as a directory
3. If a directory install, is it in root or in a subdirectory?
Subdirectory
4. Did you upgrade from a previous version of WordPress? If so, from which version?
No
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes, its only the member profile pages not working and the registration page
6. Which version of BP are you running?
2.1.1
7. Did you upgraded from a previous version of BP? If so, from which version?
No, fresh wordpress installation fresh Kleo fresh Buddypress
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Akismet,AskApache Debug Viewer,K Elements, Resize Image After Upload,Revolution Slider,rtMedia for WordPress, BuddyPress and bbPress, bbpress, Taxonomy Metadata, WordPress SEO, WPBakery Visual Composer
9. Are you using the standard BuddyPress themes or customized themes?
No i am using Kleo
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
No
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
bbPress 2.5.4
13. Please provide a list of any errors in your server’s log files.
its 404 not found
14. Which company provides your hosting?
Rackspace
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Apache
Extra info: I have permalinks set to default. With default permalinks, the posts work but the member profiles give 404. If i change the permalinks to something else the posts don’t work and the member profile pages don’t work either. Also it appears i have no registration page. Its like Buddypress doesn’t recognise any of the paths. I have created Registration and Activation pages and have set them at the settings. I had it working on a previous wordpress installation that was the same, but then after a fresh installation it stopped working.
Hi there,
Running the latest for BuddyPress and WordPress and came across an issue with search. When a user sets his visibility for a profile field to “only me”, the field is hidden from his profile. However, when you are in the members directory and search for a term that the user has hidden from his profile, his profile still shows up.
Is this a bug or was it not implemented?
I think you are playing with the old bp default theme files which are no longer being used(?)
see – https://codex.buddypress.org/themes/bp-default-theme-moving-forward-with-bp-1-9/
and perhaps -> https:// codex.buddypress .org/themes/
although I am pretty sure a bunch of the info on that buddypress .org / themes is talking about the old ways of doing things.. so check dates.. I think a bunch of that info is deprecated… however you may find what you are looking for in the codex..
maybe what you are looking for in relation to profiles is touched on here: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
Please help me i try to change buddypress preview from the post to direct edit
here my code
add_filter(‘bp_blogs_activity_new_post_action’, ‘record_cpt_activity_action’, 1, 3);
function record_cpt_activity_action( $activity_action, $post, $edit_post_link ) {
global $bp;
if( $post->post_type == ‘post’ ) {
if ( is_multisite() )
$activity_action = sprintf( __( ‘%1$s wrote a new article, %2$s, on the site %3$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘, ‘‘ . get_blog_option( $blog_id, ‘blogname’ ) . ‘‘ );
else
$activity_action = sprintf( __( ‘%1$s Wrote Colab, %2$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘ );
}
return $activity_action;
}
How do I create a buddypress child template, not technically child theme, however how do I manipulate certain files like the profile?
I tried copying all the files from 1 to 2, but that doesn’t seem to work
/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/members/single /public_html/wp-content/themes/myTheme/buddypress/members/single/
Thanks
Sorry, I should have done it before posting.
Yes the hook is you mentioned is in that template, I ran the user check and it was successful, however it also removed the main list of achievements.
Also I was looking here: https://github.com/paulgibbs/achievements/blob/master/src/includes/class-dpa-wpcli-achievements-users-command.php#L33
And it looks like this is where the list for a specified user is created, but I wasn’t able successfully run a user check on it, but I assume that’s because it’s not going through buddypress.
You could be right. I think bp_core_remove_nav_item() might do a little more than just visually removing an item from the member’s nav menu.
If it helps, this is the method that adds the item to the nav menu.
No luck with
if ( bp_is_user() && bp_is_current_component( 'achievements' ) && bp_is_current_action( 'all' ) )
return;
My guess is that since I removed the tab with bp_core_remove_nav_item('achievements'); that it is treating it like Buddypress is disabled like you mentioned above.
@screampuff
I experimented with the code but couldn’t get it to work
Looking into it now…
—
As an aside, whilst looking through the plugin’s code, I noticed that endpoints (example.com/author/username/achievements) are used if you ever have BuddyPress disabled. Just something to keep in mind.
Hi,
Actually no, thats not it, there is no option for that in buddypress, I need to hide the buttons notifications and settings (that are along with profile, messages groupes etc.)
it’s in the front office.
thanks a lot
PS : someone posted this, I think it’s on the right track but it doesn’t work :/
[ edited – please use ‘code’ button when posting code ]
Try this in bp-custom.php
function fanmusic_remove_profile_nav_remove( $nav ) {
$nav = '';
return $nav;
}
add_filter('bp_get_displayed_user_nav_notifications', 'fanmusic_remove_profile_nav_remove', 10, 1 );
add_filter('bp_get_displayed_user_nav_settings', 'fanmusic_remove_profile_nav_remove', 10, 1 );
Thanks for the reply Henry.
I experimented with the code but couldn’t get it to work. I believe it has something to do with if ( bp_current_action() != 'achievements' )
I’m not sure if this is the best way to describe it, but when I previously used bp_core_remove_nav_item('achievements'); it made the /members/username/achievements outside of the buddpress page. It basically created a new page that had nothing but a list of the user’s achievements. The part it called from the plugin code. It doesn’t show the username, avatar or anything else from buddypress.
Also thanks for that update Shane.
Hi,
We are building a new website using:
Wordpress 4.1
BuddyPress 2.1.1
W3 Total Cache V0.9.4.1
Theme: Kleo
Hosted on AWS EC2, and using Amazon S3 as the CDN for all uploads.
We are hoping to allow user to upload their profile photo, however, we are seeing the following error:

This file is not copied to S3, but the buddypress code is expecting it at S3… Any clue how to fix it? W3 Total Cache will take care of all other images and pdf we added to media manager, but somehow not working for this.
also, attached is the pic showing that why I know buddypress is looking for this in S3.

Appreciate any suggestion – whether we configure something wrong, or require code changes…. We did customize the theme, but didn’t touch any plugins… This is quite important (as without the pic, we cannot tell who is who!). If anyone know a solution and can offer to help fix with small fee, we will consider. Please reply or let us know how to contact you.
Thanks,
Yee Studio.
Hello, I have Buddypress and Achievements for WordPress (the author is not active or providing support). This is an internal company site and I want to make the Achievements private so that users can only see their own achievements.
I’ve figured out how to make the xprofile Achievements tab only appear for the current user and admins with this code:
function hide_achievements_from_users() {
global $bp;
if ((bp_loggedin_user_id() == bp_displayed_user_id()) || (current_user_can('manage_options'))){
return;
}
bp_core_remove_nav_item('achievements');
}
add_action( 'bp_setup_nav', 'hide_achievements_from_users', 99 );
However a user can still browse other user’s achievements by manually typing out the url like http://mysite.com/members/username/achievements/
Is there a way I can make this section of user’s profiles private so that only they (and admins) can view it? Users should still be able to visit another user’s profile, it is only the /achievements/ at the end of the URL which needs to be blocked.
Hi
I am running buddypress 2.1.1
I have two problems –
1. Crop function is not fitting in the web browser. How can I make it so that it fits the web browser screen. I found this solution but was unable to figure out where should I put the code. Else, how can I disable the crop feature and just show a box with defined dimensions which user would be able to move and set a location if the image is bigger than the box.
2. Buddypress is not accepting capital letter file formats of avatar in the default android browser, however it is working on browsers like Google Chrome for android. Is there any specific reason for why is it happening?
Thanks
I am using the latest wordpress and buddypress 2.1.1
I have not tried changing my wp theme…