hi @michaelhpdx,
maybe these posts will help you ?
https://buddypress.org/support/topic/my-conditional-tags-are-not-being-respected-in-genesis/
https://yoast.com/wordpress/plugins/canonical/
Or maybe this snippet (intended for WP SEO at least) which removes canonical
function bpfr_wpseo_canonical_exclude( $canonical ) {
global $bp;
if ( function_exists( 'buddypress') && ( buddypress()->displayed_user->id || buddypress()->current_component ) ) {
$canonical = false;
}
return $canonical;
}
add_filter( 'wpseo_canonical', 'bpfr_wpseo_canonical_exclude' );
Hi @mocmocmk
A popular plugin to manage media seems to be rtMedia. I think you can display a gallery with the [rtmedia_gallery] shortcode
[quote]If you want a permanent notice to show without users being able to close it would it not be better to just add a text widget and add your own styling to make it stand out as a permanent reminder?[/quote]
I rather do just install a widget, then go across google to find ways to do it in a text html styling. If there is a widget of plugin. I rather do that first.
Thanks danbp, you are the man for showing something better than wasting time trying to code in a text widget.
This is a widget that came with BuddyPress, and seems to me that with that comment up there, sounds like they rather have me do the work than just take a close button out of there own widget. Not like an adult way, sounds more like I am child and don’t want to do it attitude. Same as WordPress, when you request something. I mean they are developers, and all they want to do is say no for something they already created. Since, getting attitudes are the fondest things on BuddyPress, bbPress, and WordPress forums, then I will just stop asking for things that should be from them. I am not going to develop the software for them.
For someone like me that rarely asks for anything. I got jumped on pretty fast there.
Again thanks, danbp for the smarter reply.
Comment-image-attachments as thumbnails in comments and in the BP Activity stream. How to do ?
Comment image attachment plugins for WP does not give the chance to attach and/or show images in BP comments. Fortunately I found BP checkins plugin by imath that lets you exactly do this. However this scope is limited only in the BP checkin pages. Users are curious and interested – if this can be done there why not all over the site ?
If you have any code or patch please share https://buddypress.trac.wordpress.org/ticket/6261#comment:2
or please post some useful code or plugin that will allow us to post/attach images in comments (not more than one or two) and show thumbs in Activity stream.

[screenshot from bpcheckin plugin]
Thanks
Hmm… just come across some other problems.
1. The codex example still isn’t inserting the entry into the Show drop-down menu.
2. I have a post type called “document” and that isn’t working at all, although my others are.
Finally, and this is just an observation, but I wonder why all of this is necessary. The WordPress function register_post_type() already allows you to set singlular and plural labels for post types – surely it would be better for the bp_activity_set_post_type_tracking_args() function that we’re modifying here to use these labels by default?
Hi @sofijagb
That particular email’s message isn’t filterable but the function which sends the email is pluggable, which means you can write your own function. For more info on pluggable function in WordPress, check out:
https://codex.wordpress.org/Pluggable_Functions
The function you’ll need to override is wp_new_user_notification()
Hope this info helps!
To resolve this, you’ll need to look at the member pages which aren’t being indexed (look at their templates, URLs, sitemap entries) and work out what is different to the pages that are being indexed. I think you mentioned there could be an issue with the sitemap, so that’s another avenue to investigate. Perhaps try installing a different XML sitemap. Personally, I’ve used XML Sitemap which has always been reliable (and support from the author is very good as you’ll be able to see from the resolved tickets I’ve opened on that support forum). Then there is Google XML Sitemaps which has 1m+ active installs, so that looks popular
Hi @verdon,
Background
consider this and this
Can BuddyPress Profiles (Members) set-up and associate listings
Read here
Can BuddyPress have a professional look and feel?
Visit biowebspin.com
Hi,
I am really struggling with trying to hide my admins from my site. I searched this site and tried every code available with no success. Below is the last code I tried with no success.
https://buddypress.org/support/topic/hide-admins-activities-from-all-activity-feeds-in-buddypress/
Any ideas what I am doing incorrectly? This code is inserted in my child themes fuction.php correct?
I am racking my brain on this one!
Thanks for any help,
Ken
The Theme I am using is KLEO by Seventh Queen
Buddy Press version Version 2.2.1
Website:http://www.cmpg-annex.org/
Other Plugins
Akismet
bbPress
BuddyPress Cover Photo
K Elements
MOJO Marketplace
Paid Memberships Pro
PMPro MailChimp Integration
PMPro Register Helper
PMPro Set Expiration Dates
Register Helper Example
Revolution Slider
rtMedia Pro for WordPress, BuddyPress and bbPress
The Events Calendar
WPBakery Visual Composer
// deny access to admins profile. User is redirected to the homepage
function bpfr_hide_admins_profile() {
global $bp;
if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
wp_redirect( home_url() );
exit;
endif;
}
add_action( 'wp', 'bpfr_hide_admins_profile', 1 );
// Remove admin from the member directory
function bpdev_exclude_users($qs=false,$object=false){
$excluded_user='1'; // Id's to remove, separated by comma
if($object != 'members' && $object != 'friends')// hide admin to members & friends
return $qs;
$args=wp_parse_args($qs);
if(!empty($args['user_id']))
return $qs;
if(!empty($args['exclude']))
$args['exclude'] = $args['exclude'].','.$excluded_user;
else
$args['exclude'] = $excluded_user;
$qs = build_query($args);
return $qs;
}
add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);
// once admin is removed, we must recount the members !
function bpfr_hide_get_total_filter($count){
return $count-1;
}
add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');
// hide admin's activities from all activity feeds
function bpfr_hide_admin_activity( $a, $activities ) {
// ... but allow admin to see his activities!
if ( is_site_admin() )
return $activities;
foreach ( $activities->activities as $key => $activity ) {
// ID's to exclude, separated by commas. ID 1 is always the superadmin
if ( $activity->user_id == 1 ) {
unset( $activities->activities[$key] );
$activities->activity_count = $activities->activity_count-1;
$activities->total_activity_count = $activities->total_activity_count-1;
$activities->pag_num = $activities->pag_num -1;
}
}
// Renumber the array keys to account for missing items
$activities_new = array_values( $activities->activities );
$activities->activities = $activities_new;
return $activities;
}
add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );
Is not Buddypress Registration same as WordPress Registration?
Thanks.
Hello I have a problem that I need help with. When someone goes to upload videos, they can select multiple categories. I don’t want this because what happens is that people will select all categories just so their video shows up on the home page multiple times under the different genere’s. I tried to download some wp plugin called ONE CATEGORY but it had no effect.
Can someone help me fix it so that they can ONLY select one category for their video. Even if it’s custom programming, I’ll page. Site is clichetv.tv but you can’t see the upload video page unless your registered but easy enough problem to understand.
Thanks.
Hello
Wordress 4.1.1
Buddypress 2.2.1
I have two issues with the members registration.
1. I would like to hide the username on the registration form. I would like the user to register with his email, lastname, firstname. I created a firstname field and I use the name field as the lastname.
But I can’t remove the username. I understand that this field is mandatory and very useful for wordpress so it can’t be removed but can I hide it? or fill it with a random value?
I tried to put the email address as the username but after it is used in the URL of the profile and I don’t want the member email to be displayed.
For me the better solution would be to fill the username with a random value and replace it with the user_id once the user is created but I don’t know how I can do this.
2. On Buddypress if I understand well, it is the display name which is displayed everywhere. How can I insert in the display name field the name + first name I ask in the regsitration form?
Thank you very much for your help.
Actually you have a single install with BuddyPress with N members and activities.
Nothing will be deleted if you activate the site as network.
That said it’s strongly recommended to dump your DB before doing this.
For a better overview of the DB, see here
The BP tables are the same on MS as on a single install, and WP adds only new tables for each blog and only if you create one at least.
WP’s user table stays intact in any case, like bp activities and others related to members (profile, message and so on).
This can help you too:
https://codex.wordpress.org/Importing_Content
https://wordpress.org/support/plugin/import-from-ning
Welcome to the buddypress debug club ! Please open a ticket and give details about your install and any step to reproduce the issue. Add also a link to this topic.
Go here and use same login as on this forum.
https://buddypress.trac.wordpress.org/newticket
If you don’t know how to post a ticket on a wiki page, read here first.
Sorry but i’m unable to reproduce that. I don’t have notices or warning about this issue.
Can’t you make a test with the trunk version ? (direct link to zip – BuddyPress is in the src folder)
hi @daethian,
if you’re using BP 2.2, don’t use the “old” bp-default theme.
If you have FTP access, your wordpress should be at the site root if you want to use BuddyPress. If it’s you who created the /wp/ folder and if you haven’t any other site on the same account you don’t need it. Install wordpress directly at the root ! Mostly in a folder named www or htdocs (ie. htdocs/wp-admin, htdocs/wp-content/, htdocs/wp-include/)
But let’s say it’s correct for now.
Connect to your site and go to admin
On WP dashboard> General ensure you entered WP URL and site URL correctly (hxxp://your-site.xxx) without trailing slash (normally the same URL)
Then dashboard > Appearence>Theme and activate Twenty Fifteen
Then dashboard > Settings > Permalinks > anything but default
Then dashboard > plugins and deactivate/reactivate BuddyPress
Then dashboard > Appearence > Menu > screen option (top right), check buddypress and add the BP menu to Twenty 15
See if it works.
If not, you’ll have to setup WP correctly at first.
Return to FTP, move WP to the root, erase htaccess and wp-config and restart the installation
your-site.xxx/install
Re enter your DB name, psw and all other information needed for installing WP.
Your DB and actual content won’t be erased (but you can make a dump before, in case of).
5mn install later, you are invited to login. And you have to do what i’ve explained previously.
@danbp
I just setup a fresh WordPress install and installed BuddyPress only on another operating system. Still getting the same errors.
Wow stunning ! Are you on a local server ? MS or single install ?
Could be that something went wrong during upload.
Erase the BP folder and add a new copy.
And remove your theme from the theme directory while testing with Twenty.
@danbp
I just setup a fresh new WordPress install and installed the BuddyPress plugin. The error is appearing here as well.
Its been a few years since I’ve worked with BuddyPress. Today I installed the plugin and clicked on the Activity section and BAM! PHP errors:
Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(138) : runtime-created function on line 6
Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(138) : runtime-created function on line 6
Warning: usort() [function.usort]: Array was modified by the user comparison function in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 138
Any idea what might be going on?
Using WordPress version 4.1.1
I am having the same issue. The regular WordPress search box will not display any content from my Groups page. I think it is hilarious that when I go to create a group, under settings the public and private options say that group content will show up in search results. I have tried relevanssi and that didn’t help.
How and for what does BuddyPress us cookies for.
One of my corporate clients ran IBM Security AppScan against a WordPress install with BuddyPress and it is returning low-risk security warning for Client-Side (JavaScript) Cookie References.
Specifically, it cited this file:
buddypress/bp-core/js/jquery-cookie.min.js/
Is this used for login functionality or something else as well? The security guy wants it removed, but is there a safe way to remove it, and how much is going to break if we do?