• Resolved hansonc

    (@hansonc)


    When someone uploads a file(resume) the file is sent to the media library. But its not private. I have been trying to get the hook to work that changes the directory that the attachments would go to. But, I have know idea on where to place the hook or what fields in the hook to change. Maybe there is a way to just have it attached to the email and not be uploaded to the media file. My form is not published online because I do not want peoples resumes to be public in the media library. Thanks for the help

Viewing 4 replies - 1 through 4 (of 4 total)
  • sorry for mixing the problems…
    if you are using the ‘create user’ plugin – you will also discover that all the new users (subscribers) passwords are stored on plain text format. Any registered user with rights to see the entries, or rights to access the dB (admins) – will see the passwords from all your customers. Nice ??
    Privacy or security is apparently not something vfb seriously care…

    You will need to add in your child theme in the functions.php file (create it if not present) the hook.
    add_filter( ‘vfbp_upload_ ….. and the
    function vfbp_filter_upload_directory with the appropriate settings.$dir = ‘your-folder’;

    from what I found this Is generated as subfolder…

    Also take care to restrict the files that can be uploaded through the form, otherwise you largely open a door on your website.

    hope this help
    regards

    Hi there Hanson, are you by chance using the Pro version or the Free version of Visual Form Builder? The hooks are designed to only function with the Pro version.

    Thanks!
    Shane
    VFB

    Thread Starter hansonc

    (@hansonc)

    I’m using the free version. Thanks for your help

    Thanks for getting back to with me! Unfortunately, the hook will not function with the free version. I do however suggest upgrading to the Pro to utilize this feature/hook. Also, please do check out the demo for the Pro version – URL below.

    Thanks!
    Shane
    VFB

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘File upload hook help’ is closed to new replies.