Replies
- Brajesh Singh on May 30, 2018 at 2:24 pm in reply to: Editable Activity, Site wide activity plugin and reply #15398
Thank you for the kind words Jill. It is always a pleasure to assist.
Best regards
Brajesh - Brajesh Singh on May 30, 2018 at 2:23 pm in reply to: BuddyPress Custom Xprofile Fields, compatibility with BP Profile Search #15397
Thank you. The name sounds good.
If possible, please use any of the only screenshot sharing site like
https://prnt.sc/
or
https://snag.gy/It won’t be easy to allow searching these in optimized way. The search will need to search between the range. Since BuddyPress can not store these data as structured value, we will have to use the serialized value and may be we can put the information in profile data meta. Search from the meta is not efficient and I will try to avoid it.
Regards
Brajesh - Brajesh Singh on May 30, 2018 at 2:09 pm in reply to: Editable Activity, Site wide activity plugin and reply #15395
Hi Jill,
Thank you for the patience.Please upgrade to 1.2.2 and it will allow you to edit from sitewide activity widget too.
https://buddydev.com/plugins/bp-editable-activity/Regards
Brajesh - Brajesh Singh on May 30, 2018 at 12:47 pm in reply to: [Resolved] Profile Tabs Pro and Friends/Activity Visibility Setting #15393
Hi Sujee,
There is nothing to be sorry. It was just a request from my end 🙂
Tank you
Brajesh Thank you Graham.
That’s a good idea. 3.0.1 will have many fixes and should work as expected.
- Brajesh Singh on May 30, 2018 at 12:42 pm in reply to: Combining a lightbox gallery with community interaction #15390
You are welcome. Please do let me know how it goes.
Regards
Brajesh - Brajesh Singh on May 30, 2018 at 12:41 pm in reply to: [Resolved] Profile Tabs Pro and Friends/Activity Visibility Setting #15389
Hi Sujee,
Thank you for confirming.For the assistance with the other topic:-
Please leave the members loop intact and you can put this in the functions.php/bp-custom.php
/** * Filter members loop args. * * @param array $args * * @return array */ function buddydev_filter_all_members_list_for_members_dir( $args = array() ) { if ( ! bp_is_members_directory() ) { return $args; } if ( ! is_user_logged_in() ) { $args['include'] = array( 0, 0 );// invalid } else { $args['user_id'] = get_current_user_id(); } return $args; } add_filter( 'bp_after_has_members_parse_args', 'buddydev_filter_all_members_list_for_members_dir' );That will hide the list for non logged in users and for logged in, only their friends will be visible.
The script does have following side effects:-
1. The total members count is still visible in the tab
2. It affects search.PS:- In future, if possible, please open a new topic for new issues. That way, the topic becomes useful for other members having similar issues. I hope you won’t mind that.
Thank you
Brajesh - Brajesh Singh on May 30, 2018 at 10:49 am in reply to: Starting afresh with BuddyPress & Multisite #15386
Hi Graham,
I can see the issue1. The last activity time is not set for the user and that’s why they are not visible.
To verify that, Please visit Members Directory and select alphabetical filter, It will list all the members
“Viewing 1 – 20 of 5,278 members”
Also, you do need to import first name/last name(This is not required but will be nice).
The last active time needs to be imported in the activity table. If you are using a custom script
For each, user_id, you can do it by adding the code
bp_update_user_last_activity( $user_id );Regards
Brajesh - Brajesh Singh on May 30, 2018 at 10:46 am in reply to: Starting afresh with BuddyPress & Multisite #15385
Thank you. I am going to look at it now.
- Brajesh Singh on May 30, 2018 at 10:44 am in reply to: to the connection of an existing member: change (role, plan) #15384