Event form – Image submission

Home Forums Calendar Products Community Events Event form – Image submission

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1361036
    Gurdeep Sandhu
    Participant

    1. 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.

    #1361387
    Cliff
    Member

    Hi, 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.

    #1363639
    Gurdeep Sandhu
    Participant

    Here 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;
    }
    #1364297
    Cliff
    Member

    Thanks so much for sharing what worked for you.

    Wouldn’t this work for both of your questions, not just the second?

    #1364301
    Gurdeep Sandhu
    Participant

    In 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.

    #1364320
    Cliff
    Member

    Gotcha. 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.

    #1377007
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event form – Image submission’ is closed to new replies.