• Resolved tridentspk

    (@tridentspk)


    I need to implement permissions for events that go like this:

    User Groups:
    Administrators Group – Full permission of course
    Moderators Group – informal tours, noticeboard, forum
    13 Provincial Individual Members Groups – informal tours for their province BC, etc, social, noticeboard
    13 Global Moderators Groups – formal tours for their province, informal tours for their province, noticeboard, forum

    Currently the events page looks like this:
    https://i.imgur.com/pXpa8B8.jpg

    So my idea was. For example: If a user is currently an individual member that can add informal tours for the B.C province.

    I want to have it automatically checkmark Tours – Canada and Informal Tours. Then I want the entire event categories section to be hidden from view. But when they submit it, it will choose the appropriate category based on their permissions.

    I also want it to hide the “Categories”, “Tags”, “Venues”, “Calendar View” and “Bookings” options under the Events tab. Except for Admins and Global Moderators of course.

    And lastly, I want them to be forced to Add a new venue rather than choose from an existing one. This could be done by only showing the + sign or better if the choices just display right away without clicking + sign. And so then I would want it to have the State/Province section only have British Columbia selected from a dropdown list and ensure that upon submission it will stay that way. I currently have code that does this part. I do an if statement in the loop of variables to find the state/province one and then add in a dropdown list so that should be straightforward.

    View post on imgur.com

    The second portion would be for the user to be able to see ONLY events that they have created themselves. This could be done in the “All Events” section, or an entirely new dedicated tab could be setup for this. Whichever way is better.

    I’m also wondering what file is responsible for displaying the “Event Categories” section for when your creating a new event or editing one? I spent at least an hour looking through files and could not find it.

    The absolute deadline for me to get this done is before Monday. This is the last part of my project and I could really use some help on this. Thank you so much.

    Any tips and code would be greatly appreciated. Especially for detecting user groups and then hiding things and displaying and allowing them to edit their own events.

    Also I got the event organiser pro plugin.

    https://www.ads-software.com/extend/plugins/event-organiser/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How would I implement these event add/edit permissions? (Screenshots included)’ is closed to new replies.