Replies
- Brajesh Singh on April 4, 2018 at 12:14 pm in reply to: [Resolved] BuddyPress Member Type Pro – Hide Profile Tabs based on member type #14284This reply has been marked as private.
Hi Martin,
It seems there may be some other issue with your setup.BuddyPress deletes the following data on account delete:-
– Profile field data
– activity
– Group association
– Friends association
– Avatar
– NotificationWordPress should delete the post and comments out of the box.
I am not sure why that is not working in your case. Is there too much data for the user? That can cause timeouts sometime.
- Brajesh Singh on April 3, 2018 at 8:10 pm in reply to: [Resolved] Howto: default galleries for all new users (my videos, my docs, my pictures)? #14277
Also,
Here is another post you may be interested in.
https://buddydev.com/support/forums/topic/user-galleries/Regards
Brajesh Closing as resolved due to lack of replies.
- Brajesh Singh on April 3, 2018 at 8:08 pm in reply to: [Resolved] Howto: default galleries for all new users (my videos, my docs, my pictures)? #14274
Hi Leo,
There are multiple ways to do it.Please see an example here
https://buddydev.com/support/forums/topic/mediapress-predefined-user-galleries/page/2/#post-2474
I will suggest an enhancement though. Instead of using mpp_actions you should bind to the account activation action. That way, It will only run when new account gets activated instead of the each page load on user profile.
You may modify it as you please.
Hope that helps.
Regards
Brajesh - Brajesh Singh on April 3, 2018 at 7:52 pm in reply to: [Resolved] BuddyPress Member Type Pro – Hide Profile Tabs based on member type #14270
Hi Sujee,
I am sorry, I could not assist earlier.1. On which action are you using the ‘bpex_hide_profile_menu_tabs’ ? Please move it to bp_init and priority number 111 or higher(e.g 112 etc)
About Group Tabs:- Thank you. It is in planning. It is not in priority and we will be most probably providing it as a free companion with the User Profile Tabs Pro. Hopefully, we can do it around BuddyPress 3.0 release.
Please do let me know if my suggestion worked or not?
Thank you
Brajesh - Brajesh Singh on April 3, 2018 at 6:02 pm in reply to: [Resolved] Correct add class to Buddypress Register Popup #14268
4. So, I am assuming that it is fine for your use case as there are no user widgets for the directory sidebar.
For 3rd, Please try again. It should work and disable the auto activation of user acocunts.
- Brajesh Singh on April 3, 2018 at 5:54 pm in reply to: [Resolved] Problems with redirecting after registration [code of Rajesh] #14264
Hi Khol,
Thank you for the details.I am glad you resolved it.
I was stumped and was wondering about the reason. Yes, I too have learned the new reason for mail not being sent by BuddyPress 🙂
Marking it as resolved.
Regards
Brajesh - Brajesh Singh on April 3, 2018 at 10:33 am in reply to: [Resolved] Correct add class to Buddypress Register Popup #14255
Hi Julia,
Thank you.4. I am a bit worried about applying the per page setitngs but here we go with teh modified version.
/** * Only show recent 100 users. * * @param array $args query args. * * @return array */ function buddydev_limit_last_100_members( $args ) { if ( bp_is_directory() ) { $args['max'] = 100; $args['per_page'] = 100; } return $args; } add_action( 'bp_after_has_members_parse_args', 'buddydev_limit_last_100_members' );Please remove the previous code and use this. It may affect widgets in the directory sidebar too(Earlier code did too).
5. Please open bp-ajax-register.js and change the value ‘1000’ to some other value. The 1000 means 1 second(It is in ms). So, if you want it for 1.5 second, you can put there 1500. Please do note that the changes will be lost in next update.
Regards
Brajesh