The Add Friend button continues to be displayed beside every name on the Members page including those who were all ready friended.
WordPress v.4.1.1
BuddyPress v.2.2.2.1
http:Truckerbook.club
Thnak you.
Have you a test site or a local install where you can make some test ?
https://buddypress.org/support/topic/when-asking-for-support-2/
I tried to change role and other fields in new members, but nothing happened.
On a single regular install, all BuddyPress members have the default role you assigned to new users in WP settings > general. There is nothing to change at this level when they don’t show up on member’s directory.
If you need some fake BuddyPress users and content, i suggest you to use BuddyPress Default Data, which is great to control if anything is working correctly.
Deactivate your theme and all other plugins except BP and use Twenty Fifteen while testing.
Activate also wp_debug in wp-config, and see if you get somme php errors.
hum… difficult to say at t he moment, as you use 2 different site apparently.
hxxp://www.anadercategori.org/ and hxxp://pallavoloromana.it/anadercategori/squadre/test7/
Which site belongs your members to ? Where is buddyPress installed ?
BuddyPress does not work on installations where you give WordPress its own directory.
Read here: https://codex.buddypress.org/getting-started/
BP Reshare is a BuddyPress plugin to allow members to reshare their activities !
It wasn’t made to reshare views.
@imath is working on many other porjects, including BuddyPress. So he’s very busy and this plugin is now “old” and need probably some refactoring.
Sorry for you, but don’t expect much at this time.
Consider
https://wordpress.org/plugins/social-articles/
First off, all active BP components should have a assigned page. (mandatory)
This page must be blank, without any template model or parent page.
As you use Twenty Eleven via a child theme, read here:
https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-eleven-theme/ How to get the sidebar is explained there.
Where is WP installed ?
Site url is vatpt1.thevillageblog.com/
Blog seems to be in /villageatthepark/
I’m looking for the same functionality.
This is what I’ve found so far: https://github.com/imath/bp-reshare
It’s from this post: https://buddypress.org/support/topic/user-activity-share-plugin-for-wordpress-buddypress/
Let’s hope this functionality will get more attention, and implemented.
Have you changed your tables prefix or do you use the default wp_ ?
Do you have a site admin account with “admin” as username ? If yes to both, change this.
https://codex.wordpress.org/Hardening_WordPress
I had this honeypot working perfect before. Now I made a custom register page and it’s no longer working for no reason. All I did was move the bp-legacy Buddypress to the /buddypress folder to create a child theme for edits. Everything is working besides the honeypot.
Here’s a link to the code I have in my register page now:
http://www.codeshare.io/yQACc
Buddypress build:
Buddypress Version 2.1.1
WordPress 4.0.1
Using DevDMBootstrap3 theme
I haven’t edited any core files in WP/BP.
Here’s the code I used that worked previously:
// BuddyPress Honeypot
function add_honeypot() {
echo '';
}
add_action('bp_after_signup_profile_fields','add_honeypot');
function check_honeypot() {
if (!empty($_POST['system55'])) {
global $bp;
wp_redirect(home_url());
exit;
}
}
add_filter('bp_core_validate_user_signup','check_honeypot');
Hi there,
I’ve been looking for awsners all day but cant seem to find them.
We use Buddypress on a new website and everything works fine, we love it and will start using it soon when the site goes live.
Problem at this moment is when we head over to the group page, on the right site there is create new groep. Step 1 (works) Titel and description. After this step nothing works we only see go back, move forward button and no information or anything we can enter. When we click on go further we get an error (WordPress error do you wish to continue)
after step 1 we get this:

when we click continue nothing happends (WP error)

I deleted the buddypress plugin and uploaded it again on FTP.
I disabled all other plugins.
Any idea?
Shouldn’t a User promoted to Group Moderator be able to moderate content in that Group, regardless of their WP Role and capabilities?
Sounds logic, but No. See documentation in bp-core/bp-core-caps.php for the “why”. 😉
Since BP 1.6, group moderators can only delete, move, spam group forum content.
External reference.
Are you sure you’ve translated this label: Friends <span class="%s">%s</span>
Did you include this Sources Keyword when creating the translation .mo in poEdit: _x()
The Friends label is generated by __() and _x(), depending on the context.
More info re keywords: http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
Sure!
See here for where your filter will be applied. Here is documentation on apply_filters_ref_array() (it’s almost identical to apply_filters()). And you’ll need to use add_filter() to hook your filter function to the hook.
If you’re new to filter hooks, try searching for some tutorials, there’s so much info available already. Hope this info helps!
Was my suggestion any use?
Basically, I would like to call the activity stream of an author of a page.
I understood that to mean “Output an activity loop on a WordPress page limited to activity items belonging to the page author”.
If my understanding is wrong, then please let me know.
Hi, I would like to ask how to add a tab naming ‘blog’ in each user’s profile page,
and it would show posts written by that author(looks like archives/author/username)
I’ve followed the instructions in
while I think I’m struggling in get_template_part( 'directory-to-content-file' );part
what should it be?! Please help. Thanks a lot.
WordPress version 4.1.1, BP 2.2.2.1
Hi @danbp,
Thanks for reply. Yeah i know about those. I meant where would I put custom loops with my own filters etc. The wordpress codex says to put them in index.php. I assume that for Buddypress that would be:
bp-legacy>buddypress>activity>index.php
Then call it within bp-custom.php?
Hi everyone,
Where are loops such as the Standard Loop in the link below put?
Activity Loop
https://codex.wordpress.org/The_Loop_in_Action
Do they go in the bp-custom.php file? How are they called into use on a new page?
Any help/guidance of where to look would be appreciated.
Hello!(wp/bp/bbp newest versions)
Thing is it would be important to give my members the opportunity to be anonymus.
The page that buddypress gives me as register page includes a *name on the left side (and email and pw)that i learned to be given by wordpress, and on the right side there is the buddypress side- that i can customize.
Is there a way to
1. use the buddypress side only-so that i can fully customize what username’ is-and so that username is the one that is displayed in the profile.-as default.
So i don’t want to display person’s name, i do want to display username in the Profile(Without the @ before the name or like so: Name (@name).
Thanks for your time,
Daniel
haha, I’ll take your 2 days and raise you another 3!
If i get anywhere I will defo post it here. Haven’t found anything on the forums that’s helped so far (at least anything that I recognise as being a solution). I’m fairly new to php. Been through the plugin files and found a number of functions which are likely being used (not 100%), but just not able to call them to the new tab I’ve created.
Currently working through reading Henry’s links above on the WordPress Codex and will have a fiddle around.
Hi @urbanfix
Here’s the standard loop taken from here.
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?>
<?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
<?php endwhile; ?>
<?php endif; ?>
If you scroll down the page and take a look at filtering options, you’ll see user_id. So your loop will look something like this:
$post = get_post( get_the_ID() );
$filter = '&user_id=' . $post->post_author;
if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . $filter ) ) :
while ( bp_activities() ) : bp_the_activity();
locate_template( array( 'activity/entry.php' ), true, false );
endwhile;
endif;
Note: I haven’t tested.
Caveat: This must be used within The Loop.
sorry i don’t know any plugins or how to hack it but i think that would make a great feature suggestion for core if you can please add it to trac here:
https://buddypress.trac.wordpress.org
if not let me know and i’ll add it.
🙂
First of all I am using WordPress 4.1.1 and BuddyPress 2.2.2.1 and I am creating custom templates (via a custom plugin) that show Members based on roles. For example I want to have one page of only subscribers and another of only contributors. I have found a few different ways to doing this the simplest being to add a conditional statement like so
$user = new WP_User( bp_get_member_user_id() );
if ( $user->roles[0] =='subscriber'){ ?>
within the bp members loop.
The problem with this is that the pagination is skewed and is based on all the members instead of just those with the correct role. For example if I have 2000 members and only 5 of them are subscribers I will have pagination based on the 2000 where most pages are blank.
I’ve read suggestions to modify the bp_members_pagination_count() but it seems that changing the parameters of bp_has_members() would be more efficient. Therefore I would need to modify bp_ajax_querystring( 'members' ) in ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) :
I saw this thread by @zintax and modified it to suit my needs like so:
function modify_members_loop( $qs=false, $object=false ) {
if ( $object != 'members' ) // hide for members only
return $qs;
// create an array with my subscribed users
$subscribers = get_users( 'role=subscriber' );
$sub_list= array();
foreach ( $subscribers as $sub ){
$sub_list[]= $sub->ID;
}
$sub_list = implode(', ', $sub_list);
if ( !empty( $args['include'] ) )
$args['include'] = $args['include'] . ',' . $sub_list;
else
$args['include'] = $sub_list;
$qs = build_query($args);
return $qs;
}
add_action( 'bp_ajax_querystring' , 'modify_members_loop', 25, 2 );
(I will later add conditionals so that this only occurs on the subscriber page)
I was wondering if this is indeed the best and most query efficient way to go about this or if there are other considerations I should be mindful of.
Hi @spanda,
it’s a bbpress bug who remains since BP 2.0.
A patch was provided 7 mounth ago but not applied in latest bbP (2.5.6).
Note that the patch contains a bracket error: ( component ) ) { ). Remove { !
Open wp-content/plugins/bbpress/includes/extend/buddypress/activity.php
Remove or comment line 279 & 280 and replace by
$existing = new BP_Activity_Activity( $activity_id );
if ( empty( $existing->component ) )
save and you’re done.
Any idea why my profile page is looking like this? I would like the website name and website to be in line with the other profile fields. WordPress is latest version. BuddyPress is latest version.
Thanks!
http://her-network.com/members/christina/profile/

Was installing https://wordpress.org/plugins/buddypress-wall/ and it actually make the error go away .. :S