Support

Home Forums Event Espresso Premium role with EE event access

role with EE event access

Posted: May 2, 2013 at 3:22 pm

Viewing 13 reply threads


Ben

May 2, 2013 at 3:22 pm

Hi, I’ve followed this https://eventespresso.com/wiki/roles-permissions-basic/ for allowing a role ‘trainers’ to have access to the classes (events) that we’ve set up, but EE doesn’t even appear in the sidebar to gain access to it. Any ideas why not?

Thanks.

  • This topic was modified 4 years, 8 months ago by Seth Shoultes.


Josh

  • Support Staff

May 3, 2013 at 8:05 am

Hi there,

The Roles and Permissions add on will not give Event Espresso access to custom roles. The role would need to be one of the roles that the Roles and Permissions add-on creates, such as the event admin role.


Ben

May 3, 2013 at 1:03 pm

Hi Josh,

I’ve used your suggestion and given a ‘trainer role’ the ‘Espresso_event_admin’ role, which didnt provide access to EE, and even after ticking every role it still doesn’t appear. Is it only an Admin role that can have access to it?

Thanks.


Josh

  • Support Staff

May 3, 2013 at 3:41 pm

Hi there,

It doesn’t work this way where you can assign a role to another custom role like “trainer”. What you’ll need to do is assign the **user account** a role like event admin. This happens on the user profile page. So instead of “trainer” the user role would be something like “Espresso Master Admin”.

Please refer to the first screenshot in the documentation:

https://eventespresso.com/wiki/roles-permissions-basic/


Ben

May 6, 2013 at 7:38 am

Hi Josh,

I have done what you have suggested, and I have given the user the Espresso Master Admin role with all the capabilities and there is still no EE functions available to that user. I’m happy to send FTP/Login details on request.

Thanks
Ben


Josh

  • Support Staff

May 7, 2013 at 7:11 am

Hi Ben,

You will likely need to start fresh with a new user account, and if you were using any other plugins to create custom user roles, these may need to be deactivated.


Ben

May 7, 2013 at 8:33 am

Hi Josh,

The only custom user role I’ve got extra is ‘Justin Tadlocks – Members’ plugin. I’ve deactivated that along with a host of other plugins, but still no joy. I’ve created a new user too, but that hasn’t made any changes either.
I’ll see if my client is happy with running all the events in the short term, but a fix is needed I think?

Thanks.


Josh

  • Support Staff

May 7, 2013 at 12:26 pm

What you might end up needing to do is resetting the user table back to what it was before the Members plugin was installed. I have found that if the Members plugin is deactivated, the changes it makes to the user tables will still take effect.


Ben

May 7, 2013 at 1:30 pm

Thanks Josh,

How do I reset the user table back?

Thanks.


Josh

  • Support Staff

May 8, 2013 at 8:36 am

Hi there,

This can be done from a database backup taken from before the other plugins were installed.

You could compare the user tables from before the change and modify where need be. Please be sure to take a database backup before doing any work on the database.


Ben

May 8, 2013 at 2:32 pm

Thanks Josh,
I can ask the client for a copy of the back up that I installed from the outset, but whether that didn’t have the plugins installed, is ‘unlikely’. If it is before the plugins were installed, I am unsure as to what I am actually looking for. Where do you find the user tables?

I shall ask for a back up copy from the client.

Thanks.


Ben

May 8, 2013 at 2:40 pm

I have a copy Josh, .sql file that was zipped up. Can you explain what I need to do please?Thanks.


Josh

  • Support Staff

May 9, 2013 at 8:22 am

The user table that has the settings that handle capabilities and user levels is the wp_usermeta table. Before you check that, it will be worth your while to look in Event Espresso>User Permissions and make sure that the Minimum page permissions for the different pages are set to at least the master admin role. It’s covered in the documentation linked above, but it would be a good idea to double check there first.


Ben

May 9, 2013 at 12:57 pm

Thanks Josh!

Got it all working now!

Viewing 13 reply threads

The support post ‘role with EE event access’ 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