Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Manually adding a member to a group / event


hatiro
Participant

@hatiro

OK, I passed on the messaging route and altough its taken me a day or so (I’m not a coder), I’ve managed to create a member list within the manage members part of the admin section of the group, which checks to see if they are members of the group or not and displays a join button alongside each member (in a div with auto scroll on the vertical).

I then passed the user_id as a variable in the join button link and registered it in the function using $_GET…

The functions I duplicated and put into bp-custom and tampered with to change logged_in_user for user_id are bp_group_join_button, groups_action_join_group and groups_join_group…

So far so good, haven’t rigourously tested it yet though but it seems to work.

I haven’t coded a plugin but I’m sure that would have been a better route… :)

Skip to toolbar