Support » Plugin: Event Calendar » [Plugin: Ajax Event Calendar] Must user be Admin user to Add to Calendar?

  • I was wanting to use this calendar for my clients, but while I’m testing find the calendar ONLY appears in the backend menu for Admin – but I would like the site Editors to be able to add events etc WITHOUT having to give them Admin level access (they are not very tech savvy).

    I don’t want the calendar to be open to just anyone being able to add events (ie site visitors) so I haven’t added an ‘add event’ link to the front end.

    Can this be done?

    Thanks!
    Clare.

    http://wordpress.org/extend/plugins/ajax-event-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Eu não entendo bem o inglês mas percebi que você está com o mesmo problema que eu tive, portanto vou te ajudar.

    Edite o arquivo
    ajax-event-calendar/ajax-event-calendar.php

    Encontre a linha
    $role = get_role(‘administrator’);

    Troque o ‘administrator’ por ‘editor’. Ficará assim:
    $role = get_role(‘editor’);

    Pronto!

    Funcionou pra mim, espero que funcione pra você também.

    Thread Starter claredotcom

    (@claredotcom)

    thank you!!!!

    Hi
    I tried yout solution, but it did not work.
    When I log in as an Editor user and try to click the Add event link above the calendar I get a message that I don’t have sufficient rights

    Great if someone has a solution to this. I use WordPress 3.4.1

    Thanx
    Anders

    Thread Starter claredotcom

    (@claredotcom)

    Hi yes, I’ve found the same when I tested and I’m using 3.4.1.

    What I did instead was install User Role Editor Plugin
    It adds an option under ‘Users’
    Select role Calendar Contributor Role (which I gave to my user so he can add calendar events) and add any extra acces they need (I used the Editor role for reference).

    So now he can calendar access PLUS the extra access he needs as an editor.

    The plugin can be found here: http://wordpress.org/extend/plugins/user-role-editor/

    Hope this helps.

    Clare.

    Hi
    This works perfect as far as I can see

    Thanx a lot

    Anders

    Didn’t work for me. I installed the suggested plugin but see no mention of the Calendar Contributor Role. I am on a WP Network so maybe this solution doesn’t work in that situation?

    @lorax, try “memeber” plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Ajax Event Calendar] Must user be Admin user to Add to Calendar?’ is closed to new replies.