Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: *fixed: basic group map – help with Group Extension API


Anonymous User 96400
Inactive

@anonymized-96400

Had a quick look through your group extension and I saw a couple things. You shouldn’t call $bp->groups->new_group_id on the edit screen functions, cause it only exists when you create a group. That basically means that your edit_screen_save function uses $group_id and that variable hasn’t been declared, so it’s empty. Use $bp->groups->current_group->id and your group meta’ll get saved as expected.

Skip to toolbar