There this old plugin I found – https://wordpress.org/plugins/buddypress-component-stats/ maybe you could try that?
BP is getting it’s own REST API, once this is launched then you should be able to easily create apps using it. For more info see:
https://github.com/buddypress/BP-REST
These forums are for questions about BuddyPress.
For questions about other plugins, such as wooCommerce and WC Vendors, please use their support forums. This thread is off-topic and closed.
The basic option is to set up a redirect for anyone but admin, that would involve adding some code to your functions.php. There’s probably plugins that d it, but it’s quite simple with code if you are happy with that.
That would not stop links from appearing in the WordPress admin-bar / toolbar. Would you still want to give them access to the BuddyPress menu options via the toolbar?
I’ve recently launched a BP specific Front End editor and I’ve included all the various hide admin code in that. You can choose to hide the admin-bar altogether or prune out the menu items you don’t want to display, such as the +New menu item.
OK. I fixed it. The problem was that I was using the Buddypress Nouveau Template Pack rather than Buddypress Legacy. The Legacy version has activities as the Group home page, while Nouveau has that weird thing where you have to click on the Activity tab to see posts.
I’ve yet to find out what other changes this has brought about.
Hi there, I got it working for ‘edit_users’ capability but I’ve had to make three changes to class-bp-members-admin.php to do it:
https://buddypress.trac.wordpress.org/ticket/8072
https://buddypress.trac.wordpress.org/ticket/8069
https://buddypress.trac.wordpress.org/ticket/8070
For ‘bp_moderate’ it seems there are other issues this time seemingly coming from WordPress:
https://buddypress.trac.wordpress.org/ticket/8071
I’ve raised another ticket, don’t think this will be the last as it’s still not working.
https://buddypress.trac.wordpress.org/ticket/8070
Yes, you should check buddypress/activity/entry.php if should be loading bp_activity_delete_link()
I’ve looked at the code and it turns out there’s a typo in buddypress/bp-members/classes/class-bp-members-admin.php as follows:
Line 1277:
if ( current_user_can( 'edit_user', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {
One thing to try is to change this on your copy as follows:
if ( current_user_can( 'edit_users', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {
You can also see that the other check is for bp_moderate so maybe my code earlier was wrong? though tbh bp_moderate give a whole bunch of additional features that you probably don’t want to expose to your editors. This is the example code from wp.org:
function add_theme_caps() {
// gets the author role
$role = get_role( 'author' );
// This only works, because it accesses the class instance.
// would allow the author to edit others' posts for current theme only
$role->add_cap( 'edit_others_posts' );
}
add_action( 'admin_init', 'add_theme_caps');
BP legacy – but yes, i have some changes in child theme.
When I disable child theme, it is working…
I’m just wondering where can be the issue…where i should focus to find the trouble…
somewhere in buddypress/activity/ ?
Hi.
One more issue here (hopefully the last one)
When I post a message to activity stream, everything is OK.
But when I try to delete my own post (admin acc), I recieve 404 page and post or comment is not deleted.
You can try here https://wikidiy.org
I dont have any error in console…
Tried to find something similar on this forum but…
BuddyPress 4.2.0
Wordpress 5.1.1
BuddyPress Activity Links Open in a New Tab
//BUDDYPRESS ACTIVITY FILTER
function altlab_special_links_activity( $body ) {
$body = str_replace(' rel="nofollow"',' rel="nofollow" target="_blank"',$body);
return $body;
}
add_filter( 'bp_get_activity_content_body', 'altlab_special_links_activity', 15, 1 );
add to bp-custom.php — if you don’t know what that is, you should
Hi.
I have trouble with uploading of group avatar on my site WikiDIY.org
When I try to upload, the green bar shows the progress of the loading, but nothing happens after that.
In chrome console I have error:
underscore.min.js?ver=1.8.3:1 Uncaught SyntaxError: Unexpected identifier
at new Function (<anonymous>)
at Function.s.template (underscore.min.js?ver=1.8.3:1)
at N.d.template (wp-util.min.js?ver=5.1.1:1)
at N.d.render (wp-backbone.min.js?ver=5.1.1:1)
at wp.Backbone.Subviews.<anonymous> (wp-backbone.min.js?ver=5.1.1:1)
at underscore.min.js?ver=1.8.3:1
at Function.s.each.s.forEach (underscore.min.js?ver=1.8.3:1)
at wp.Backbone.Subviews._attach (wp-backbone.min.js?ver=5.1.1:1)
at wp.Backbone.Subviews.set (wp-backbone.min.js?ver=5.1.1:1)
at wp.Backbone.Subviews.add (wp-backbone.min.js?ver=5.1.1:1)
BuddyPress 4.2.0
Wordpress 5.1.1
Any hint how to solve it?
In the buddypress.org/about/groups page it says “Each group has a homepage. The group’s Activity Stream is the default Home tab for any group.” That’s not what I’m seeing. When I go to a group I’m in a “home” tab that includes an information box saying “Manage the Groups default front page” and a description of the group. Activity is a separate tab. I’d certainly like to have the home page for a group show the most recent posts there. How would I do that?
WordPress 5.1.1 running Twenty Sixteen theme.
Buddypress Version 4.2.0.
Hi there,
I think that the buddypress.js files have jquery listed as a dependency and you are removing jquery so they won’t load.
Hey there,
when I try to deregister the core jquery via
wp_deregister_script( 'jquery' );
it removes all buddypress-js files too. Not sure why this is happening. As soon as I uncomment wp_deregister_script on my functions.php I can find the buddypress-js files again via source code.
Is there any way to avoid this?
Thanks for your help in adavance!
Hi @irahulsolanki I just tested this again with the BP Legacy theme and I got the same results as you. could you raise a support ticket for this?
https://buddypress.trac.wordpress.org/
You’re a genius. Everything works fine.
I think one of the fields was link to an old buddypress custom field plugin…
Thank you very much!
Many parents use this website for help each other, they thank you also 🙂
Seems to be BuddyPress Create Group Types.
The other filter on the top you see on the attachment is the filter of the theme. This filter work but not the buddypress filter by native you see on the picture (the one i try to click on it).
I use BuddyPress Create Group Types, BuddyPress Xprofile Custom Field Types, BuddyPress Global Search and BP Profile Search’s plugins. ^^
I don’t think this is a feature of BuddyPress as filtering on group types is a feature you’d need to add. I’ve just tested WBCOM’s BP Add Group Type and BuddyPress Group Type Filter and these work fine together. You’ll need to contact the developer of the plugin you are using to add that filter for a fix.
Hello guys,
I have created different groups (video game, manga, anime, book…). But when I want to filter one group, all the groups are displayed every time in each category.
In short, the group filter does not work.
I notice that when I select a filter, it puts me the url of all the groups.
see attachments :
https://www.noelshack.com/2019-12-3-1553090039-group-type-plugin-create-group.jpg
https://www.noelshack.com/2019-12-3-1553089993-group-filter-url-dont-match.jpg
(i use group type buddypress plugin)