How to change the owner of Organizer so that they can edit in CE?

Home Forums Calendar Products Community Events How to change the owner of Organizer so that they can edit in CE?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1171936
    Ameet
    Participant

    Hi there,
    Quick question, we have a lot of listings from community events, and sometimes when people are listing events they create a new Organizer that they may not own. What is happening lately is that the actual Organizer is logging into the community events but cannot gain access to edit their Organizer profile.

    Normally, from the admin side, I can change the owner/author of a post, but for the Organizer Custom Post Type, I am unable to change that user. How do you suggest we give access to the actual true owner of their organizer profile?

    Thx,
    Ameet

    #1172169
    Cliff
    Member

    Hi Ameet.

    You could use the tribe_events_register_organizer_type_args filter to say the Organizer post type supports ‘author’ — refer to register_post_type() for more information

    Here’s a code snippet that does this for you for both Organizers and Venues:

    https://gist.github.com/cliffordp/24d4ca37f86212ed56a2e8021214d18c

    Please do note that our “Organizers” are in no way associated with / equivalent to “registered WordPress users”.

    Please let me know if you have any follow-up questions on this topic.

    #1172478
    Ameet
    Participant

    Cliff,
    Thanks for this, I can see Authors (WP Authors), however I can’t get our proper custom User Type (Promoter) user types in there. Do you know what particular caps needed to get them to show? We have a new user type called Promoters that everyone becomes and they aren’t showing up in the list. Mainly they have the the following:

    edit_event_tickets
    edit_tribe_event
    edit_tribe_events
    edit_tribe_organizers

    Thoughts?

    #1172958
    Cliff
    Member

    Ameet, I tried the same and didn’t get anywhere.

    With User Role Editor, I gave Subscribers all 10 permissions available to the Events custom post type (I know you’re working with Organizers).

    By default, Contributors (who are showing up in the Author drop-down) only have 2–https://cl.ly/3R3h3b162Q3F–and yet they do show up in the Author drop-down.

    So either User Role Editor isn’t working (and coincidentally your method of assigning capabilities isn’t working), or something else is going on. I suspect the latter. Unfortunately, I cannot assist further in this customization. I’d suggest digging deeper though and letting me know if there’s anything else you discover.

    #1183831
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to change the owner of Organizer so that they can edit in CE?’ is closed to new replies.