How to transfer ownership of an event?

Home Forums Calendar Products Events Calendar PRO How to transfer ownership of an event?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #650807
    persyst
    Participant

    Is there a way to transfer the ownership/authorship of an event from one user to another, or transfer an event I create as Admin to a user of site? I would like to do this so that if I post an event initially as Admin, another user could then take over editing the event.

    Thanks!

    #652819
    Brian
    Member

    Hi, I can help point you in the right direction for this.

    Events behave is a similar way to WordPress Posts so you can use the Author Meta Box to select an “Owner” for an Event.

    There are two places in events to change the Author:  Quick Edit and the Edit Page.

    If you click on Quick Edit in the Event List look for the Author Dropdown and select the Author you would like, then update.

    events-calendar-change-authors

    On the edit page look for the Author Meta Box, change accordingly, and update. If you do not see it, look in the Screen Options to see if it is checked.

    Thanks!

     

    #659916
    persyst
    Participant

    While logged in as Admin, the Author box shows only the option to select between the Event Author(User) or Admin, but once saved as “Author: Admin”, my only author option is Admin, and so I cannot reassign the authorship to any other user. Please advise.

    #660064
    Brian
    Member

    Ok, let me get some more information from you to get a better idea of what is going on.

    What is the role (Author, Contributor, etc) of the other users you would like to assign an event to? (you may know this, but the role is found in the user profile, just in case 🙂 )

    And you are saying there is only two options available in the author selection for an Event, correct?

    But if there as an Admin as the Author, then there is only one option to choose for the author, correct?

    This information should help us narrow it down some more.

    Thanks.

     

    #660088
    persyst
    Participant

    Yes, all that you said is correct. Registered Users are set to the role of “Event Contributor”.

    #660649
    Brian
    Member

    Ok, I would say it is a Role and Capability issue and that the custom role(Event Contributor) you setup does not have the capabilities to edit an event so users with that role are not showing in the author box.

    Creating a custom role is beyond what we can help with here on the forum. So I am going to have to let you take it from here.

    I would recommend using something like the User Role Editor Plugin that help you edit capabilities, it may take a couple tries to get everything together.

    A tip for when you are making custom roles is to start with the role that can do what you want and then remove the capabilities you do not want. So in this case it most likely will be an Author as the lower roles won’t be able to edit an Event.

    Thanks for using the Events Manager and if you have any other issues please open a ticket for use to help you resolve them.

    #661438
    persyst
    Participant

    Could you please clarify what you mean by custom role? I for sure did not create custom role called “event contributor” I was under the impression that the “Event Contributor” role is only available because of The Event Calendar Plugin being active. I simply want to be able to post events as an Admin, but then be able to transfer authorship to subscribers of the site. I assume this is intended function of the auothorship drop down, so please tell me what role should I choose to allow users to post events without giving them any back-end privileges, if “Event Contributor,” is not the correct one?

    #666056
    Brian
    Member

    A Custom Role is a role created outside of the standards Roles for accessing and using WordPress. The Events Contributor is an example.

    However, “Events Contributor” role is not created by any of our plugins, perhaps it was created by another? Once a Role is created depending on how a plugin does it, it remains in WordPress even if you deactivate the plugin.

    You are correct the Authorship drop-down is intended for that, but only for Roles that can edit Events, Posts, etc, which is usually Admin, Editor, and Author Roles . It is a limitation of WordPress and not the Events Calendar.  So giving a role of Author to people would work, but also give them back-end privileges.

    One solution is to keep the Subscriber Role and give people “ownership of an event”.

    You can use the Front End Community Add Event Form and a Plugin Called User Switching to do that.

    User Switching

    Use the User Switching Plugin  to switch to a user you would like to have control of an event. Go the the front end community event add form and add the event as that user, then switch back to your account using the plugin. Now that user will have control of the event and can edit it depending on the settings you have in the Community Tab. The events a user will be able to edit are on the Community List link.

    Add Link – http://yoursiteurl.com/events/community/add

    List Link – http://yoursiteurl.com/events/community/list

    It may require you to play around with the Settings on the Community Tab and the User Switching until you can get it right.

    For your reference here is the New User Primer for Community Events that will explain in detail how to use it:

    https://theeventscalendar.com/support/documentation/community-events-new-user-primer/

    The other method I outlined above is another way to do this too with Custom Roles, but is more complex.

    #666148
    persyst
    Participant

    If the “Event Contributor” role is not from Modern Tribe, than it must be from this Ajax Calendar plugin I was using.

    Just to make sure I’m clearly stating my objectives:
    My goals are:
    1) To allow Registered Users to create events with no back-end access,
    2) To create events as Admin, with the ability to transfer authorship to a Registered Users.

    Are you saying that there is no Standard Role for Registered Users that allows me to achieve my objectives stated above?

    #666903
    Brian
    Member

    Got it on your goals.

    1) To allow Registered Users to create events with no back-end access,

    This is possible through the Community Calendar and changing some settings on the Community Settings Tab of the Events Calendar to get it how you want it. Please follow the new user primer link for this Add On to show you all that it can do.

    https://theeventscalendar.com/support/documentation/community-events-new-user-primer/

    2) To create events as Admin, with the ability to transfer authorship to a Registered Users.

    This is not possible without some customization to a Custom Role or the Method I outlined above using the User Switching Plugin.

    Are you saying that there is no Standard Role for Registered Users that allows me to achieve my objectives stated above?

    Yes your goals are not possible at the same time without some customization on WordPress’s side. As none of our plugins have options to customize roles or capabilities that is all on WordPress. Since this is a WordPress Customization, I am going to have to leave you to figure out the rest for your site, but here is the codex link explaining more on the roles. It may require you to do some more research on your own to get it right. 🙂

    http://codex.wordpress.org/Roles_and_Capabilities

    Thanks

    #666937
    persyst
    Participant

    Could you please explain how Modern Tribe intends for the Author drop-down to be used in a functional way without outside plugins or customization?

    #667085
    persyst
    Participant

    I actually just tried changing the Registered User Role to “Contributor”, and it seems to work.

    I am now able to:
    1) allow Registered Users to create events with no back-end access,
    2) create events as Admin, with the ability to transfer authorship to a Registered Users.

    Does this sound correct?

    #667812
    Brian
    Member

    That does sounds correct.

    And The Events Calendar does not intend any use for the Author drop-down beyond assigning Post Authors. That field is generated by WordPress when creating a Custom Post Type and not something that we created specially for the plugin. Therefore, all customizations to Event Authors is done on the WordPress side and not through any of our plugins.

    Since it appears you have you site working the way you want it, I am going to close this topic. Feel free to open another topic if you have any new issues.

    If you do get stuck, please look through the replies I sent in this topic and see you should be able to do a little research on your own to get it working.

    Thanks!

    #667834
    persyst
    Participant

    Ok sounds good. Thanks for your assistance.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘How to transfer ownership of an event?’ is closed to new replies.