Auto Select Organizer when Creating Event

Home Forums Calendar Products Community Events Auto Select Organizer when Creating Event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1315399
    Taylor
    Participant

    I don’t want the organizer’s to be able to see the field that allows them to choose the organizer for the event. If someone creates an event for my page, I would like for it to automatically use their name as the event organizer.

    #1315978
    Barry
    Member

    Hi Taylor,

    That’s definitely possible via some further customization of the plugin — though I do need to note the degree of support we can offer when custom coding is involved tends to be limited.

    A few different components would be needed:

    • Removing the existing organizer section (which is pretty straightforward, you can use a template override)
    • Some code that “listens” for new submissions and creates a new venue or reuses an existing venue representing the submitter and associates it with the event

    Resources and notes that might help you along the way:

    • Our Themer’s Guide covers the process of creating template overrides
    • The community/modules/organizer.php template would probably be of interest to you in this case
    • Hooks such as tribe_community_events_validate_submission can be used to detect that a Community Events submission has been made
    • Functions such as tribe_create_organizer() could be useful for dynamically generating new venues (one per user) as needed

    I hope that gives you some ideas 🙂

    #1326386
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Auto Select Organizer when Creating Event’ is closed to new replies.