Support » Plugin: Contact Form 7 Signature Addon » Suggestion: saving signatures not at wp-content

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author tameroski

    (@tameroski)

    Hi,

    This is a very good suggestion and definitely something i have to do. I don’t know much about how attachements works for the moment but i’ll look at it in the next days.

    Thank you

    Plugin Author tameroski

    (@tameroski)

    Hi,
    I was looking at your request, and as far as i understand, saving signatures as attachement will add them to the media library, which could be annoying after dozens of form completion and as much signatures added to the media library. Sure it’s still less annoying than being hacked though, but as i check for file content being a base64 encoded png before saving it to the uploads directory it seams quiet OK to me, but i might be missing something somewhere. What do you think ?
    Thanks

    Hi,

    thanks sofar. Perhaps you can use the contact form 7 file sending hook or something similar. If I add a file at a contact form the file is only attached to the sent mail. So I think you should have a look at the main plugin. This procedure would be the best.

    Regards,

    Plugin Author tameroski

    (@tameroski)

    I also think that’s the best way to do it. CF7 sending hook also deletes files after sending, which will prevent signatures files for staying in the upload dir forever … I will try this. Thanks for the idea.

    Plugin Author tameroski

    (@tameroski)

    Hi
    A little update on your suggestion : attaching the signature image as attachment seams possible, but then i’ll lost one of the main purpose of this plugin : having the signature displayed in the email body. And i know i’ll have a lot of complaints if i do so …
    I didn’t found a way to use the attachement in the body so far. It’s technically possible outside of CF7, but i don’t think it’s possible to alter the email headers through it, get the attachment ID, etc.
    So i’m a bit sitting on the fence here …

    This is a huge concern for me also. Basically, right now, google could even index those signatures.

    We’ve got to find a way to keep them off the server.

    How about giving the user the option to “Store Images on Server and display them in email body”
    OR
    “Do not store signature images. (Images will not be included in the body, and will be sent as attachments.)”

    Plugin Author tameroski

    (@tameroski)

    Hi,

    Sorry for the delay, it’s holiday time here 🙂
    I’m still planning on working on this issue anytime soon. I was thinking of adding some quickfix when i come back (in 2 weeks from now) where you can attach signatures one at a time using a parameter in the signature shortcode like [signature signature-666 attachement]. It would be a first step in adding a whole plugin settings page and all.

    Plugin Author tameroski

    (@tameroski)

    Hi,

    I finally took the time to work on a new feature allowing you to send signatures as attachments. It takes place in v3.0 of the plugin.

    First, add the “attachment” parameter to the signature field you want to attach in your form, like this :
    [signature your-signature-field attachment]

    Then add the signature tag to the mail attachment section, like you would do for a file (see this tutorial) : [your-file][your-signature-field]

    And that’s it!
    It seams to work fine, but in case you find some bug, just remove the ‘attachment’ parameter for going back to the standard behaviour, and let me know.

    Enjoy !

    Hi,

    great, but fo me it doesn´t work. I use the following shortcodes:

    [signature* signature-670 cols:1140 rows:300 attachment] at the mail form and at the mail attachment field: [signature-670]

    Can you please test this shortcode at your development version?

    Regards,

    Plugin Author tameroski

    (@tameroski)

    Damit, i messed up with the mandatory option, sorry … Let me get back with a fix in a few minutes …

    Plugin Author tameroski

    (@tameroski)

    Fixed in 3.1 (and i added a test on mandatory fields this time …)
    Thanks for pointing this out !

    Thanks! Now it works, but the file leaves at the uploads folder – is this intended?

    Plugin Author tameroski

    (@tameroski)

    I use CF7 file uploading functions for better compatibility, and they delete temp files when the template_redirect action is called, so only when someone loads a page on the site.

    Signatures files created with a standard signature field (without the “attachment” parameter) will stay on the server though.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Suggestion: saving signatures not at wp-content’ is closed to new replies.