Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add more fields to Groups page

  • First of all, you guyz rock! I find BP very impressive and extensible. I am considering BP for my web project, and I definitely want a few more fields to the Groups page. What would be the best way to do it.

    I can edit the Groups plugin, but each new release of the plugin will override my changes. Are there any hooks/filters provided for this purpose?

    In the docs, you mentioned about extending the XProfile component. Is there any such extension possibility to the Groups component?

    I look forward for your response. Thanks!

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

  • Andy Peatling
    Keymaster

    @apeatling

    Yes, all the components work the same way, so you can use the same code to extend the groups component.

    I’m in the middle of updating the docs, so I will be making this a bit clearer. I’ll post another reply when I’m done and point you in the right direction.


    Andy Peatling
    Keymaster

    @apeatling

    Take a look at this page:

    https://codex.buddypress.org/developer-docs/extending-components/

    All you need to do is replace:

    $bp with $bp

    This will let you add custom pages to the groups component.


    trcwest
    Participant

    @trcwest

    hello cosmican and andy or anyone really

    i am also really keen on adapting and adding fields to the groups component.

    I am just trying to learn and get my head around all the code. Sadly i cant quite find where to add the fields in the different pages.. i get to the create.php with this code..


    <?php get_header() ?>

    <div class=”content-header”>

    <ul class=”content-header-nav”>

    <?php bp_group_creation_tabs(); ?>

    </div>

    <div id=”content”>

    <h2><?php _e( ‘Create a Group’, ‘buddypress’ ) ?> <?php bp_group_creation_stage_title() ?></h2>

    <?php do_action( ‘template_notices’ ) // (error/success feedback) ?>

    <?php bp_group_create_form() ?>

    </div>

    <?php get_footer() ?>


    But then i cant find where to go to next. IE i cant find the page that has the fields on it to add in my own custom fields..

    i would also be keen to see how you did it using the replacement of $bp with $bp… did that work for you??

    I know this is all quite basic but i am trying to learn and use it for a major project..

    so basically any help on adding in new fields in the group section..

    My project is called spots kenya and i want to use the groups option as a kinda creat your own spot rather than group..

    i basically need to have a few more fields that would integrate a google maps api location tag and possibly a few more custom fields.

    Thanks so so much and i look forward to hearing from peoples reply..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add more fields to Groups page’ is closed to new replies.
Skip to toolbar