Replies
Hi John,
Thank you for the topic.
At the moment, there does not exist any solution for use case as far as I am aware. you will probably need to develop it.Regards
Brajesh- Brajesh Singh on December 19, 2022 at 1:56 pm in reply to: [Resolved] Help with a bit of javascript #47701
Hi Erich,
There are 2 ways to redirect:-1. using php to redirect.
2. Using javascript to redirect.Redirect using php will only work if you do it before headers/output is sent to the browser.
Since you are using the shortcode for handling the action(deduction) and the shortcode is inside the content, the php redirect will not work(there are ways to make it work using output buffering but let us not make it complex).There are 2 solutions left:-
1. Refactor the code to add the handler(deduction of point) as some different action such at ‘bp_template_redirect’
2. or using javascript to redirect using window.location=urlIf you need assistance with exact code, Please let me know, I will update it.
Regards
Brajesh - Brajesh Singh on December 19, 2022 at 1:49 pm in reply to: [Resolved] Repeater Xprofile fields #47700
You are welcome.
Regards
Brajesh - Brajesh Singh on December 19, 2022 at 1:49 pm in reply to: [Resolved] Recomendation Sought. CRM #47699
Hi John,
Thank you for the question.
We don’t have much experience with using BuddyPress with CRM but we have seen our clients using BuddyPress with Infusionsoft(I guess it is Keap now) using WP Fusion plugin to connect.Regards
Brajesh Hi John,
Thank you for sharing the update.I a m glad it is resolved.
Regards
BrajeshHi Daniel,
I have checked and it is related to js file not loading.
Any chance that you have restricted access to your wp-admin/ urls recently?It is preventing files from wp-admin/js/ from loading and that is causing the issue.
Regards
Brajesh- This reply has been marked as private.
- Brajesh Singh on December 19, 2022 at 1:34 pm in reply to: Compatibility, member lock keys and functions with BuddyBoss theme/PRO #47695
Hi Claudio,
Thank you for the reply.
I have shared a copy of the plugin via google drive to you.Please give it a try and if it works, Please consider purchasing a copy.
Thank you
Brajesh - Brajesh Singh on December 19, 2022 at 1:30 pm in reply to: [Resolved] Buddyblog activity button #47694
Hi Tosin,
you may add a condition at the top of the function like thisif ( bp_get_activity_user_id() != get_current_user_id() ) { return; }It will only shot the button to the creator of the activity.
Regards
Brajesh - Brajesh Singh on December 19, 2022 at 1:27 pm in reply to: How to add condition to custom profile button #47693
Hi Tosin,
Please take a look at the code here.
https://github.com/buddydev/bp-profile-completion/blob/master/src/core/class-bp-profile-completion-helper.php#L331There are no simple or direct answers here. You will need to write a custom db query and detect as shown above.
Regards
Brajesh