Replies
- Ravi on July 29, 2019 at 10:07 am in reply to: [Resolved] BuddyPress Editable Activity doesnt work well with MediaPress #24387
Hello Milan,
Please try the following code. It will allow editing MediaPress activity text.
function buddydev_modify_activity_allowed_type( $allowed_types ) { if ( ! in_array( 'mpp_media_upload', $allowed_types ) ) { $allowed_types[] = 'mpp_media_upload'; } return $allowed_types; } add_filter( 'bp_editable_activity_allowed_type', 'buddydev_modify_activity_allowed_type' );
Please let me know it works.
Regards
Ravi - Ravi on July 29, 2019 at 7:57 am in reply to: [Resolved] BuddyDev Moderation: Exclude specific groups from having the Report button. #24386
Hello Gregg,
Please try the following code. It will hide report button form certatin groups.
function buddydev_modify_report_button( $button, $args ) { if ( 'bp_group' != $args['item_type'] ) { return $button; } // Replace by you groups id. $hide_for_groups = array( 43, 42 ); if ( in_array( $args['item_id'], $hide_for_groups ) ) { $button = ''; } return $button; } add_filter( 'bpmts_report_button', 'buddydev_modify_report_button', 10, 2 );
Please let me know if works.
Regards
Ravi Hello Nic,
To show the ui as optional. Please modify the above code
Replace the following code
/** * Disable UI. */ add_filter( 'bp_anonymous_is_valid_screen', function ( $valid ) { return false;// don't show ui. } );
with
/** * Disable UI. */ add_filter( 'bp_anonymous_is_valid_screen', function ( $valid ) { if ( ! bp_is_group() ) { return $valid; } // Do not show ui on anonymous groups. $anonymous_groups = array( 43, 42 );// please change with the group ids. return ! in_array( bp_get_current_group_id(), $anonymous_groups ); } );
Regards
RaviHello Jennifer,
Thank you for posting. Link preview only works if the site supports an oembed feature. WordPress does support its content like posts as embed content means if you post a link of a post. It will show the post in an embedded view. BuddyPress only support single activity link in the embedded view.
Regards
RaviHello Anders,
Thank you for posting. Try the following plugin.
https://wordpress.org/plugins/bp-xprofile-custom-field-types/
It has a field type for birthday with date format = “Time elapsed” and Show age instead of birthdate setting checked. It will show updated age with current time.
Regards
Ravi- Ravi on July 22, 2019 at 6:07 am in reply to: BP Notify Post Author on Blog Comment Problem with guest comments #24305
Hello Violla,
Thank you for posting. Please download the latest version of the plugin and give it a shot and let me know if it works or not.
You can download from the following url:
https://buddydev.com/downloads/bp-notify-post-author-blog-comment/versions/bp-notify-post-author-on-blog-comment-1-0-7.zipRegards
Ravi Hello Max,
We have fixed the bug of admin tables not showing data. Please update the plugin to the latest version.
Regards
Ravi- Ravi on June 27, 2019 at 5:03 am in reply to: [Resolved] BuddyPress Extended Friendship Request #23696
Hello Axel,
I have tested the plugin with the BP-Nouveau template pack. After checking the above-mentioned issue I found that bug is generating because Nouveau has a different element structure which causing the problem. Because of the priority of other projects, we can not fix this now. But in the next week release, we will fix this issue and let you know.
Regards
Ravi Hello Lucytech,
Currently it is supporting only following user to show their activity on followed by user profile. But activity of followers that a user follow activity can be added to user activity stream using some custom code.
Check this plugin for more info about followers and following
https://github.com/r-a-y/buddypress-followersFriends just like normal friends of user.
Regards
Ravi- This reply was modified 6 years, 1 month ago by
Ravi.
- This reply was modified 6 years, 1 month ago by
Hello Lucytech,
Thank you for acknowledgement. It is now showing notification generated by BuddyPress and it is a default behaviour of BuddyPress. This notification is generated when there is a new reply on an activity in scenario activity type is different like post_update, friendship_created, new_blog_comment etc. So, It is not suitable to modify this.
Regards
Ravi