WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Conflict With Role Scoper for recurring events (14 posts)

  1. inksprite
    Member
    Posted 2 years ago #

    I upgraded to Events Manager 5.0.42, which changed how the recurring events work. When I try to add a new recurring event the "add new" button is missing. I found that it is affected by Role Scoper. When I turn off Role Scoper, the button comes back. My role is administrator so there shouldn't be any restrictions.

    Is anyone else aware of this bug?

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    will going to check this one and update you

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    chances are role scoper is messing with your capabilities, if you make sure your role has the right caps then it should work.

  4. inksprite
    Member
    Posted 2 years ago #

    Yes, it seems that it is messing with my capabilites, but I don't think there is a capability for recurring events, just events and event categories. I can't find a way to switch recurring events on.

    Ideas?

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    there should be some like publish_recurring_events, edit_recurring_events...

    i know that a few ppl do use role scoper and caps manager in the past and got it working.

  6. inksprite
    Member
    Posted 2 years ago #

    Caps manager does have something like publish_recurring_events, edit_recurring_events. But, I use Role Scoper because I need to put restrictions on post categories.

    Role Scoper does not have anything with recurring event like publish_recurring_events, edit_recurring_events. Do you know of anyone that has Role Scoper and Events Manager both working with recurring events?

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    yes, quite a few as far as I'm aware. You need to make sure you have given your custom roles the right caps, could be that.

  8. inksprite
    Member
    Posted 2 years ago #

    I installed both plugins on another wordpress site to test it out and it still doesn't work. This other worpress site has no custom roles. All the roles are on default, but the "add Recurring Event" still disappears just by activating role scoper.

  9. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    I've tagged role scoper into this post, maybe they can chime in and give their opinion? I've also asked someone I know uses RS on their site with EM.

    Don't mind having a look at this down the road when time permits, since RS is such a popular plugin.

  10. sjspain
    Member
    Posted 2 years ago #

    I'm getting this and another conflict problem with Role Scoper.

    The user capabilities in Events Manager are not working at all with Role Scoper activated. Administrators are the only ones that can get access to the Events etc. I've tried giving all user capabilities to all of the other roles, but this has no effect. All that non admins can see are the events they have created and then only until they have been published by the admin.

    All works fine once I deactivate Role Scoper.

    I really need to give access to a non admin so that they can manage all the events, but as it stands I can't do this. Any ideas?

  11. kevinB
    Member
    Posted 2 years ago #

    The "no event access at all" condition can be corrected by disabling RS filtering of the Event type:

    Roles > Options > Realm > Post Type Usage

    For non-display of the "Add Recurring Event" button, modify role-scoper/admin/admin_rs.php, function filter_add_new_button() as follows:

    add:

    $use_post_types = scoper_get_option( 'use_post_types' );
    if ( empty( $use_post_types[$_post_type] ) )
       return;
    

    below:

    $_post_type = ( ! empty($_REQUEST['post_type']) ) ? $_REQUEST['post_type'] : 'post';
    

    I will be adding this change to the RS development code shortly.

  12. sjspain
    Member
    Posted 2 years ago #

    Thanks Kevin, that has solved all my problems!

  13. seema345
    Member
    Posted 2 years ago #

    Many Many thanks Kevin. You just solved all my problem too :-)

  14. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    Thanks Kevin! if there's something we can do to make it more compatible with your plugin, let me know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic