Allow to submit an event that certain categories

Home Forums Calendar Products Community Events Allow to submit an event that certain categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1155312
    tycarriou
    Participant

    Hi,

    I love that people can not submit events on certain categories of events.

    For example, on this page:
    http://www.laurencedumont.fr/events/community/ajouter

    I want users do voiens that “événements sportifs“.

    can you help me ?

    thank you in advance

    #1155646
    Cliff
    Member

    Hi. If I understood your question correctly, you might be mistaken about users not being able to submit events to Event Categories. Please see this video (no audio, recorded after page translated to English).

    Are you saying that you want users to only be able to submit events to the Evènements sportifs (Sport Events in my video) category (category ID 91)?

    #1156889
    Kevin Powell
    Participant

    This appears to be the same question I have.

    I’m looking to limit/control what categories a user can submit to. As it stands, a user is able to select from every existing event category, but we only have one category that we want to be available. We may need to make more available in the future, but just have the one for now.

    For the end user, they have no idea that we’re only accepting for a specific category of events. So, anything but the category or categories we’re accepting for will end up needing to be dealt with. Requiring more clean-up and management of submissions than would be needed if the form was somehow intelligent enough to provide a specific category or categories available to be submitted to. I can see the most benefit in being able to drive users to submit for a specific category rather than all that are actively available to submit to.

    I could be wrong, but this seems like it would be a common usage scenario for those using Community Events in conjunction with The Events Calendar Pro. With the obvious exception being those whose entire calendar is driven by user submissions.

    #1157188
    tycarriou
    Participant

    Hi Cliff,

    Yes it’s. I would than the users to only be able to submit events to the Evènements sportifs (Sport Events in my video) category (category ID 91).

    And if it’s possible, I wish I could customize titles.

    Thanks,
    Véronique

    #1157331
    Cliff
    Member

    Véronique,

    This CSS code should be a quick fix for you:

    body.tribe_community_edit #event-categories li:not(#tribe_events_cat-91) {
    display: none;
    }
    body.tribe_community_edit #event-categories li#tribe_events_cat-91.tribe-expanded ul.children li {
    display: block;
    }

    This will hide. However, a PHP solution would make them not even render on the page. You could request the help of a developer to implement such a solution.

    Regarding renaming them, you can do this by going to wp-admin > Events > Event Categories > hover over each category and click on its “Edit” link

    ===

    Kevin, please see my CSS code above and create your own support thread if you have follow-up questions. Feel free to link back to this thread if it’ll help.

    Thanks!

    #1166480
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Allow to submit an event that certain categories’ is closed to new replies.