• Resolved gkeinan

    (@gkeinan)


    Hi,

    I’m using this plugin to allow users to upload photos to my website and it seems to work very good.

    However, after a user uploads a file the upload instance clears and he can use that same instance to upload another file (without limitation).
    How can I limit the upload to only one file per instance?

    Thanks,
    Gal.

    https://ww.wp.xz.cn/plugins/wp-file-upload/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nickboss

    (@nickboss)

    So you want every user to be able to upload only one file?

    Thread Starter gkeinan

    (@gkeinan)

    Yes, exactly.

    Actually, in the meantime I’ve managed to implement it using the ‘after_file_upload’ filter and a little modification to the js code. I prevented the ‘unlock_upload’ in case the file upload was successful and it works fine for now.

    Thanks anyway,
    Gal.

    Plugin Author nickboss

    (@nickboss)

    ok if you anything let me know

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Allow single upload per instance’ is closed to new replies.