Viewing 10 posts - 16 through 25 (of 25 total)
  • Question

    #45404

    Alyssa
    Participant
    @alyssa-buddyboss

    @kahunaburger defining slugs have been deprecated by BuddyPress: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/ The references to slug Constants are deprecated, this section requires updating.
    To update the activity slug you need to rename the WordPress page called Activity, this is the proper way to do it. Changing the subnav slug for activity is deeply rooted within BuddyPress and I do not know how to change it. There has been discussions but not sure of any solutions. You will need to contact BuddyPress for further support on that issue.

    Answers

    #45414
    @kahunaburger

    I have contacted BP. That has been only deprecated in terms of page slugs. It is still the method for changing subnav. It’s in their codex and is current. Maybe you should ask them. You are the “BP experts”.

    https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    Slugs

    For example, if you are running a sports website with BuddyPress, you could rename the URL slug example.com/members to example.com/players by changing the url of the corresponding component page in the WordPress admin -> pages.

    edit-slug

    To change slugs on the sub nav on a member page add these defines to a file bp-custom.php and place this file in /plugins/bp-custom.php

    define( 'BP_SETTINGS_SLUG', 'settings' );
    define( 'BP_XPROFILE_SLUG', 'profile' );

    #45493
    @kahunaburger

    I have not yet looked deeply into your code, but I think this should be an easy fix. Then again, I have been reporting bugs here for 2 months and have yet to see you fix anything.

    #45801

    Alyssa
    Participant
    @alyssa-buddyboss

    @kahunaburger you are absolutely right for those specific subnav items. But not all subnav items have slugs you can define. You could image the length of the list if it existed. But we are getting on a tangent as your original issue was changing the slug of the activity which has been deprecated. So when you remove the activity slug definition and change the WordPress page originally titled Activity to something else does the functionality work within the plugin?

    #45807
    @kahunaburger

    If I remove define( ‘BP_ACTIVITY_SLUG’, ‘questions’ );it works. If I keep it and detective your plugin everything works. You can test it yourself by adding that line of code to the functions.php.

    Once again, this has not been deprecated for sub slugs. Here is the BP moderator just 3 months ago:

    https://buddypress.org/support/topic/change-activity-slug/

    That “deprecated” text for page slugs was added sometime between 1.5 and 1.6 because the templates new abilities. It was resolved in 1.6. The codex should be a little more clear, but BP has never been good at updating their codex.

    PS
    We have been using BP for a long time. BTW you also misspelled our name in this article you wrote 5 years ago: 😛

    The Largest List of BuddyPress Sites

    #46184
    @kahunaburger

    So no response?

    #46359
    @kahunaburger

    I can’t even get a reply anymore?

    #46397

    Alyssa
    Participant
    @alyssa-buddyboss

    @kahunaburger I apologize, there has been a large influx of work for us lately. I will add this request but understand that since the site works and this is an optional customization it will not be a high priority. We are hiring additional developers to help speed things along. Sorry for the delay in support updates.

    #46403
    @kahunaburger

    What kind of support is this? Is this how you run things “Sorry it’s broken there is nothing we can do.” Is that what you call support. Don’t give me that priority crap. This has been MONTHS. If you can’t support your code stop selling it. This is a scam.

    #46632
    @kahunaburger

    This IS NOT an optional customization. This is your lack of ability to code to BP standards.

    I have posted a lot of unique situations that are hard to test for. I would be willing to allow for extra time to fix those if it wasn’t for the fact you can’t even fix core issues.

Viewing 10 posts - 16 through 25 (of 25 total)
  • The question ‘"My Likes"’ is closed to new replies.