Skip to:
Content
Pages
Categories
Search
Top
Bottom

NEED to change the default path (slug) that is created for group forums


  • lookingahead
    Participant

    @lookingahead

    so…..i want to change the default “forum url” path (the ‘slug’)…that populates upon forum creation for user groups from something like this:
    /groups/group-name/forum/

    …to something like:
    /groups/group-name/chat/

    ideas?

    i’ve altered the bp-custom (PHP) file, altered the wp-config (PHP) file, altered the functions (PHP) file, gone into the ‘settings’ area and changed the root forum name to ‘chat’ and had ‘topics by freshness’ selected, had it unselected, have changed the default forum to not be the root, etc. etc….no luck

    i do NOT want to hack core files — any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)

  • lookingahead
    Participant

    @lookingahead

    P.S.: apparently this is NOT a bbpress issue; they said it is something that buddypress is responsible for, because these are forums that are associated with user groups in buddypress.


    Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    This is hardcoded in bbpress plugin here bbpress\includes\extend\buddypress\groups.php.

    Find the line $this->slug = 'forum'; but I think changing this may create some issues but you can check if it works fine for you or not. Also changing anything in core file is never recommended because on the next update you will lose it and then have to redo again.

    One recommendation is that always take a backup of your site when you are doing such core changes.

    Thanks


    lookingahead
    Participant

    @lookingahead

    @prashantvash THAT WORKED!!!!!

    i’ve not seen any problems since i used it; it merely changes the slugs, so it ((THANKFULLY)) does not cause issues as feared. all group tabs still work, can still create new groups….all of that. i’ve tested out your solution for the past day or so, and nothing has gone wrong with my site since implementing it.

    it is simple to achieve, and works so well!

    as always, you are a genius and have provided the correct, most appropriate solution. you are positively wonderful. thank you. <3


    Prashant Singh
    Participant

    @prashantvatsh

    Welcome 🙂

    Glad to know that it helped you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar