Hi Martijn-
I imagine that the reason that no one answered is that none of the volunteers that offer help here knows anything about your specific issue.
You can change the activity directory link like you were guessing, using the bp_get_activity_directory_permalink filter:
add_filter( 'bp_get_activity_directory_permalink', function ( $url ) {
$language = Weglot::Instance()->getCurrentLang();
if ( $language != 'en') {
$url = $url . '/' . $language;
}
return $url;
});
Note that BuddyPress uses the url (and the positions of elements in it, like /members/username/action/subaction) to calculate a number of things, so we can’t say whether the weglot approach will work well with BP.
Best of luck.
The users get this message when they have yet to activate their account, it’s a basic feature of BuddyPress – each new user gets sent an activation email.
If you got to your wp-content/plugins/buddypress directory you will find the US translation of BuddyPress – buddypress-en_US,po, make a local copy of this and load it into PoEdit, you can then create your own translation, changing the words how you link, just search for the phrase you want to change.
Are you talking about BP Group Documents or BuddyPress Docs? These plugins have their own support.
Hi Ulrich-
It sounds like you’re talking about BuddyPress Docs, not BP. If so, there’s a filter, and you could use it something like this:
add_filter( 'bp_after_bp_docs_has_docs_parse_args', function ( $args ) {
$args['posts_per_page'] = 100;
return $args;
} );
There’s a plugin for that – BuddyPress Activity Shortcode. Another way is to use a page builder to place your activity widget into the page.
Hello there. BuddyPress doesn’t use a shortcode–a register page just need to exist and be identified. Could you be using some other plugin?
Otherwise, double-check that the register page is properly associated at wp-admin > settings > buddypress.
Hello, if emails are being sent (you’re receiving them at a Yahoo address), then my first guess would be that gmail is treating the mails as spam. Look in your spam folder to see if they’re there.
There are a number of ways to improve deliverability, but that’s beyond the scope of BuddyPress. You might read up on the topic at SparkPost or one of the other bulk email providers.
What’s wrong with the support of Buddypress?
With every plugin I get reply’s within a few hours, but Buddypress just doesn’t bother to answer questions.
I would like some help on this and other issues please.
I need the ability to moderate new user requests. Is there one that does that seamlessly with BuddyPress?
Hi @mastershas thanks for your suggestion. I’ll try this out. I was also wondering how I could modify the author bio at the end of each blog post to show the bio from the buddypress profile page (this was based on your other thread).
It’s funny how people always advise to change the theme. This is a running website. I cannot just change the theme. I installed the latest Buddypress version and I didn’t pick the theme myself. Buddypress picked it for me.
Hi! I would like to sort the newest user in the members widget and the members page by registered date instead of ID. Is this possible? I tried hacking the core file to test and changed ORDER BY u.ID DESC to ORDER BY u.user_registered DESC in class-bp-core-user, but that didn’t seem to do anything. I’m using buddypress for an intranet site and set the wordpress registered date to the hired date of each employee. Now it looks kind of funny, because it shows the dates that they were hired, but its all out of order because its sorting by their database ID instead of the actual date.
Hello everyone. I really need some help here.
So I’ve had issues with not receiving (and users not receiving) notification emails before. I’ve done the whole deactivating plugins to see what is not compatible, I’ve repaired emails under TOOLS. I’ve even uninstalled and reinstalled BuddyPress and bbpress, but for whatever reason I cannot fix this problem this time. Also, while trying to fix this problem myself, I realized that if you are using a YAHOO account then you will receive notifications, but it is not working at all for gmail or Texas University email accounts. I became aware of this problem today and it was working perfectly fine last Friday. Please, if someone can help me with this problem it would be greatly appreciated!
BuddyPress adds the friends button via the action:
add_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 );
You’re saying “follow” so I’m assuming that you’re using a plugin that modifies the basic BP behavior. You might check to see that that plugin doesn’t unhook the bp_add_friend_button() from the member header. Otherwise, the friendship button appears in the member header in BP’s default themes.
You can also try the BuddyPress email reinstallation tool if you’re having problems. It’s in WP Admin at Tools > BuddyPress, like /wp-admin/tools.php?page=bp-tools.
Hi @destac-
Please open a ticket on trac: https://buddypress.trac.wordpress.org/
which is a better place to suggest improvements to BuddyPress.
Thanks!
-David
I’m note sure how your custom roles were created, so I can’t tell you how to figure out if the current user is one or the other, but basically, you’ll be using code like this:
function bpcodex_remove_member_tab_on_role() {
$role = 'owner;
if ( 'owner' == $role ) {
bp_core_remove_nav_item( 'messages' );
bp_core_remove_nav_item( 'friends' );
}
}
add_action( 'bp_actions', 'bpcodex_remove_member_tab_on_role' );
note that this will not work as is–you need to be able to get the current user’s role, dependent on how you’re doing that. However, the simpler answer is that if you’re not using the friends and messages components, just turn them off in the BuddyPress settings in wp-admin.
So I know users can create groups by going to the /group/ page on the website (so long as the setting is enabled within the BuddyPress options panel for site visitors to create their own groups). However, I am a bit curious as to what the reasoning was to not include the same link on the members profile page under /members/name/groups/ next to the invitation and membership links.
While I have gone ahead and added it myself, I feel like this is something that helps users navigate the site as a whole so they can visit their groups, and create new ones directly on their profile which acts more as their dashboard than anything.
I am mostly curious as I think this is something that should be looked at being added to the core.
Hi @katmacau-
Here are some examples for changing navigation menus using the new API:
Navigation API
This is what I’m guessing you’ll want to use:
function bpcodex_remove_member_notifications_tab() {
bp_core_remove_nav_item( 'notifications' );
}
add_action( 'bp_actions', 'bpcodex_remove_member_notifications_tab' );
One question though: if you’re not using the notifications, why not just turn off the notifications component in the BuddyPress settings screen in wp-admin?
Hi there. If I’m understanding correctly, you’re wanting to modify URLs added to profile fields by your users. The profile fields are analyzed for search links and other links here:
https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-xprofile/bp-xprofile-filters.php#L326
BP uses the WP function make_clickable() to make links clickable. It doesn’t look like that function is filterable at the moment (there’s a ticket: https://core.trac.wordpress.org/ticket/32787). I guess you could do something using the filter offered on the forum link you reference, but I’m not sure how you’d know which kind of links to modify (it’s not clear from your question what the goal is).
I have managed to get profile links to open in a new window thanks to:
https://buddypress.org/support/topic/profile-fields-open-url-in-new-tab-_blank/
I know want to know if there is a way to strip the output value of each link by stripping away http or https, whatever the user uses. Or even replace it with a custom label.
Any tips?
WP 4.9.2
Theme Twenty Twelve
BP 2.9.3
BP Registration Options
I have a private social network site using the Buddypress Registration Options plugin. It only hides bp component pages from non-logged in users. I’d like to hide the Events page as well, which isn’t a bp component. Is there anyway to do this without adding a plugin that would conflict?
Thank you.
Hi @ottiya
If you want to play with the HTML of the Buddypress members, you will have to look at the Buddypress directory located in your child theme. As I can see from your source code, you are using child theme of weta (weta-child).
1. Login to your web server (web host) and browse the files
2. Go to your website directory and navigate to wp-content > themes > weta-child
3. If you find a directory named buddypress. You can go inside and start editing the templates. As @djpaul suggested the article, you can start editing the files accordingly.
Your questions are related to editing the member profile cover section. You can go to directory buddypress > members > single > cover-image-header.php of your child theme and edit.
Thanks