Able to view and select other organisers

Home Forums Calendar Products Community Events Able to view and select other organisers

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1116273
    Tac
    Participant

    Hi,

    Quick question, as an event organiser when creating an event I can see other organisers in the dropdown. How can I restrict to view and select only the organisers that I create.

    Thank you.

    #1116642
    Brook
    Participant

    Howdy Tac,

    That is not yet possible with our plugin. We do have a feature request for this though. I would definitely vote on that if I were you.

    It might actually be possible to write a snippet that does this with our current API. However, we just launched a new version of our plugin so we are getting a lot more support topics today than normal, people always think to reach out to us more often on these days even if there are no new bugs in the latest version. The skinny is we are too swamped right now to take an hour and investigate this further. Would you mind if I get back to you tomorrow or Monday to see if there is anything more that can be down now, than just waiting for the feature to be implemented?

    Cheers!

    – Brook

    #1116771
    Tac
    Participant

    Thanks Brook for getting back to me even on your busy day.

    Happy to wait till tomorrow or even Monday.

    Thank you.

    #1117260
    Brook
    Participant

    Thank you Tac! I was hoping to have time today but I have run out. I will get back to you Monday.

    Cheers!

    – Brook

    #1117519
    Tac
    Participant

    No worries Brook.

    Monday is fine, thanks for your help!

    #1118219
    Brook
    Participant

    Howdy Tac,

    After some investigation I have pinned this down. There is actually an apparent bug in our plugin making this more difficult than it should be, one we are looking into further to see if it needs a fix. It’s complicated by the fact that our next release will dramatically change how this works.

    Until then though if you are the adventerous sort a small modification to one of our files will make this doable. Open this file: /the-events-calendar/src/Tribe/Main.php and scroll down to line 1915. You will see:

    $organizers = $this->get_organizer_info(
    null, array(
    'post_status' => 'publish',
    'post__not_in' => $my_organizer_ids,
    )
    );

    If you change that to:

    $organizers = null;

    You will see that only the “My Organizers” list appears for subscribers. For admins and editors you will still see everyones organizers, but for anyone else with lesser privileges they will see only their subscribers.

    Does that sound like what you wanted for now?

    Cheers!

    – Brook

    #1118893
    Tac
    Participant

    Worked like a charm!

    #1118894
    Tac
    Participant

    Thank you very much Brook, very helpful!

    #1118914
    Brook
    Participant

    You are welcome! I appreciate you getting back.

    Cheers!

    – Brook

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Able to view and select other organisers’ is closed to new replies.