Posted: December 6, 2020 at 9:44 am
https://eventespresso.com/wiki/people-add-on/ |
|
Hi there,
No, not currently.
The people add-on is not used to assign events to administrators in the admin, its designed to assign ‘People’ to events to show they are a part of that event on the front end, for example, Event Staff, Speakers etc meaning ‘People’ who a part of the event. So if you are looking for an admin staff manager to assign events to admins for them to manage the events you don’t use the people add-on. So may I ask what you are using the people add-on for here? |
|
Every Administrator must be able to set events, follow those and will be the speaksperson of that event. |
|
When you say ‘set events’, what does that involve? Should they only be able to access ‘their’ events?
Not currently no, the add-on hooks into the event content and injects ‘people’ details into that. |
|
They can do everything in Event-Espresso. There is not just one admin. Would it be possible to add a snippet from the person logged in (administrator is this case)? Under message in EVENT LIST you can use [EVENT_AUTHOR_FNAME] |
|
But that doesn’t mean they would edit/approve/delete everyone’s events/regsitrations, but it sounds like you don’t want them separate and that’s fine.
Sorry, but I don’t understand. What would you do with a snippet for the currently logged in user?
Again, what would you do with them? They pull the details for the user account set as the event author. |
|
– It would be better if one admin did not see the other ones event, how to I set this up? -The admin puts in some datafields ( set up with Advanced Custom Fields PRO) they are displayed with shortcode on the frontend of the event. |
|
Officially it’s not something Event Espresso provides, but it can be done with capabilities on the user account. This plugin: https://monosnap.com/file/OByG22pbZaAHZZNz6LXThha9GutLux Adds 2 new roles to your site: ‘Event Organizer’ only has access to Event Espresso itself (no other WP admin sections) and then should only have access to ‘their’ events etc. ‘Events Manager’ has full access to Event Espresso but again no access to the WP Admin. SO you could set the admins as ‘Event Organizers’ but also add additional capabilities to the role so they can access other sections of the WP Admin if needed. (Note the additional capabilities needed is not something we provide support for).
I’m not really sure what you are asking for, it looks like you already have the fields set up so the admin would add the details and it be displayed automatically? |
|
Yes the fields are displayed but the client wants to see the admins name automatically, the admin fills in the fields at the backend, the field “Aministriatie” should be automatically be populated with the admin person’s name and email. see: https://i.imgur.com/GzOT4Nc.png the rest is filled in like this with a plugin like you descibed ( https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/) : add_filter(‘default_content’, ‘tw_ee_default_post_content’, 2, 10); <h4>Inleiding</h4> <h4>Administratie</h4> <h4>Trainer(s)</h4> |
|
The shortcodes within the messages system are unique to messages, you can’t use them outside of it. Within that snippet you have the post object within https://wordpress.stackexchange.com/questions/65548/how-to-get-author-id-outside-the-loop See the docs on get_the_author_meta(). |
|
The support post ‘Dropdown people-add-on’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.