Home › Forums › Calendar Products › Community Events › Disable Event Image Upload
- This topic has 8 replies, 3 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
October 17, 2013 at 4:19 am #71460hc2caParticipant
Looking to disable the event image upload capability, removing it entirely from the community submission form for the time being. There does not seem to be a quick and easy way to edit what shows up on the community form.
October 17, 2013 at 9:11 am #71485CaseyParticipantH2ca,
Yes, you can definitely remove the image upload field easily enough. Just perform a Template Override by doing the following:1) Copy ‘/wp-content/plugins/the-events-calendar-community-events/views/edit-event.php’ to the following directory: ‘/wp-content/themes/YOUR_THEME_DIRECTORY/tribe-events/community/’.
2) Find the following code on line 53:
and change it to the following:
Then save the file and you’ll be good to go!
Just let me know if you have any questions about how to do this. Thanks!
October 20, 2013 at 6:13 am #71786hc2caParticipantThanks Casey. I don’t seem to have a file called: edit-event.php in that directory. Cannot find it in the hooks or modules folders in ‘the-events-calendar-community-events’ either. Should I be looking elsewhere?
October 20, 2013 at 8:20 am #71799CaseyParticipantHc2ca,
It sounds like you’re not running version 3.1 of Community, since you have the ‘hooks’ folder in your plugin directory. Could you try updating to 3.1 and then trying my instructions above? Thanks!October 21, 2013 at 2:06 pm #72057hc2caParticipantCasey,
The plugin appeared to be 3.1. I re-downloaded it, and everything was where you suggested I look. Changed the line in the file and moved it to the theme directory. Image upload was removed, but it was also replaced with the code I changed:October 21, 2013 at 2:10 pm #72059CaseyParticipantHc2ca,
I’m so sorry! It looks like my code above was modified when I pasted it in. Line 53 should look like this (remove the space between < and the ?): http://pastebin.com/p0qxA3jYTry that and let me know if that fixes it. Thanks!
October 21, 2013 at 2:46 pm #72074hc2caParticipantPerfect, thanks!
October 21, 2013 at 2:47 pm #72075CaseyParticipantGreat! Since it looks like you’re all sorted, I’m going to mark this thread “Answered” and close it out.
We really appreciate your support and please let us know if you need anything else in the future. If you find yourself with a few minutes and would be so kind as to give us a “Works” rating or a positive star voting on the WordPress.org repo (http://wordpress.org/extend/plugins/the-events-calendar/), or even a shoutout to your followers on Facebook or Twitter, it would mean a lot to us. Thanks again for using the plugin.
July 7, 2015 at 6:29 am #981501Support DroidKeymasterThis 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 ‘Disable Event Image Upload’ is closed to new replies.