Plugin Directory

Changeset 1453043


Ignore:
Timestamp:
07/12/2016 12:41:48 AM (10 years ago)
Author:
pushpress
Message:

tagging version 1.5.2

Location:
pushpress-integration
Files:
3 edited
5 copied

Legend:

Unmodified
Added
Removed
  • pushpress-integration/tags/1.5.2/pushpress.php

    r1404915 r1453043  
    22/**
    33 * @package WP-PushPress
    4  * @version 1.5.1
     4 * @version 1.5.2
    55 */
    66/*
     
    99Description: Easily integrate your workouts, calendar, products, membership plans, events and more with your Wordpress blog!  This plugin is a free add-on for existing PushPress clients.  See https://pushpress.com for more info.
    1010Author: PushPress, Inc
    11 Version: 1.5.1
     11Version: 1.5.2
    1212Author URI: https://pushpress.com
    1313*/
    1414define('PUSHPRESS_DEV', FALSE);
    15 define( 'PP_PLUGIN_VERSION', '1.5.1');
     15define( 'PP_PLUGIN_VERSION', '1.5.2');
    1616define( 'PUSHPRESS_ERROR_REPORT', 0 );
    1717define( 'PUSHPRESS_BUTTON_CLASS',  'pushpress-button-class-' . rand(0, 10000));
     
    400400                    $params['lead_message'] = $form['lead_message'];
    401401                    $params['objective'] = $form['objective'];
     402                    $params['lead_source'] = "Wordpress Plugin";
    402403                    $params['referred_by_id'] = $form['referred_by_id'];
    403404                    $params['referred_by_user_id'] = $form['referred_by_user_id'];
     
    440441                        Wp_Pushpress_Messages::$leadSubmitSuccess = true;
    441442
     443                        $_POST['form_submitted'] = true;
     444
    442445
    443446                    }catch (Exception $e){
     
    461464                        exit;
    462465                    }
     466                   
    463467                }
    464468               
  • pushpress-integration/tags/1.5.2/readme.txt

    r1404915 r1453043  
    9696= 1.5.1 =
    9797Fixed bug on lead form: Was showing lead types when toggled to off.
     98
     99= 1.5.2 =
     100Removed the lead form after submitting.
     101Added proper source tracking to lead form. (now shows as Wordpress Plugin as the lead source)
  • pushpress-integration/tags/1.5.2/templates/frontend/shortcode_leads.php

    r1404915 r1453043  
    77}
    88</style>
     9
     10
    911    <div class="wp-pushpress">
    1012        <ul class="wp-pushpress-list">
     
    1719                <p class="lead-text"><?php echo $leads['lead_page_description'];?></p>
    1820                <?php Wp_Pushpress_Messages::get_messages();?>
     21
     22                <?php if (!isset($_POST['form_submitted'])) { ?>
    1923                <form id="subscribe-form" class="form" action="" method="post">
    2024                <div class="btn-group">
     
    183187                </div>
    184188                </form>
     189                <?php } ?>
    185190            </li>
    186191        </ul>
  • pushpress-integration/trunk/pushpress.php

    r1404915 r1453043  
    22/**
    33 * @package WP-PushPress
    4  * @version 1.5.1
     4 * @version 1.5.2
    55 */
    66/*
     
    99Description: Easily integrate your workouts, calendar, products, membership plans, events and more with your Wordpress blog!  This plugin is a free add-on for existing PushPress clients.  See https://pushpress.com for more info.
    1010Author: PushPress, Inc
    11 Version: 1.5.1
     11Version: 1.5.2
    1212Author URI: https://pushpress.com
    1313*/
    1414define('PUSHPRESS_DEV', FALSE);
    15 define( 'PP_PLUGIN_VERSION', '1.5.1');
     15define( 'PP_PLUGIN_VERSION', '1.5.2');
    1616define( 'PUSHPRESS_ERROR_REPORT', 0 );
    1717define( 'PUSHPRESS_BUTTON_CLASS',  'pushpress-button-class-' . rand(0, 10000));
     
    400400                    $params['lead_message'] = $form['lead_message'];
    401401                    $params['objective'] = $form['objective'];
     402                    $params['lead_source'] = "Wordpress Plugin";
    402403                    $params['referred_by_id'] = $form['referred_by_id'];
    403404                    $params['referred_by_user_id'] = $form['referred_by_user_id'];
     
    440441                        Wp_Pushpress_Messages::$leadSubmitSuccess = true;
    441442
     443                        $_POST['form_submitted'] = true;
     444
    442445
    443446                    }catch (Exception $e){
     
    461464                        exit;
    462465                    }
     466                   
    463467                }
    464468               
  • pushpress-integration/trunk/readme.txt

    r1404915 r1453043  
    9696= 1.5.1 =
    9797Fixed bug on lead form: Was showing lead types when toggled to off.
     98
     99= 1.5.2 =
     100Removed the lead form after submitting.
     101Added proper source tracking to lead form. (now shows as Wordpress Plugin as the lead source)
  • pushpress-integration/trunk/templates/frontend/shortcode_leads.php

    r1404915 r1453043  
    77}
    88</style>
     9
     10
    911    <div class="wp-pushpress">
    1012        <ul class="wp-pushpress-list">
     
    1719                <p class="lead-text"><?php echo $leads['lead_page_description'];?></p>
    1820                <?php Wp_Pushpress_Messages::get_messages();?>
     21
     22                <?php if (!isset($_POST['form_submitted'])) { ?>
    1923                <form id="subscribe-form" class="form" action="" method="post">
    2024                <div class="btn-group">
     
    183187                </div>
    184188                </form>
     189                <?php } ?>
    185190            </li>
    186191        </ul>
Note: See TracChangeset for help on using the changeset viewer.