• Resolved roberto sousa

    (@roberto-sousa)


    hey i have installed your great plugin on my website

    i have done this code:

    [wtf_fu_upload deny_public_uploads="1" use_public_dir="1" accept_file_types="jpg|jpeg|png|gif|pdf|" deny_file_types="htaccess|php|php3|php4|php5|cgi|aspx|asp|aspx|sh|phtml|shtml|pl|py|pyc|pyo" inline_file_types="jpg|jpeg|mpg|mp3|png|gif|wav|ogg" image_file_types="gif|jpg|jpeg|png" max_file_size="5" max_number_of_files="30" auto_orient="1" create_medium_images="0" medium_width="800" medium_height="600" thumbnail_crop="1" thumbnail_width="50" thumbnail_height="50"]

    i have set it on a page called Upload File
    the thing is that i have used several accounts on the website
    and every user can see what others user’s uploaded but i only want a user to see what he only upload.

    how do i set the code?

    can you help?

    thanks

    https://www.ads-software.com/plugins/work-the-flow-file-upload/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter roberto sousa

    (@roberto-sousa)

    thanks for the help!

    Plugin Author lynton_reed

    (@lynton_reed)

    use_public_dir="1" makes the plugin use a common directory for ALL users, remove this attribute or set it =0, and each user will have their own location and set of files.

    Also you only need to specify attributes that need to differ from the default values, read the help tabs on File Upload settings page for more about how the default values work and what they do.

    The most important attribute is the wtf_fu_dir attribute so
    for you probably all you need to specify is something like
    [wtf_fu_upload wtf_upload_dir="myfiles"]

    although if you aare happy to use the default value of wtf_upload_dir=”wtf-fu_files”
    then even
    [wtf_fu_upload] with no attribute should be fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need Help please’ is closed to new replies.