WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Have Group Moderators and Group Members create Group Events for BuddyPress (7 posts)

  1. bruce-s
    Member
    Posted 2 years ago #

    From what I can establish, only site admins who are members of a group can create events within EM that reside within that specific BuddyPress Groups...

    It is possible allow Group Members or Moderators to create events within the group too?

    Love the plugin btw. It takes some time to get to grips with but seems to be very powerful :-)

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    hi,

    please see this docs @ http://wp-events-plugin.com/documentation/buddypress/

    also, you can use shortcode [event_form] to allow users to publicly submit events (settings located at settings > general > event submission forms)

  3. bruce-s
    Member
    Posted 2 years ago #

    This is what I found on the BuddyPress documentation page

    >>>
    http://wp-events-plugin.com/documentation/buddypress/

    Group Events

    Group admins can attach events to their group, allowing other group admins to also manage the event and bookings (if allowed).
    <<<

    What I really want to be able to do is allow group moderators and possibly group members too to be able to attach an event to a group, rather than just group admins...

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    all the group stuff is handled in this file: events-manager/buddypres/em-bp-groups.php

    you could probably hook in in a similar way and do the same for other group member types.

  5. mark-ter-s
    Member
    Posted 1 year ago #

    Hi,
    I would still like to know if there is an option to let group members to create group events, instead of group admin only.

    Is there a code to put in events-manager/buddypres/em-bp-groups.php?
    to do this, or an other way?

    If anybody knows the solution please tell me :)
    I would be very happy...

  6. The Beekeeper
    Member
    Posted 1 year ago #

    Here's a solution.
    In the file groups.php located in
    wp-content/plugins/events-manager/templates/forms/event
    change line 8 from

    if( groups_is_user_admin(get_current_user_id(), $group_id) ){

    to

    if( groups_is_user_member(get_current_user_id(), $group_id) ){

    Caveats.
    It works for me.
    It'll get overwritten if you upgrade EM.
    It lists all the groups the user is a member of.
    It does not limit the groups listed to particular groups.

  7. agelonwl
    Member
    Posted 1 year ago #

    thanks for sharing your solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic