Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow admin to add any user to a group from the front end.

  • Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    Hi

    I’m using Buddypress 1.6 with the latest WP.

    Is there a plugin available or some code to put in a bp_custom file that will allow admin to add any user to a group.

    Also, is there a way to simplify the create group process and remove steps?

    Thanks

Viewing 19 replies - 1 through 19 (of 19 total)
  • Avatar of aces
    aces
    Participant

    @aces

    Why don’t you update to bp 1.7 and get the new groups admin section:
    new groups admin

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    Does this new groups admin allow the addition of new groups and allow admin to add users to them from the front end?

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Study that graphic ;) or better still update your BP install then you can test it out.

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    hmmm. I’m a bit concerned that I’ll lose what I have been working on.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    why?
    Have you a test site/ local dev? If I’m unsure of an upgrade I replicate the DB, copy relevant theme/plugin folders then I can simply swap them back in to revert to previous state.

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    Its ok! Updated and didnt lose anything.

    Still can’t see a way to add users to a group from the front end of the site though.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Why do you want to. Administer the group form the dashboard ‘groups’

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    I’m trying to remove the need for users of the system to visit the dashboard for any reason apart from adding new users, which is another thing I would ideally like to be to do from the front end also.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Users do not add users to groups! users add themselves or if you install a plugin they can send invites to a group (‘invite-anyone’).

    And you did open by saying ‘Admin’ adding users to groups if the user is admin then they ought to be ok with visiting the dashboard? or is that a major hassle :)

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    I understand what you are saying and yes users of the system will have administrator rights however they aren’t tech savvy and having to go between the front end for viewing and editing profiles and then the backend to add profiles to groups is not ideal at all.

    Let me give you the run down on what I am building.

    I am building a system for a recruitment agency that allows them to create, edit, update and delete records (profiles) for both clients and candidates. I would like to have as much front end as possible to take away the need of them visiting the dashboard and also to make the system more streamlined. Groups will be used for job openings which the agency will receive from clients. Once the group (job) is created the user will need to add candidate profiles to the job from the front end.

    The only time I anticipate the user needing to visit the dashboard is to add new users and to send bulk emails to clients or candidates. I have yet to get this far to experiment. Again though if either of these can be done from the front end then – FANTASTIC!!

    The system is not going to be open to the public for registration and will only be used by staff of the agency.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Sounds to me as though you need to reverse engineer the functionality in the dashboard and try and transpose it to the groups, you may need to sue the groups api to extend it out with a new screen. I see the requirement but it may not be the simplest thing to accomplish.

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    I wouldn’t know where to start with it. I’m only learning PHP and WordPress / buddypress.

    I was considering trying to theme the dashboard to look like the front end to help with consistency. What are your thoughts?

    Avatar of xprt007
    xprt007
    Participant

    @xprt007

    Hi

    I am actually looking for the function of the group admin being able to add members. I upgraded to 1.7 as soon as it came & otherwise have among other plugins bbpress, etc.

    The problem though is I have gone through the Groups admin area several times, clicking on ALL available links, including one of editing it, beginning with the name, description, etc & all others & I certainly have none showing the interface shown above in the image with among other things “Add new members”.

    Under Manage members, one can it seems only kick out or promote existing members, etc.

    So I am quite lost. I am using the Custom Community theme & even tried twenty eleven, …

    Is there any link in the Group section I have somehow mysteriously overlooked?

    Actually, though this is a bit off topic, on the page for creating a group, first stage, I have at the bottom the option whether to inform all members of any changes in the Group via email. I am not sure whether this is default, or is added by a plugin, but it has “no” as default & changing this to “yes” does NOT get saved.

    Anyway, I would appreciate any further help

    Kind regards

    Avatar of Pete Deane
    Pete Deane
    Participant

    @pete-deane

    I have come across a solution to my problem. A plugin called BP Admin Actions. Its not been updated since 2010 and I have been in contact with the author who has informed that he will be updating it very soon.

    However, I have installed it and tweaked it slightly to more suit my application and it works fine.

    It adds a button to the members list that allow users signed in with administrator rights to add members to groups. So far it works without any glitches in its current format.

    Give it a try, it’s doing what I needed!

    Avatar of seamtv
    seamtv
    Participant

    @seamtv

    Unfortunately, I cannot use the back-end to add new members. When I start typing in a name, a pop-up box simply displays “()” for as many users as there are matches. Selecting one of these “()” does anchor them below, but saving the changes does not result in a member being added. Something is broken but I don’t know why.

    Avatar of palmdoc
    palmdoc
    Participant

    @palmdoc

    Yup, happening to me too – anyone else?

    Avatar of fyreus
    fyreus
    Participant

    @fyreus

    Is the Groups > ‘Edit’ Function still broken? (Yes i’ve deactivated everything and activated everything 1 by 1) I can’t access anything like the picture posted by Aces.

    *edit* Think i found something that works at the moment called BP Group Manager.

    http://teleogistic.net/code/buddypress/bp-group-management/

    Although the plugin claims that it’s already been added, it’s obvious it doesn’t work properly, so this will have to do until the Edit link is fixed.

    Avatar of danbp
    chouf1
    Participant

    @danbp

    hi @fyreus,

    despite you don’t mention your bp version nore the used theme, deactivate all extra group management plugins and consider this solution: http://codex.buddypress.org/developer/how-to-add-members-to-a-group-via-wp-users-screen/

    By default, BP let you add members to groups from the frontend if you’re friend and at least group admin. And it’s not a good idea to modify this, IMO. ;-)

    Avatar of fyreus
    fyreus
    Participant

    @fyreus

    @chouf1
    Oh sorry about that! I’m using:
    Wordpress 3.7.1
    Buddypress 1.8.1
    bbPress 2.4.1

    After having deactivated everything and tried things 1 by 1 and because i’m running a subscription based shin-dig, like i suspect a few others here are doing, running the show from the back end seems like the best course of action (althought the back end version works if i’m using another account with similar access).

    The former is another work around if one wants to use less plugins.

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

You must be logged in to reply to this topic.