So you want to replace fullname “John Doe” with username “johndoe93”? Do you need to make the change sitewide?
r-a-y (BP core developer) has built a plugin for that:
https://wordpress.org/plugins/buddypress-usernames-only/
@mercime
Thank you so much. Best $15 I’ve spent in a long time. No faffing around for hours and hours and hours, it just works!
@hnla @henrywright-1
I will install the new 1.8 version on a test server when its out (fyi: I am THE developer. There are no other developers to talk to.) It sounds a big step in the right direction though. In answer to all the ‘why have you done it like that’ questions (on this and another thread) that you and Henry raise is because BuddyPress is a steep learning curve and this project involved bringing together both site functionality (i.e. BuddyPress) and the design that the graphic designer supplied. The design was closer to the TwentyTwelve theme, which is why that was chosen. Then its learn and make mistakes on the way. Some things you get right, others you get wrong. Some things work, some things don’t… So to answer all your ‘whys’, ‘that’s why’.
Go to pages -> Trash -> empty all pages from trash
And in the page make sure the permlink says groups and not groups-2 (edit if needed)
edit -> ok -> update page
I edited my the group page that comes buddypress installation but every time I edit it via Pages>>All Pages>>Groups. The edits never works. It shows on the edit page that its been edited but when I “Visit the page”, there isn’t any change at all.
When I visit the page while still logged-in in WP admin panel the url shows http://www.disqusnow.co.uk/groups/ but when I log out and visit the same page the url becomes http://www.disqusnow.co.uk/groups-2/
Please help. Thanks in advance.
Best to ask on bbPress.org. bbPress is the component that provides forums to BuddyPress.
Hi all,
First of all thank you for reading this. I know that buddypress add search links to specific words in profile fields. We don’t want that and used
<?php
/* remove all profile links */
function remove_xprofile_links() {
remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
}
add_action( 'bp_init', 'remove_xprofile_links' );
?>

This works perfectly. All links are gone. However we want two fields to have an Email link and Website link. In the image you see email and website. How can we make it so that it gets a <a href></a>
We already tried Buddypress Xprofile Custom Fields Type but for some odd reason are the all added fields hidden and not visible.
Thank you very much for your time
Pls help me on this
<?php if ( bp_has_members()) : ?>
<?php while ( bp_members() ) : bp_the_member(); ?>
<?php if ( xprofile_get_field_data('Teacher', $user->user_id ) ) : ?>
<div class="item-avatar">
<a href="<?php bp_member_permalink(); ?>">
<?php echo bp_member_avatar(); ?></a>
</div>
<?php endif; ?>
<?php endwhile; ?>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( "Be the first to join!.", 'buddypress' ); ?></p>
</div>
<?php endif; ?>
Looks good. One more suggestion per WP standards. Place all add_actions right below it’s function unless the action is inside a function in that case you place that actions function below the function the add action is inside. It’s to keep the code easier to manage when you have really long file and scrolling up and down gets tedious.
/*** Make sure BuddyPress is loaded ********************************/
function private_community_for_bp_lite_bp_check() {
if ( !class_exists( 'BuddyPress' ) ) {
add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' );
}
}
add_action('plugins_loaded', 'private_community_for_bp_lite_bp_check', 999);
function private_community_for_bp_lite_install_buddypress_notice() {
echo '<div id="message" class="error fade"><p style="line-height: 150%">';
_e('<strong>Private Community For BP Lite</strong></a> requires the BuddyPress plugin to work. Please <a href="https://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP Lite</a>.');
echo '</p></div>';
}
function private_community_for_bp_lite_init() {
require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' );
}
add_action( 'bp_include', 'private_community_for_bp_lite_init' );
My client would like to charge visitors a fee to upload videos, songs, images, etc. and then allow other users to comment on those uploads. Is this possible with BuddyPress?
Thanks!
Hi guys! i need a way to can create a jobs or projects in a specific group.
example: exist a “operators group” and the job for a month is finish a excavation, and this job will be create in the group and notificate the progress (with progress bar, by the group administrator) to all members of group. someone know how do this??
THANKS!!!
Thanks guys! Ah, here it is: https://codex.buddypress.org/developer/releases/version-1-7/
Forums
Retired bbPress 1.x “Group Forums” component (replaced with bbPress 2.x integration) (#3598)
Check the Codex and BuddyPress release notes! As of 1.7 there is a theme compatibility layer built in to BP that allows it to work with most themes – activate your theme, activate BP, that is about all you have to do bar a few style mods if required to bed BP screens in.
Ah yes, my bad. BP forums was pre 1.6.5. The bbPress plugin is different.
This may help you move everything across:
https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/
it is in the Codex!
Originally BP used a stripped down version of bbpress built in, now that is removed and bbPress plugin provides support for BP groups forums, there is a guide on transitioning over.
https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/
bbPress is a separate plugin – bbpress.org. We have the BuddyPress 1.6.5 forums on our site without the bbpress plugin installed, and they seem very dated IMO.
It would be nice to have this all explained in one definitive document though, as we’re not clear what we have to do to maintain the most up-to-date forums.
Hello I have a template that I like
discover
and I would like use it with Buddypress
To me seems that some time ago was a plugin that helped to modify a theme
Now I don’t find it.
Can you help me or suggest how to modify the template?
Thanks
‘BuddyPress forums’ is bbPress (as far as i know)!
I’ve read that somewhere, but now I can’t find anything on this at all. What’s the word on this? As far as I understood it, we should be moving BuddyPress forums over to bbPress ASAP if we want to stay current.
@maan18
Your code is outputting the exact same line of code to both logged in users and logged out users:
do_action( 'bp_member_header_actions' );
The idea of an ‘if’ statement is to output different code based on certain criteria being met.
but it’s not working in member-header. is there any thing wrong in my code:
<div id="item-buttons">
<?php
if ( is_user_logged_in() ) {
do_action( 'bp_member_header_actions' );
} else {
do_action( 'bp_member_header_actions' );
}
?>
</div><!-- #item-buttons -->
@maan18
it should work, I have used this approach many times.
@maan18
I’m not sure what you’re asking exactly but take a look at this:
<?php
if ( is_user_logged_in() ) {
// whatever you put here will be displayed if the user is logged in
} else {
// whatever you put here will be displayed when logged out
}
?>
@henrywright-1 i need show button only but when user click on any button it required to login or Register to add or send message. same as like this theme Link