Replies
Hi Julia,
1.The Button:- It depends on the theme. So, it depends on your theme. You can’t get as it is from the BP default theme.2. It is most probably your server. The activity response comes from server, I don’t see any delay on the js we have.
Please check by deactivating the plugin if your activity loads faster.
Regards
Brajesh- Brajesh Singh on December 4, 2017 at 2:01 pm in reply to: [Resolved] BuddyPress Recent Profile Visitors_ Idea: Chart #12038
You are welcome!
- Brajesh Singh on December 4, 2017 at 2:00 pm in reply to: BuddyPress Recent Profile Visitors Plugin _ What if 2 roles #12037
No problem.
You can put this code/** * Disable recording for some users. These users will not appear in list from now onwards. * * @param bool $is_enabled is recording enabled. * @param int $user_id the user id we are checking for. * * @return bool */ function buddydev_custom_disable_visitor_recording( $is_enabled, $user_id ) { $disabled_user_ids = array( 1, 2 ); // add the user ids here. if ( in_array( $user_id, $disabled_user_ids ) ) { $is_enabled = false; } return $is_enabled; } add_action( 'visitor_is_visit_recordable', 'buddydev_custom_disable_visitor_recording', 10, 2 );In your theme’s functions.php or in the bp-custom.php.
If you are uncomfortable with it, please drop me an email with ftp details and I will do it for you.
Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:50 pm in reply to: [Resolved] Buddypress Member Types Pro Default Check #12033
Hi Patrick,
Thank you.I will supply you with the code for it then.
Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:49 pm in reply to: [Resolved] BuddyPress Lock Unlock Activity. Need Ajax #12032
Hi Julia,
It’s a good suggestion. Allow me to check the feasibility and get back to you in next 24 hours.Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:48 pm in reply to: Issue with provided code (profile tab depending to member type) #12031
Hi Beuza,
Sorry about that. Will certainly have some update today.Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:41 pm in reply to: BuddyPress Recent Profile Visitors Plugin _ What if 2 roles #12030
Also, to answer your first question
We check if the user has a role, so if a user has 2 roles and one of those role matches, It will be recordable.
Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:40 pm in reply to: BuddyPress Recent Profile Visitors Plugin _ What if 2 roles #12029
Hi Julia,
Can you please help me understand your question.If You need more control than settings, It is doable. we have a lot of hooks available for the same.
For example, to disable visit recording by a user, we have a hook “visitor_is_visit_recordable” that we can use.
Please let me know the details and I will assist you with the code.
Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:05 pm in reply to: [Resolved] BuddyPress Editable Activity — Remove Reply, Edit, Delete while editing #12028
I will be pushing the update tonight/tomorrow. It’s a small change, so you we can do it quickly.
Thank you
Brajesh - Brajesh Singh on December 4, 2017 at 1:02 pm in reply to: [Resolved] BuddyPress Recent Profile Visitors_ Idea: Chart #12027
Hi Julia,
Thank you for the suggestion.We won’t be able to add this kind of functionality(at least for now and in foreseeable future).
Under the hood, you can use the recent members to do a lot of analytics, but as far as front end views are concerned, our goal is to keep it bare minimum.As a site admin, please feel free to extend it in anyway you like. You will need to hire a developer though if you want to extend it beyond what we offer.
If you need any help with the API, I will be happy to guide.Thank you
Brajesh