Events Manager
Group events with buddypress (3 posts)

  1. lekiend
    Posted 4 years ago #

    With Buddypress, we can assign a group to an event but those events are still visible for people who are not members of that group.

    Should it be possible to show group events only to group members and not to everyone ?



  2. jazbek
    Posted 4 years ago #

    I'm not one of the plugin developers, but I have been doing some intensive customization work with this plugin over the past week and have learned a lot about how to use it.

    I think you could accomplish this if you create custom templates in your theme for the following files:

    buddypress/group-events.php (this is the events tab on the group page)
    modify the template so it checks if the current user is a member of the current group and only get any results if they are

    templates/events-list.php, (this is the main events list)
    modify the template to include $args['group'] = 'my'

    templates/events-search.php (this is the search form above the main list)
    include a hidden field in the form: <input type="hidden" name="group" value="my" />
    See http://wp-events-plugin.com/documentation/using-template-files/ for info about creating custom templates.

    HTH :)

  3. agelonwl
    Posted 4 years ago #

    @jazbek has a point, you can use template files and supply event attributes which you can found on the site tutorial http://wp-events-plugin.com/documentation/event-search-attributes/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic