Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

Root Groups Profiles (10 posts)

Started 1 year, 6 months ago by: bpisimone

  • Profile picture of bpisimone bpisimone said 1 year, 6 months ago:

    I was wondering is there a way to

    have group profiles in the root similar to define ( ‘BP_ENABLE_ROOT_PROFILES’, true ); which would be example.com/group?

  • Profile picture of bpisimone bpisimone said 1 year, 6 months ago:

    Ok after 5 days a little bump!

  • Profile picture of Paul Gibbs Paul Gibbs said 1 year, 6 months ago:

    It’s not possible (everything always is, but this isn’t a built in toggle and it would take someone a lot of time to figure out).

  • Profile picture of bpisimone bpisimone said 1 year, 6 months ago:

    Hmm ok that’s a pity.

  • Profile picture of Té Baybute Té Baybute said 11 months, 1 week ago:

    I want to do the same thing, have you ever figured it out?

  • Profile picture of Té Baybute Té Baybute said 11 months ago:

    bump

  • Profile picture of r-a-y r-a-y said 11 months ago:

    Paul already mentioned this. It’s possible, but requires some workarounds.

    You’d need to unhook how BuddyPress catches URI requests and route them to groups.

    The comments below are for people who know their way around Wordpress:

    - The catch URI function in BP is the bp_core_set_uri_globals() function located in /bp-core/bp-core-catchuri.php.
    - You can unhook this from the “bp_loaded” action. Then write your own function to catch URI requests. Would be good to duplicate the function and look at the BP_ENABLE_ROOT_PROFILES section of the code to modify it to read groups.

    Hope that gives you some pointers!

  • Profile picture of Té Baybute Té Baybute said 11 months ago:

    Awesome thanks @r-a-y for for the direction. I will report tomorrow when I get back to this!

  • Profile picture of Té Baybute Té Baybute said 11 months ago:

    Well, I could waste all day on this and never get it so I am going to move on. Just too far over my head it seems.
    Thanks anyways @r-a-y

  • Profile picture of Té Baybute Té Baybute said 11 months ago:

    Well it was just for one group essentially, the others I would have used the Group Hierarchy to have a slug anyways. So for the one group that is not like the others, I just made a page template with a full page iframe of the source group. It sucks because the urls don’t change as you navigate within the group but I think it makes more sense.

    I hope to see this toggle introduced in future versions of wordpress.