Home › Forums › Calendar Products › Community Events › How can I force the Organizer to be the logged in user's name only?
- This topic has 5 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
January 19, 2016 at 9:45 pm #1058975
Jadu
ParticipantHi 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.January 20, 2016 at 4:06 pm #1059501Barry
MemberHi 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!
January 21, 2016 at 8:46 pm #1060221Jadu
ParticipantHi Barry,
Thanks for your reply. I’ll try what you suggested first and go from there.
January 24, 2016 at 10:57 am #1061391Jadu
ParticipantHi 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.January 25, 2016 at 8:18 am #1061848Barry
MemberHi 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!
February 19, 2016 at 8:35 am #1078218Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘How can I force the Organizer to be the logged in user's name only?’ is closed to new replies.
