Hello!
I’ve set extended private mode, to allow to users to modify only their events.
But I need that the admin usergroup, or only a particular admin user, can modify all the events.
No problem if there’s need to change code, I already did some customization about email notifier etc. etc.+
I think to insert, where the code check for the permission an “or” state like this
if ((userid == $user_id_event) || (userid == '65'))
{ allow etc. etc.
}
I have the 3.0 version of the plugin, but the only user group options I see are “View” “Add” and “Edit”. There isn’t an “Edit all” option. Am I looking in the wrong place?
Well, what I really need is to allow one particular user, not just all admins, the ability to create & edit any event, and all other logged in users can create/edit only their own. Is that possible as is, or do I need to modify the plugin?
I’ve set it to Private Extended Mode, but I don’t see any different options to enable one user more add/edit rights than any other. Is there something I’m missing? Here’s a screenshot: http://thegallerymusic.com/screenShot.png
It’s still not allowing the one specified user to edit all events, but it is keeping the ‘private extended mode’ for all users. I’m using the s2member plugin and I think there may be a conflict with the user role names or something…?
Could it be that the custom role names we have for s2member (and with the setting checked to force WP to use those names) is not coinciding with the scheduler plugin to assign role rules? I’m not sure if the scheduler uses whichever role names are currently set, even if they have been set by something like s2member.
helpful post - looking for the same solution (user can edit own one, admit - all events)
Tried the posted above code change - > for admins looks to work.
Issue is with usual event author - this non admin user can change admin events and even delete it:
A. change - via text change button on the left event toolbar
B. delete - not directly via icon on the left toolbar, but by following steps: change text as stated above in A., stay on event and choose delete button on the left toolbar => event from admin will be deleted.
how to solve it? is the posted code “allows too much”?
Why toolbar is shown by admins’ events to non admins at all?