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 - Brajesh Singh on April 3, 2018 at 10:29 am in reply to: [Resolved] Problems with redirecting after registration [code of Rajesh] #14254
Hi Khol,
Thank you for clarifying.Let us start from the beginning again:-
1. How did you insert the code(from where did you do that.
If you have put it in bp-custom.php, it must be in wp-content/plugins directory. Otherwise, it will not be loaded.
is there any chance that you put the code in theme’s functions.php?
I am sorry but my options are limited. Unless I know where have you put the change, I am unable to assist.
Please let me know as much detail as possible.
Thank you
Brajesh. - Brajesh Singh on April 3, 2018 at 10:11 am in reply to: [Resolved] Problems with redirecting after registration [code of Rajesh] #14251
Also,
Uninstalling BuddyPress will not remove any data. They will remain safe and will be available when you reinstall it. - Brajesh Singh on April 3, 2018 at 10:09 am in reply to: [Resolved] Problems with redirecting after registration [code of Rajesh] #14250
Hi Khol,
The Mail logging plugin can help you troubleshoot if the mail is a problem on the MTA level or the sender program level.Before you uninstall and reinstall, You need to know if it is really BddyPress or any extra code doing it or it is server.
If the mail logging shows the mail but the user does not receive it, You will need to contact the server admins for the same.
I have seen this issue that mail sent by WP not being recieved on users from same domain on so many hosts. It happens dues to security policies.
So, I will suggest you to first isolate the issue and then a solution can be found.
Also, enabling WP_DEBUG can give you more understanding too(But it will show all errors and not suggested for a live site)
Regards
Brajesh Hi Josef,
Sorry for the trouble. Yes, It’s a bit laborious to add icons if you have many tabs.I am glad you did it already.
Regards
Brajesh