How can I force the Organizer to be the logged in user's name only?

Home Forums Calendar Products Community Events How can I force the Organizer to be the logged in user's name only?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1058975
    Jadu
    Participant

    Hi there,
    I want to give my community events organizers no option to change the Organizer name in the Events Form. How can I force the organizer to be the name of the logged in user?
    Thanks in advance for any help.

    #1059501
    Barry
    Member

    Hi Jadu,

    At this time you’d need to implement that as a customization.

    Though the amount of assistance we can provide for this sort of thing is fairly limited, I’d be happy to outline a possible way to approach this – but first please do take the time to review our Themer’s Guide which covers many fundamentals in terms of customizing our plugins.

    • Setup an empty file within your theme at tribe-events/community/modules/organizer.php – this will remove the ability for people to change the organizer
    • When a user submits a new event you can modify the submitted data using the tribe_events_community_sanitize_submission hook – use this to inject whatever organizer you prefer
    • To avoid duplication where the same user submits multiple events, remember to check and see if an organizer post has already been generated for them!

    I do realize this is a very basic sketch showing just one way you might approach the problem, but hopefully it’s enough to get you headed in the right direction. Remember also there are plenty of folks you can approach for help if you need hands-on assistance beyond what we can offer in the support forum ๐Ÿ™‚

    Good luck!

    #1060221
    Jadu
    Participant

    Hi Barry,

    Thanks for your reply. I’ll try what you suggested first and go from there.

    #1061391
    Jadu
    Participant

    Hi Barry,
    A follow up question.
    Is there anyway to customize the community events form at all? If so can you point me to the right place.
    Also if that’s not the case, are you guys planning on adding this as new functionality? It would be extremely useful.

    #1061848
    Barry
    Member

    Hi Jadu,

    Our Themer’s Guide is the best starting point if you want to learn about customizing the templates used in Community Events (or indeed any of our plugins) ๐Ÿ™‚

    Also if thatโ€™s not the case, are you guys planning on adding this as new functionality?

    Other than the approach outlined in the above guide, we tend to add customization and other options one-at-a-time, according to what the community requests. If there are specific options you’d like to see please do feel free to add them on our UserVoice page (or up-vote any suitable existing ideas).

    Thanks again!

    #1078218
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How can I force the Organizer to be the logged in user's name only?’ is closed to new replies.