• Resolved jurvrn

    (@jurvrn)


    Is it possible to allow user to access his own events only?
    So that the user could add/edit or manage only his own events

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Franky

    (@liedekef)

    Yes that is possible. See the EME settings concerning Access (check the setting “Author event”).

    Thread Starter jurvrn

    (@jurvrn)

    which setting should I choose to allow user to access (add/view) his own events only?

    Tell me please – Events are recorded only in the database and are not displayed on pages or in posts?

    Plugin Author Franky

    (@liedekef)

    Like I said: “Author event”
    And please read the documentation for that: https://www.e-dynamics.be/wordpress/documentation/ (start with chapter 3, which explains that events are not posts) *and* has a video to learn how to work with EME.

    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef) I’m sorry, I understand English a little.
    I didn’t find the answer to my question in the documentation.
    Which item should I choose?
    de4e3dd9c7933583482693e542e24aa0.jpg

    Plugin Author Franky

    (@liedekef)

    It doesn’t matter, it just needs to be a capability that your users have too (but make sure it is a capability not used in the other access rights to prevent too much liberty). If you want, you can use a plugin like “User Role Editor” to create custom capabilities and use those. The default is “edit posts” which is a capability a WP author has, so that should be sufficient.
    It is beyond EME to explain how wordpress roles and capabilities work, for that I refer you to wordpress documentation: https://www.ads-software.com/support/article/roles-and-capabilities/

    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef), I know about the roles. But I need each user to see only their own events. The event must not be seen by other users. Is it possible?

    Plugin Author Franky

    (@liedekef)

    You asked about “add/edit or manage only his own events”, not “see”. Like I explained: a regular author in WP has in EME the right to edit his own events (the ones he created) or the ones he”s a contact person for. The contact person can be set per event.

    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef), excuse me, I understand english not very well.
    I am asking now “add/edit, manage and see only his own events”. I want to make a private organizer for everyone.
    Roles do not matter, each user creates events only for himself

    Plugin Author Franky

    (@liedekef)

    Like I already explained:

    a regular author in WP has in EME the right to edit his own events (the ones he created) or the ones he”s a contact person for. The contact person can be set per event.

    View events in the backend is also limited like this.
    If you want to limit events shown in the frontend, either use EME conditional tags with the #_IS_AUTHOR placeholder as check, or wait for the next release that allows this (from the changelog):

    * Allow author or contact_person to be "#_MYSELF" if you want to limit events to only those where you're the author:
      [eme_events author=#_MYSELF]
      or the contactperson:
      [eme_events contact_person=#_MYSELF]
    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef) [eme_events author=#_MYSELF]
    where should I put this shortcode? the documentation does not have this answer

    • This reply was modified 4 years, 4 months ago by jurvrn.
    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef) [eme_events author=#_MYSELF]
    where should I put this shortcode? the documentation does not have this answer

    Franky (@liedekef) this is still relevant for me.
    Two events entered by different users. Each user should only see their own events in the calendar

    517e7c2e1e35c0e2be6b33d51542fa81.png

    • This reply was modified 4 years, 4 months ago by jurvrn.
    Plugin Author Franky

    (@liedekef)

    See the EME doc: https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/
    “you need to use shortcodes on regular pages to get anything done from EME”

    Concerning your question on the calendar: author=#_MYSELF is an option that will also only work in the next version, so please be patient.

    Thread Starter jurvrn

    (@jurvrn)

    Franky (@liedekef), thanks, I will be patient )

    [eme_calendar author=#_MYSELF] – this shortcode doesn’t work in the widget (((

    Plugin Author Franky

    (@liedekef)

    #_MYSELF will only work in the next version. Also there’s a specific calendar widget provided by EME, use that. There’s also an EME widget for event listings btw …

    • This reply was modified 4 years, 4 months ago by Franky.
    Thread Starter jurvrn

    (@jurvrn)

    ok, I’ll try using the calendar list

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘How to allow viewer to access his own events only?’ is closed to new replies.