WordPress.org

Forums

Events Manager
[resolved] private locations/events (10 posts)

  1. jjj38
    Member
    Posted 2 years ago #

    Hi,
    I would need help with privacy setting of locations/events.
    Can I set the privacy through the front-end when adding ? How ?
    In meantime, I am setting the privacy through the back-end.
    But private locations can still be seen in the locations list by unauthorized users, and used as location when adding new events !! Which I assume it is not normal.
    Did I miss something?
    Any idea to fix that?
    Thanks a lot
    jjj38

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    currently, privacy can only be set through the backend; also, try to check settings > general > user capabilities to limit the access.

    btw, try use search attribute private or private_only - http://wp-events-plugin.com/documentation/event-search-attributes/

    e.g. [locations_list private=0]

  3. jjj38
    Member
    Posted 2 years ago #

    Thank you for your help !
    I don't know yet how to play with attributes but will start playing with that right away.
    I assumed it could helped me to avoid private locations to be displayed in list.
    But their use when creating events, it's another story, isn't it ?!

    Actually, my registered users, set as "authors", can create events using private locations whereas I only allowed: delete_locations, edit_locations for the location capabilities!
    Do you agree there is something wrong?
    jjj

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    can still be seen in the locations list by unauthorized users,

    by unauthorized, do you mean users that are logged in but shouldn't see the events, or guests?

    there's a capability that might be allowing users to see these - read_private_locations

  5. jjj38
    Member
    Posted 2 years ago #

    Hi Marcus,

    By unauthorized users I meant "authors" who can just delete_locations, edit_locations.

    Actually, I sort this out for the location list : private locations are listed, but details are not displayed here.

    But those details are displayed in the corresponding event details page!!
    It's not very logical, isnt'it !?
    Is there any conditional shortcode about locations privacy which could help to remove those details?

    Moreover, my main problem is:
    every user who just has delete_locations and edit_locations allowed can create an event using a private location, since all the private locations appear in the location list displayed in the event creation page!
    Is that normal?
    Any idea to remove those private locations from this list?

    Thanks a lot guys!
    jjj

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    If the event is not private then it's assumed the location isn't private when showing event details. I guess it depends who you ask, i think that makes sense :)

    r.e. the main problem, this could be a bug in our query logic... do these users not have the read_private_locations capability?

  7. jjj38
    Member
    Posted 2 years ago #

    Thanks Markus !

    In a way, I could make sense !!...;).
    Have u got a conditional shortcode somewhere avalaible for privacy?
    Like : if the event/location is private, then don't display blablabla?

    For the main probleme, yes they haven't got the read_private_locations capability.

    Cheers.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    no, but good point, I'll add that in the next update (or if time is short, will add on the following update)

  9. jjj38
    Member
    Posted 2 years ago #

    Hi Marcus,

    Cool!
    And have you thougth about the main problem: users who haven't got the read_private_locations capability can use private locations !! ?

    Cheers

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    yes, will look into fixing this asap

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.