BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin,
    This will work for the first page but not for subsequent pages of activity. It will stop as soon as you load the 2nd page of activity(using load more).

    A proper solution would be to either do it via php using regex or client side with the modification of code using MutationObserver in addition to the above code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi John,
    That good to know. I am glad it is working so good 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: [Resolved] Recomendation Sought. CRM #47724

    You are welcome!

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

    Hi John,
    Thank you.
    That was fast 🙂

    Do you have a workflow that you would like the user to go though(From registration, activation, login and exploration). I mean do you have a specific on boarding process that you would like to see or will it be fine to implement one like twitter?

    We are now interested in a proper onboarding solution.

    Regards
    Brajesh

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

    Hi John,
    Thank you for the reply.

    Let us see if we can have something in new year 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: BP Register Page #47719
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Michael,
    Thank you for using the plugin.

    In sidewide activity widget, we are calling the default BuddyPress activity loop. It is similar to loading the first page of your sitewide activity on every page.

    The solution will be to cache the widget content(using some trigger to clear stale content later) or using ajax to load the content but the plugin does not support it.

    You will need to implement a custom solution where the content is loaded via ajax after the page loads. That would partially resolve it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    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: 25209
    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: 25209
    Brajesh Singh on in reply to: [Resolved] Repeater Xprofile fields #47700

    You are welcome.

    Regards
    Brajesh