WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
[Plugin: Contact Form 7 to Database Extension] Saving image attachments to database (6 posts)

  1. mwgore
    Member
    Posted 2 years ago #

    I'm using version 3.1 of Fast Secure Contact Form and version 2.2.4 of CFDB on a version 3.3 WP installation. Attached files are being sent via email but are not being saved to the database. I've looked at past topics and see the instruction that the 'File is attached: xxx.jpg' entry in the database should be clickable, but it is not. Do you know how to fix this issue? Thanks in advance - the plugins are awesome, save this one issue!

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. frankwlf
    Member
    Posted 2 years ago #

    I got the same problem, but I cant find a simple solution (I'm not an expert). Would like to hear the solution.

  3. frankwlf
    Member
    Posted 2 years ago #

    And where does the actual uploaded attachment placed on the server? I cannot find it, or how to pogram?

  4. kitchin
    Member
    Posted 2 years ago #

    FSCF says it deletes the attachment after emailing it, IIRC.

  5. kitchin
    Member
    Posted 2 years ago #

    There are a couple of settings to check. It is working for me now. The attachment is deleted from the folder si-contact-form/attachments after it is sent to the database. It is stored in the MySQL table [wp_]cf7dbplugin_submits as a binary blob.

    It did seem not to be working at first, but I may just have missed saving a setting. These are the ones to check:

    • Dashboard / Plugins / FS Contact Form Options / Data Export: (form [1]) / Enable data export after the message
    • Dashboard / Plugins / FS Contact Form Options / Database Options
      Click save here just to sure.
  6. kitchin
    Member
    Posted 2 years ago #

    And... if you want to look the code, debug, etc., see:
    http://wordpress.org/support/topic/slick-contact-forms-to-database
    Which links to a very clear API-type document:
    http://cfdbplugin.com/?p=646
    And you can search for those hooks in FSCF.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic