Home › Forums › Calendar Products › Events Calendar PRO › How to transfer ownership of an event?
- This topic has 13 replies, 2 voices, and was last updated 11 years, 8 months ago by
persyst.
-
AuthorPosts
-
August 12, 2014 at 8:24 am #650807
persyst
ParticipantIs 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!
August 12, 2014 at 1:41 pm #652819Brian
MemberHi, 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.

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!
August 13, 2014 at 12:23 pm #659916persyst
ParticipantWhile 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.
August 13, 2014 at 12:46 pm #660064Brian
MemberOk, 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.
August 13, 2014 at 12:51 pm #660088persyst
ParticipantYes, all that you said is correct. Registered Users are set to the role of “Event Contributor”.
August 13, 2014 at 2:55 pm #660649Brian
MemberOk, 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.
August 13, 2014 at 6:03 pm #661438persyst
ParticipantCould 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?
August 14, 2014 at 7:10 am #666056Brian
MemberA 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.
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.
August 14, 2014 at 7:39 am #666148persyst
ParticipantIf 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?
August 14, 2014 at 9:13 am #666903Brian
MemberGot 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
August 14, 2014 at 9:18 am #666937persyst
ParticipantCould you please explain how Modern Tribe intends for the Author drop-down to be used in a functional way without outside plugins or customization?
August 14, 2014 at 9:47 am #667085persyst
ParticipantI 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?
August 14, 2014 at 12:15 pm #667812Brian
MemberThat 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!
August 14, 2014 at 12:20 pm #667834persyst
ParticipantOk sounds good. Thanks for your assistance.
-
AuthorPosts
- The topic ‘How to transfer ownership of an event?’ is closed to new replies.
