• Resolved Moondrop

    (@moondrop)


    Hi,

    Just as the topic title states, I would like to know if the PDF’s are stored on the server by default?

    The ability to generate a PDF from a form entry is perfect for what I need. However, I do not want any PDF form files stored on our server, and just want to make sure this setting is not implemented by default.

    Thanks in advance!

    http://wordpress.org/plugins/gravity-forms-pdf-extended/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi Moondrop,

    PDFs are generated and saved on the web server when using the ‘notifications’ configuration option. The folder they are saved in has a htaccess file to prevent access to the PDFs via the web browser.

    If you don’t need to have PDFs sent via email then the PDFs won’t be saved to disk.

    Thread Starter Moondrop

    (@moondrop)

    Great to hear and thanks for the reply!

    Thread Starter Moondrop

    (@moondrop)

    Hello,

    Sorry to re-open this topic, however I can not seems to stop .pdf files from being generated in the “PDF_EXTENDED_TEMPLATES/output” folder.

    My “PDF_EXTENDED_TEMPLATES/configuration.php” file contains:

    global $gf_pdf_default_configuration;
    
     $gf_pdf_default_configuration = array(
     	'notifications' => false,
     	 'template' => 'default-template-two-rows.php',
    	'pdf_size' => 'A4'
     ); 
    
    define('GFPDF_SET_DEFAULT_TEMPLATE', true); 
    
     /*
      * MEMORY ISSUES?
      * Try setting the options below to true to help reduce the memory footprint of the package.
      */
     define('PDF_ENABLE_MPDF_LITE', false); 
    
    /* strip out advanced features like advanced table borders, terms and conditions, columns, index, bookmarks and barcodes. */
     define('PDF_ENABLE_MPDF_TINY', false);
    
     /* if your tried the lite version and are still having trouble the tiny version includes the bare minimum features. There's no positioning, float, watermark or form support */
     define('PDF_DISABLE_FONT_SUBSTITUTION', false); 
    
    /* reduced memory by stopping font substitution */
     define('PDF_ENABLE_SIMPLE_TABLES', false); 
    
    /* disable the advanced table feature and forces all cells to have the same border, background etc. */

    I also tried setting 'notifications' => '',

    However, each form submission still generates a .pdf file in the “output” folder. How can I stop PDF files from being written to the server?

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Thank you for the feedback Moondrop. I’ve verified this is an issue and have fixed it for the next release. We’ll be running beta testing next week. You can sign up to our mailing list to keep apprised.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Are the PDF's stored on the server by default?’ is closed to new replies.