The Events Calendar: Community Events – Privileges problem

Home Forums Calendar Products Community Events The Events Calendar: Community Events – Privileges problem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1079695
    mediaversa
    Participant

    Hi,

    I have made 2 threads before about 2 problems im having with “The Events Calendar: Community Events”.
    But then you were not able to fix this problem and i was told to “stay tuned” for updates.
    I was wondering if there are any solutions yet, cause its still a priority problem for my client.

    1) “add new location” function in community form
    As an admin i can add new locations, but not as a member with the right privileges.

    2) Unable to select categorie’s
    As an admin i can select a event categorie, but as a member i can not select a event category.

    Wordpress, Event calendar and community are all updates. (same for all other plugins)

    I hope to hear from you soon.

    #1080406
    Cliff
    Member

    Hi.

    By default, a Subscriber-level user can NOT create a new Venue or Organizer via Community Events front-end form.

    I tested with these settings for Community Events: http://cl.ly/3t0q2L024509

    And in the current version, Subscribers cannot but Contributors can create new Venues.

    Also, both Subscriber and Contributor role users can select from existing categories.

    As such, these parts of the Community Events form seems to be working properly.

    If they’re not working for you like this, please follow our Testing for Conflicts Guide and see if that helps narrow down the cause of this.

    Let us know what you find out.

    Thanks.

    #1085823
    mediaversa
    Participant

    Hi Cliff,

    Thnx for the reply.
    First of all i think its a bit weird that Subscribers can not add a new venue.
    In the past they always had this option, now this option is stripped away.
    I think it would be a good addition to the community addon to be able to configurate this yourself.
    To have more control over what options userslvls would have.

    But for now, if i want to change this manually in the “wp_options” table / “wp_user_roles” recorde, what would i have to change? Current content is:

    }s:10:”subscriber”;a:2:{s:4:”name”;s:10:”Subscriber”;s:12:”capabilities”;a:5:{s:4:”read”;b:1;s:7:”level_0″;b:1;s:16:”read_tribe_event”;b:1;s:20:”read_tribe_organizer”;b:1;s:16:”read_tribe_venue”;b:1;}

    Thnx!

    #1087326
    Cliff
    Member

    Thanks for your patience during the time we were closed.

    You should never change anything like that — it’s “serialized data”.

    s:10:"subscriber" is saying subscriber is 10 characters long. So if you were to change it to editor (not that you should, just an example), you’d need to change it to s:6:"editor"

    Never change those yourself — really, you probably shouldn’t ever change anything manually in the database — because incorrectly serializing them manually could cause data corruption/loss.

    Anyway, here’s a view of what Contributor users have permission to do: http://cl.ly/1M0c1u2x462a

    If you want Subscribers to be able to Add New Venue, you could enable them to have edit_tribe_venues permission.

    This could be accomplished by using a plugin like User Role Editor (third party, not guaranteed) or via a custom code snippet, like this one:

    Here: https://gist.github.com/cliffordp/5708d5b5c1a8f36635a5

    Please let me know how it goes for you.

    #1094086
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘The Events Calendar: Community Events – Privileges problem’ is closed to new replies.