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)
I have the same problem.
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 use group type buddypress plugin)
No solution ?
Ifnot, would it be possible to delete the object in private messages from buddypress ?
All I can suggest is that you raise a new feature request on https://buddypress.trac.wordpress.org/
Yes, I’m using this plugin as well and it’s great. The issue, however, is that I’m looking for a way to display a specific menu to the community (BuddyPress) members. One that’s different to the primary website menu.
Hey @venutius,
Thanks for replying.
Nope I do not have any other plugins active. This has started happening after the BuddyPress 4.2.0 update. Can you please check if you have updated BuddyPress plugin version?
Regards
Also i did re-install the plugin buddypress but the password issue on the page still there.
I just miss an interview on a national french radio because of this issue 🙁
“How about switching to the BP Legacy theme to see if that works?”
That is the first action i did : i deactivated all plugins exept bbpress and buddypress and i installed TwentySixteen official wordpress theme.
not sure if you can see it but I want to do something like this, where the buddypress PM is on the bottom of the page and users can message the poster:
Vehicle Vinyl Wraps – Pro Luxury Conceptz
Screenshot:
View post on imgur.com
thanks in advance