BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Codesnippets Page? #55554

    I will update the menu section to reflect that. I see we did not update the site menu with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Codesnippets Page? #55553

    Hi Kim,
    Thank you for the question.

    Due to low use and the platform getting out of date(the code snippet sharing software), we decide to close the snippets section.

    Are you looking for any specific snippet?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Claire,
    Thank you for the reply.

    I do have an active license with BuddyBoss and will see if we can reach out to them for updating it. Our plugin does allow you to change default slug(and the old default should work with their existing slug). The forum has a different setup that restricts it.

    I am going to try putting some code snippet for shortcode to help you filter the list by displayed user this week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    those have very different meaning in javascript. It is not a type.
    1. If you want to check for null, there should be no quote, you would do typeof(localStorage) == null

    My code is for older browser to detect if localStorage is defined(available) or not. It has no impact on your situation.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Claire,
    Thank you for the reply.

    I understand your requirement now. I don’t see a direct solution though.

    1. Our plugin does not allow changing slug of existing sub tab.

    2. BuddyBoss has a bug. If a sub tab was default and another was was set as default later, the first one is still using old default url. It might happen due to shared screen callback.

    3. The bbp-topic-index shortcode provided by BuddyBoss does not accept any arguments. It is not feasible to filter the list by user id unless they provide the ability to pass args.

    The simplest solution would be to update the shortcode bbp-topic-index with filtering by user id or creating a new shortcode that does it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    You are right. It is encoded entity code for the ampersand(&). The value should be &#38.

    I lack context about the issue/js, so unable to comment further.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Claire,
    Thank you.

    We can not change the content of the existing tab. The best way is to remove it. I have added a sub tab configuration that removes the default BuddyBoss sub tab. You can now add any other tab and make them as you need.

    Please check.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    Thank you for confirming that it is not MediaPress.

    Please do let me know when you find the culprit.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    You have some esc_html or similar escape on the page and that seems to be causing it.
    My suggestion is to disable customizations temporarily.

    If you believe this is the default behaviour, Please link me to page structure and MediaPress version(1.x or 2.x you are using) and I will quickly update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    Thank you for the suggestion. Our new addons already have a compatibility check mechanism(either using function_exists or hooking to mpp_..actions), some of the older do have the issue. We are going through all of our addons, expect around 10 addon updates per month from now on.

    Regards
    Brajesh