Plugin Directory

Changeset 1364652


Ignore:
Timestamp:
03/05/2016 03:50:22 PM (10 years ago)
Author:
winball
Message:

some bug fixes

Location:
gravity-forms-to-excel-addon/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gravity-forms-to-excel-addon/trunk/gf2excel-addon.php

    r1326362 r1364652  
    44Plugin URI: http://wp4office.winball2.de/gf2excel
    55Description: Gravity Forms AddOn which saves form data into a given Excel document and attaches it to notification emails
    6 Version: 0.1.4.2
     6Version: 0.1.5.0
    77Author: Dieter Pfenning
    88Author URI: http://winball.de/
     
    1313Copyright 2012-2016 winball.de (PG Consulting GmbH)
    1414
    15 Publishing date: 2016-01-10 16:22:52
     15Publishing date: 2016-03-05 16:26:52
    1616
    1717This program is free software; you can redistribute it and/or modify
     
    3434//------------------------------------------
    3535if (!class_exists("GFForms")) {
    36     die();
     36    // Gravity Forms Plugin ***is not*** active, do nothing
    3737} else {
     38    // Gravity Forms Plugin is active, so continue
    3839    GFForms::include_addon_framework();
    3940
     
    4344        protected $_min_gravityforms_version = "1.7.9999";
    4445        protected $_slug = "gf2excel-addon";
    45         protected $_path = "gf2excel-addon/gf2excel-addon.php";
     46        protected $_path = "gravity-forms-to-excel-addon/gf2excel-addon.php";
    4647        protected $_full_path = __FILE__;
    4748        protected $_title = "GravityForms2Excel";
     
    108109            function wp4o_attach_excel($notification, $form, $entry){
    109110                // read plugin settings for this form
    110                 $settings = $form['gf2excel-addon'];
     111                if (array_key_exists('gf2excel-addon', $form)) {
     112                    $settings = $form['gf2excel-addon'];
     113                } else {
     114                    return $notification;// no addons settings found so exit
     115                }
     116               
    111117               
    112118                // read active notifications for this form
     
    189195            function wp4o_delete_excel($entry, $form){
    190196                // read plugin settings for this form
    191                 $settings = $form['gf2excel-addon'];
     197                if (array_key_exists('gf2excel-addon', $form)) {
     198                    $settings = $form['gf2excel-addon'];
     199                } else {
     200                    exit();// no addons settings found so exit
     201                }
    192202               
    193203                // read active notifications for this form
  • gravity-forms-to-excel-addon/trunk/readme.txt

    r1326362 r1364652  
    55Requires at least: 3.7
    66Tested up to: 4.4.1
    7 Stable tag: 0.1.4.2
     7Stable tag: 0.1.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161
    6262== Changelog ==
     63
     64= 0.1.5.0 =
     65* changed sample excel file to contain VLOOKUP in cield C7
     66* fixed blank page of death after activation, when activated without having Gravity Forms active
     67* fixed $form['gf2excel-addon'] not defined
     68
    6369= 0.1.4.2 =
    6470* changed readme, added FAQ
     
    8692== Upgrade Notice ==
    8793
     94= 0.1.5.0 =
     95* changed sample excel file to contain VLOOKUP in cield C7
     96* fixed blank page of death after activation, when activated without having Gravity Forms active
     97* fixed $form['gf2excel-addon'] not defined
     98
    8899= 0.1.4.2 =
    89100Fixed some bugs:
    90101* fixed missing charts in output Excel file
    91102* fixed file not found for installation sin subdirectories
    92 
    93 Added FAQ telling people restrictions of PHPExcel library (no macros, no form fields)
     103* Added FAQ telling people restrictions of PHPExcel library (no macros, no form fields)
  • gravity-forms-to-excel-addon/trunk/samples/readme.txt

    r1193092 r1364652  
    55Requires at least: 3.7
    66Tested up to: 4.2.2
    7 Stable tag: 0.1.3
     7Stable tag: 0.1.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.