• Hi Guys n Gals

    I’ve just recently installed the Events Manager Email Users and I want to make it accessible to my Editor, so I installed the WPFront User Role Editor to help me do so.

    I added the capability ‘EM Email Users’ to the Editor Role. However when my Editor logins he can’t see the ‘EM Email Users’ under the Settings option on the dashboard menu.

    Am I missing something??

    Regards
    Phillip

    https://www.ads-software.com/plugins/events-manager-email-users/

Viewing 1 replies (of 1 total)
  • Many thanks for this excellent point.
    I didn’t check the code, but indeed, from memory, setting options are restricted to administrators and can’t be managed by role editing.
    I’m really sorry, this is a real limit in the coding of the plugin.
    Unfortunately, I’m too busy to maintain the plugin.
    If you want to modify the code by yourself, please look at the em_email_users_init method, an look at this line :
    if (is_admin()) {
    Instead of is_admin, you’ll have to do with the current_user_can function. For example, if you created the EM_email_users custom capability, I think the code would be :
    if( current_user_can('EM_email_users') ) {
    To be verified…

Viewing 1 replies (of 1 total)
  • The topic ‘EM Email Users (Capability’ is closed to new replies.