Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: Recomendation sought #47703

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on 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=url

    If you need assistance with exact code, Please let me know, I will update it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Repeater Xprofile fields #47700

    You are welcome.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Buddydev “Tags” field #47698

    Hi John,
    Thank you for sharing the update.

    I a m glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: BP Register Page #47697

    Hi 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Facebook Like Activity #47696
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25299

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Buddyblog activity button #47694

    Hi Tosin,
    you may add a condition at the top of the function like this

    
    
    if ( bp_get_activity_user_id() != get_current_user_id() ) {
    	return;
    }
    
    

    It will only shot the button to the creator of the activity.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on 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#L331

    There are no simple or direct answers here. You will need to write a custom db query and detect as shown above.

    Regards
    Brajesh