Replies
- Brajesh Singh on August 29, 2020 at 4:26 pm in reply to: [Resolved] Remove Report and Block buttons from div#item-meta, functions to override? #32823
Hi Carsten,
Thank you for the update.Yes, that’s using selector to scope the rules.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 4:25 pm in reply to: Blog Post – Allow activity authors to delete activity comments by other users… #32822
Hi John,
The problem is we are relaying on the javascript included in the legacy template pack for communicating the action to the server.When you are moving the link, I am assuming it is changing the selector scope for the button and the legacy javascript is not able to handle that.
That’s why it is not working.
If you want, you can copy the code from buddypress.js and modify to achieve the same.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 4:23 pm in reply to: BuddyPress Moderation Tools – Users are able to report their own Comments, #32821
Hi John,
Thank you for the details.
Thais code seems to be the button.The button has no knowledge whether it should be visible or not.
We put the button behind a gate like this
if ( is_user_logged_in() && bpmts_is_me( bp_get_activity_user_id() ) ) { return; } if ( bpmts_user_can_report() ) { bpmts_report_button( array( 'item_id' => bp_get_activity_id(), 'item_type' => 'bp_activity', 'context' => bp_get_activity_object_name(), 'context_id' => bp_get_activity_item_id(), 'use_wrapper' => false, 'link_class' => 'button item-button bp-secondary-action bpmts-activity-report-button', ) ); }to make sure it is not visible to the unauthorized users(including self).
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 3:51 pm in reply to: [Resolved] Buddyblog in Multisite environment #32820This reply has been marked as private.
Hi Anders,
You will need to modify member-loop.php and implement your own grid.You may take a look at either Community Builder or BuddyBoss platform for inspirations on how to have a members grid.
Thank you
BrajeshPS:- In future, Please make sure to mention if the media is NSFW.
- Brajesh Singh on August 29, 2020 at 3:34 pm in reply to: [Resolved] Hide Core Tabs using BuddyPress User Profile Tabs Creator Pro #32818
Hi,
Thank you for using the plugin.The best way to achieve it is by changing the availability or visibility of the tabs.
You can set the availability to “Administrators” and the tab will be removed for others.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 9:49 am in reply to: [BUG] Comment replies on posts from Blog Categories For Groups plugin crash site #32810
Hi,
Welcome to BuddyDev.Thank you for reporting the issue, steps to create it and the settings. We will be egtting back to you on Monday with the update/solutions.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 9:47 am in reply to: [Resolved] After two years i come back, and neeed information for understand what i buy :D #32809This reply has been marked as private.
- Brajesh Singh on August 29, 2020 at 9:42 am in reply to: [Resolved] Remove Report and Block buttons from div#item-meta, functions to override? #32808
Hi Carsten,
Thank you for the question.At the moment, I do not think we have provided any option to control the placement of buttons. Your best bet is using css(target it using parent container to limit the scope).
We are working on to provide better control over placement of the buttons in future release.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 7:36 am in reply to: [Resolved] Conditional BuddyPress Registration fields based #32805
Glad it worked.
Regards
Brajesh