Home › Forums › Calendar Products › Community Events › Event form – Image submission
- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by
Gurdeep Sandhu.
-
AuthorPosts
-
October 9, 2017 at 3:40 am #1361036
Gurdeep Sandhu
Participant1. When a organiser submits a event image , they have to upload a image. They are not given the choice to reuse old image they have uploaded before.
2. Add a ticket image they are given the choice to upload a new image or reuse a old image. But they are shown the full library. They should be restricted to see and use just their images.
October 9, 2017 at 8:17 pm #1361387Cliff
MemberHi, Gurdeep.
I believe you’re requesting the same thing as one of our existing feature requests: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/9788196-shared-media-library-for-community-events-submissi
Please do add your vote there.
This allows us to gauge interest in this particular feature request, which helps us prioritize our development efforts.
Thank you.
October 14, 2017 at 1:54 am #1363639Gurdeep Sandhu
ParticipantHere is the solution for part two atleast. Paste this code, into your theme’s functions.php file (or a plugin file).
add_filter( 'ajax_query_attachments_args', 'show_users_own_attachments', 1, 1 ); function show_users_own_attachments( $query ) { $id = get_current_user_id(); if( !current_user_can('manage_options') ) $query['author'] = $id; return $query; }October 16, 2017 at 1:05 pm #1364297Cliff
MemberThanks so much for sharing what worked for you.
Wouldn’t this work for both of your questions, not just the second?
October 16, 2017 at 1:20 pm #1364301Gurdeep Sandhu
ParticipantIn the first event image case, customer needs to add a new event image again, can`t use old image from wp image lib. It has only upload option,
not option like they get when to add a ticket image where organiser get two option, one to upload and other to reuse their images already uploaded.
so the solution will work just for the second. This is one way not logical, why option in one case and not in other on the same form.
October 16, 2017 at 2:05 pm #1364320Cliff
MemberGotcha. Here’s that existing feature request: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/5620219-community-events-native-image-file-uploader-on-s
I’ve pinged our development team to remind them of it based on your request and also because I personally think it should happen (ideally sooner than later, as always).
Please let me know if you have any follow-up questions on this topic.
November 7, 2017 at 8:35 am #1377007Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Event form – Image submission’ is closed to new replies.
