Replies
- Brajesh Singh on September 28, 2018 at 6:42 am in reply to: [Resolved] BP Ajax registration – Ajax Login #17709
Hi David,
Thank you.1. I will update the nonce to use unique ids.
2. Thank you for catching it. It’s a mistake.The signup avatar won’t work with it but there is another plugin by a 3rd party developer(ajax upload avatar) which I am planning to look into and update. That should work with it.
The update will be available by early tomorrow.
Regards
Brajesh - Brajesh Singh on September 28, 2018 at 6:40 am in reply to: [Resolved] BuddyPress Signup Avatar. not correct cropping preview #17708
Thank you.
Hi Chris,
You can usehttp://example.com/members/admin/groups/
Replace example.com with your site and it will redirect to logged in user’s groups page.
Regards
BrajeshYou are welcome.
Regards
Brajesh- Brajesh Singh on September 28, 2018 at 6:32 am in reply to: [Resolved] Group Tabs Creator Pro – Unique Content for Each Group #17704
Hi Miles,
Welcome to BuddyDev forums.We do have a plugin to allwow creating unique tabs/sub tabs per group.
Please download it from here.
We don’t have proper documentation for it but it is exactly same as Dynamic Profile tab
https://buddydev.com/create-dynamic-user-profile-tabs-for-buddypress/For now, Please follow the Profile tab guide and let me know if you are able to use it.
Regards
Brajesh - Brajesh Singh on September 27, 2018 at 4:17 am in reply to: [Resolved] Report Popup not completely visible #17698
Hi Carsten,
1.0.6 is available now.1. It fixes the position. Thank you for contributing.
2. The buttons can be generated with any markup now.I am sharing two snippets(Please only use only of them)
Example 1:- Change the button markup to use “li” instead of div everywhere.
/** * Modify the button args for BuddyPress Moderation Tools. * * @param array $args args. * * @return array */ function buddydev_modify_bpmts_button_args( $args ) { $args['wrapper_tag'] = 'li'; /* make the button like <li ...><a href=...>Report</a></li>*/ return $args; } add_filter( 'bpmts_report_button_args', 'buddydev_modify_bpmts_button_args' );Example 2:- Change only the markup for the User profile header Report button to use li. In this case, we check for context.
/** * Modify the User profile button args for BuddyPress Moderation Tools. * * @param array $args args. * * @return array */ function buddydev_modify_bpmts_button_args_for_user_profile( $args ) { // On User profile header button, use li tags. if ( 'bp_user_header' === $args['context'] ) { $args['wrapper_tag'] = 'li'; /* make the button like <li ...><a href=...>Report</a></li>*/ } return $args; } add_filter( 'bpmts_report_button_args', 'buddydev_modify_bpmts_button_args_for_user_profile' );Please let me know if that works for you or not?
Regards
BrajeshPS:- The support for post type will be available next week’s release.
- Brajesh Singh on September 27, 2018 at 4:15 am in reply to: How to make custom follow button load with ajax #17697
Hi Tosin,
I am sorry, I don’t use that theme. If they have provide a way to add custom js, it will be fine. Or you can create a custom js file and add some code in functions.php to load the file.Regards
Brajesh Hi Chris,
Yes, you can certainly protect it. It is doable.I don’t think the code is the problem, others will have similar approach. I did not say that specific code is bottleneck. I said, this approach of serving media using php may become a bottleneck. But if there is a regulation that needs it, You may use their code.
Regards
Brajesh- This reply has been marked as private.
- Brajesh Singh on September 26, 2018 at 2:59 pm in reply to: [Resolved] Tab not moving / default sub nav not changing #17687
Hi Andi,
Thank you for the kind words.
1. I am still not sure as I have never found this issue. Try using 2 or 3 and see what happens.
2. That’s good.
3. I am sorry but the function ‘bp_core_new_nav_default’ is broken in BuddyPress 3.x . It is not working with 3.2 too and I have seen a ticket where it seems it will be available in 3.3. We will have to wait for it to use it again.
Regards
Brajesh