Support

Home Forums Event Espresso Premium Editor Role and Venue Errors

Editor Role and Venue Errors

Posted: October 23, 2013 at 2:20 pm


Jason White

October 23, 2013 at 2:20 pm

Hello, I’ve recently purchased Event Espresso. It’s working great, it’s exactly what I was looking for in this project. However I have two items that need some attention.

First, I have the most recent version of WP and EE. I purchased your Business License seeing that it had Role User Permission Settings. I then realized that with your permission plugin that the Editor Role can’t edit events and you have to spend another $99 to get your Pro Version (which is ridiculous in my opinion. Maybe $29 or something, but $99, sheesh). Then once I had that plugin installed I realized that you still don’t give Editors permission to edit events. That I have to use one of your new roles “Regional Manager”, then create Venue connections, etc. I got it working and gave that role the permissions they need to edit the rest of the site, but really all I wanted is to have the editor have the ability to edit events. Seems ridiculous that I have to jump through all these hoops. Why can’t you just make a capability called “edit_events” and then let us apply that capability to whatever role we’d like (Editors, Authors, etc). We don’t need Event Managers and Regional Managers and only have some users edit certain venue types, etc. I just want all editors to be able to edit events. That’s it. It’s currently working with the new setup using your Pro Add-on, however I’m wondering if it’s possible to get refunded the $99 I paid from that since I don’t need all that pro functionality and just make it so all editors can edit posts.

2nd, when testing users with the “Regional Manager” role the Venues on all of the events have an error. It says the following:

Warning: unserialize() expects parameter 1 to be string, array given in …/wp-content/plugins/event-espresso/includes/admin-files/functions.php on line 54

Warning: implode(): Invalid arguments passed in …/wp-content/plugins/event-espresso/includes/admin-files/functions.php on line 55

You have not created any venues yet.

The thing is, we have two venues that I (with the admin role) have created, and I have it set that Regional Managers can edit venues assigned to them. I also have the venues set to them. Here are some screenshots for reference:

Settings set by Admin:
http://cl.ly/S6eW
http://cl.ly/S6um
http://cl.ly/S6tE
http://cl.ly/S6vI

Logged in as “Regional Manager” Role (with Errors)
http://cl.ly/S6uw
http://cl.ly/S7HB

When searching your forums for the error it seems that others have had this issue, but doesn’t look to have any fix.

Could you please help resolve these issues as soon as possible. None of my Regional Managers are able to select the Venue and we need this ASAP. I wonder if just allowing editors to edit posts would fix this issue without having to have venue/locales connections.

Let me know. Thanks.


Sidney Harrell

October 23, 2013 at 8:44 pm

I’ve found the fix for this and a similar bug and updated the code for future versions of EE. Open up includes/admin-files/functions.php and go down to line 54:

$group = unserialize($group);

and delete it. Then go up to line 27:

$group = unserialize( $group );

and delete it.


Jason White

October 23, 2013 at 9:00 pm

That did it. Thank you.

Any resolution to making it so Editors can edit events? Perhaps just making the edit_events.php page just have the capability of “edit_posts”, or even just make a new capability with the member plugin such as “edit_events”. That would be great! Let me know.

Thanks so much for the Venue Error fix.


Josh

  • Support Staff

October 24, 2013 at 2:50 pm

Hi Jason,

Our Roles and Permissions plugins do not currently support the editor role, but I can add your idea to our feature request list.

The support post ‘Editor Role and Venue Errors’ 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