Replies
- Brajesh Singh on July 9, 2016 at 10:49 am in reply to: [Resolved] How to Identify a Group Post #4636
Hi Lee,
for @mention, There is no direct way to identify. It is possible to do a search on the activity_content usingbp_activity_find_mentions( $content)This function will return an array of mentioned user names or false if none found.
Hope you can take from there.
PS: Doing an search for mention on all activity will not be very efficient, I will recommed another approach(Like when the activity is created, check for mention and store a meta, then use this meta later).
Hope that helps.
- Brajesh Singh on July 9, 2016 at 10:42 am in reply to: [Resolved] How to Identify a Group Post #4635
Thank you Lee. It is a pleasure to help 🙂
- Brajesh Singh on July 9, 2016 at 10:05 am in reply to: [Resolved] How to Identify a Group Post #4632
Hi Lee,
Thank you for posting.
We can write a function like below to do check for ourself.function lee_is_group_activity( $activity = null ) { global $activities_template; if ( ! $activity ) { $activity = $activities_template->activity; } if ( $activity && $activity->component == 'groups' && $activity->type == 'activity_update' ) { return true; } return false; }Hope that helps.
- Brajesh Singh on July 9, 2016 at 9:58 am in reply to: [Resolved] BP Custom Background for User Profile – not working when site has background set #4631
Hi Leigh,
My apologies for missing your email.Can you please check 1.0.7 and let me know if it works for you or not? Since BuddyPress added header image support, I thought people will not need this plugin. Since I have got a few more messages related to this plugin, I will be supporting it in future
https://buddydev.com/plugins/bp-custom-background-for-user-profile/
Please let me know if it works for you or not? Also, If not, what are the problems you are facing?
Thank you
Brajesh - Brajesh Singh on July 8, 2016 at 9:35 am in reply to: [Resolved] Add more than 1 Single Member Type #4627
Thank you.
Will multi select/multiple checkbox work for you? Still, we can’t have multiple fields(using any existing solution as member types can be either set or appended and the plugin will not know whatto do, may override the other fields data).
If multiple select does not work, I can suggest some other strategy.
- Brajesh Singh on July 8, 2016 at 9:32 am in reply to: [Resolved] Shortcodes in BP Activity Stream #4626
Thank you.
I am marking it as a resolved.PS: Please only mark a reply as private if it contains any sensitive information.
Thank you
Brajesh - Brajesh Singh on July 7, 2016 at 11:24 pm in reply to: [Resolved] Re-order "Message Privacy" and "Profile Privacy" in adminbar nav #4623
Hi Corey,
Thank you. I am glad I was able to help 🙂
Marking this topic as resolved now.Thank you
Brajesh - Brajesh Singh on July 7, 2016 at 11:24 pm in reply to: [Resolved] Shortcodes in BP Activity Stream #4622
Hi Carleton,
Welcome to BuddyDev.The problem lies with the BuddyPress. It strips the shortcode while creating excerpt.
Please put the following code in your bp-custom.php
function buddydev_disable_shortcode_filtering_in_activity( $args ) { $args['filter_shortcodes'] =false; return $args; } add_filter( 'bp_after_create_excerpt_parse_args', 'buddydev_disable_shortcode_filtering_in_activity' );It will allow your users to post shortcodes in the activity stream. Please do let me know if it works for you or not?
Thank you
Brajesh - Brajesh Singh on July 7, 2016 at 12:05 pm in reply to: [Resolved] Re-order "Message Privacy" and "Profile Privacy" in adminbar nav #4618
Hi Corey,
Please upgrade the message privacy plugin too
https://buddydev.com/plugins/buddypress-message-privacy/Please let me know if this update solved your issue or not?
Thank you
Brajesh - Brajesh Singh on July 7, 2016 at 10:36 am in reply to: [Resolved] Re-order "Message Privacy" and "Profile Privacy" in adminbar nav #4617
Hi Corey,
Thank you for purchasing the plugins.
Please update the BuddyPress profile Visibility plugin and It will lower the nav link.https://buddydev.com/plugins/bp-profile-visibility-manager/
I am checking message privacy( I am adding a few enhancements), will have an update soon for this too.
Thank yopu
Brajesh