Support

Home Forums Event Espresso Premium Event Admin Role

Event Admin Role

Posted: March 30, 2014 at 7:35 pm

Viewing 6 reply threads


Jason Lee

March 30, 2014 at 7:35 pm

Hi again ๐Ÿ™‚

I’m setting up EE3 with s2member for a client who needs to have their staff able to see users, create events etc etc but no access to the rest of the things they can break lol I set this up with the roles and permissions, gave them access to the sections I wanted and then adjusted the areas to the minimum required level of event admin.

How though do I tell them to access the backend? When the test user I’ve created with those roles and permissions logs into the site, it just takes them to the front end and I can’t figure out how to navigate them to the back end. Thoughts?

Thanks again, this support forum is awesome. Definitely the reason I’m buying 30+ licenses this month lol


Dean

March 31, 2014 at 3:49 am

Hi Jason,

Thanks for your kind words!

It sounds like S2member is causing the redirect. By default any user who logs in will be sent to the dashboard area by WordPress, and Event Espresso does not modify this.

Looking at it briefly, they will need to access the dashboard by clicking their profile username on the toolbar on the right and going to View Profile.


Jason Lee

March 31, 2014 at 1:34 pm

I have it set up where the users are directed to a front end page upon sign in and I have everything that they do set up on the front end. The toolbar is visible on the top of the screen but no options to access the backend are there. When I login with the main Admin account it takes me to the backend but the event admin accounts are logging in like regular user accounts. Is there a way for me to send you some test credentials to take a look at what I mean? (if that’s necessary)

Basically I’d like:
– Regular users to never have access to the backend
– Event admins to be able to access the backend but just for the areas I have set up in roles and permissions. It doesn’t matter if its a “pretty” way for them to get there, just need that to be possible.

Thanks!


Dean

April 1, 2014 at 5:45 am

Hi Jason,

Well they should have that access via the Edit my profile link. Sure send me the login details https://eventespresso.com/send-login-details/


Dean

April 2, 2014 at 3:46 am

Hi,

In S2member > General Settings > Member Profile Modifications, you have the Redirect Members away from the default Profile Panel set to yes.

S2 must use the roles here to decide who can see the admin and who cant. So you will need to speak to them to see if there is a way to add another role to that list.

If it is based on a capability then you can ask them if there is a capability that you can add to a role to stop this from happening.


Jason Lee

April 2, 2014 at 11:13 am

Thanks, I’ve reached out to them and a private developer for help on that. If the only fix is allowing everyone backend access, is there a way to shutoff the ability to cancel event registrations for users on the backend? I removed the code from where it is on the frontend but I can’t give users the ability to cancel event registrations.


Dean

April 4, 2014 at 2:05 am

Hi,

It might be an idea to try a custom function to redirect users after login and/or remove the admin bar by role.

http://tommcfarlin.com/redirect-non-admin/
http://css-tricks.com/snippets/wordpress/remove-admin-bar-for-subscribers/

This way you can be absolutely precise about which role/capability has access, rather than the blanket redirection S2 seems to offer.

I would have a chat with your developer regarding it, as it should be fairly easy to implement with a very small custom functions plugin.

To actually answer your question, the only way to disable the cancellation in the profile is to either remove code from the members/my_events_page.php file (comment out/remove lines 169, 185, 189 to remove the cancel registration feature) or to hook into the admin CSS and hide it that way.

The main function is also pluggable so it could be copied to a custom functions plugin or your themes functions.php and edited there as well.

Viewing 6 reply threads

The support post ‘Event Admin Role’ 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.

Event Espresso