Block A Specific Role to Access the "Add Event"

Home Forums Calendar Products Community Events Block A Specific Role to Access the "Add Event"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #934029
    massound
    Participant

    Hi,

    Is it possible to block a specific role to access the “Add Event” (http://mysite/events/community/add) and how?

    If not, can I create a “Add Event” page and use another plugin to block it? I also try to use the WPFront User Role Editor plugin to limit the role capabilities, but it doesn’t work for me.

    Can you please guide me how to do it?

    Thank you.

    Massound

    #934675
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can try to help out on your customization.

    It is not possible without significant customization to create a new Add Event Page.

    You could follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To move the community files and wrap them in a check for a specific role.

    Community Events creates the capabilities itself so any WordPress role can create events using the forms or if you have it set an anonymous user as well. So plugins that would change role capabilities will not help.

    Let me know if you have any follow up questions, but we are limited on support for customizations.

    Thanks

    #934863
    massound
    Participant

    Hi Brian,

    Thanks for your reply.

    In fact, I don’t really need to create a new page for the “Add Event”. I just want to block specific role to access the url ((http://mysite/events/community/add) to add a new event.

    Do you have a simple way to do it? Can you please guide me how to do it step by step?

    Thank you.

    Massound

    #934968
    Brian
    Member

    Unfortunately, we do not have a guide or coding to enable only a specific role for the community events.

    You could follow the themer’s guide and add a wrap around the coding for the community events form as mentioned above.

    That is about all we can do to help on this and unable to provide a step by step guide for customizations.

    Thanks

    #943646
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Block A Specific Role to Access the "Add Event"’ is closed to new replies.