Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add function to ‘create group’

  • Avatar of Anointed
    Anointed
    Participant

    @anointed

    Here is what I am trying to find.

    When a user clicks the ‘create group’ button in their profile, the user is given the choice of

    group name

    group description

    recent news

    The user fills in the information and the group is created. That part is normal and works.

    Behind the scenes somehow buddypress is also creating a bbpress ‘group forum’ for that group.

    What file actually is in charge of creating the bbpress group forum?

    I am 90% done with a mod that will replace bbpress with vbulletin for groups forums, and also the ability to give each blog their ‘own’ vbulletin forum.

    The reason I am asking for the file that ‘creates the bbpress group forum’ when a new group is created, is so that I can strip that part out, and replace it with the code needed to create a vbulletin group forum instead….

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Anointed
    Anointed
    Participant

    @anointed

    maybe it will be easier to understand if I phrase my question a different way.

    what part of what file do I have to comment out in order to setup buddypress groups to ‘NOT’ create a group forum when the group is created?

    I’m sorry for such a simple question, but I have spent the entire afternoon reading through the buddypress code and so far I cannot figure out what file creates the groups forums when a group is created.

    I’m sure once I know, it’s gonna be one of those duhhh kinda answers LOL

    Avatar of Anointed
    Anointed
    Participant

    @anointed

    :) bueller bueller bueller LOL

    Is anyone able to help on this?

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    anointed, you can just disable the bbpress group forums component in the bp back end.

    bp_forums_new_forum() in bp-forums.php is called by:

    groups_new_group_forum() in bp-groups.php is called by:

    groups_create_group() in bp-groups.php

    and

    groups_edit_group_settings() in bp-groups.php

    Avatar of Anointed
    Anointed
    Participant

    @anointed

    thank you burt

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    No problem anointed.

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

You must be logged in to reply to this topic.