WordPress.org

Ready to get started?Download WordPress

Forums

Ajax Event Calendar
Must user be Admin user to Add to Calendar? (8 posts)

  1. claredotcom
    Member
    Posted 1 year ago #

    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/

  2. Renato Paiva
    Member
    Posted 1 year ago #

    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.

  3. claredotcom
    Member
    Posted 1 year ago #

    thank you!!!!

  4. Anders Ostman
    Member
    Posted 1 year ago #

    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

  5. claredotcom
    Member
    Posted 1 year ago #

    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.

  6. Anders Ostman
    Member
    Posted 1 year ago #

    Hi
    This works perfect as far as I can see

    Thanx a lot

    Anders

  7. lorax
    Member
    Posted 10 months ago #

    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?

  8. tirumalavasu
    Member
    Posted 10 months ago #

    @Lorax, try "memeber" plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic