Plugin Directory

Changeset 176805


Ignore:
Timestamp:
11/25/2009 02:24:31 AM (16 years ago)
Author:
GKauten
Message:
 
Location:
aweber-registration-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aweber-registration-integration/trunk/aweber-registration-integration.php

    r174440 r176805  
    44Plugin URI: http://www.gkauten.com/aweber-registration-integration
    55Description: Integrates the AWeber contact registration script into your WordPress registration process. Users are seamlessly added to your AWeber account during registration on your site, either by request or silently. If you do not yet have an AWeber account, you will need to <a href='http://www.aweber.com/?323919'>go here</a> and sign up for one.
    6 Version: 1.2.5
     6Version: 1.2.6
    77Author: GKauten
    88Author URI: http://www.gkauten.com
     
    5454    delete_option("awr_installed");
    5555    delete_option("awr_form_id");
    56     delete_option("awr_unit_name");
     56    delete_option("awr_list_name");
    5757    delete_option("awr_disabled");
    5858    delete_option("awr_opt_in");
     59   
     60    // v1.2.6 - Check for old awr_unit_name and remove
     61    if(get_awr_option("awr_unit_name") !== false) {
     62      delete_option("awr_unit_name");
     63    }
     64
    5965  }
    6066}
     
    7379      add_option("awr_form_id", "", "", true);
    7480    }
    75     if(get_awr_option("awr_unit_name") === false) {
    76       add_option("awr_unit_name", "", "", true);
     81    if(get_awr_option("awr_list_name") === false) {
     82      add_option("awr_list_name", "", "", true);
    7783    }
    7884    if(get_awr_option("awr_disabled") === false) {
     
    8389    }
    8490  }
     91 
     92  // v1.2.6 - Check for awr_unit_name and import to awr_list_name
     93  if(get_awr_option("awr_unit_name") != "" & get_awr_option("awr_list_name") == "") {
     94    update_option("awr_list_name", get_awr_option("awr_unit_name"));
     95  }
     96 
    8597  // Define Optin
    8698  $optin = false;
     
    109121    }
    110122     
    111     if(isset($_POST["awr_unit_name"]) && $_POST["awr_unit_name"] != "") {
    112       update_option("awr_unit_name", $_POST["awr_unit_name"]);
    113     } else {
    114       update_option("awr_unit_name", "");
     123    if(isset($_POST["awr_list_name"]) && $_POST["awr_list_name"] != "") {
     124      update_option("awr_list_name", $_POST["awr_list_name"]);
     125    } else {
     126      update_option("awr_list_name", "");
    115127    }
    116128     
     
    152164        </tr>
    153165        <tr>
    154           <td valign="top"><?php _e("Unit Name:", "aweber_registration"); ?></td>
    155           <td><input type="text" name="awr_unit_name" style="width: 250px;" value="<?php if (get_awr_option("awr_unit_name")) echo get_awr_option("awr_unit_name"); ?>" /><br /><i>(From HTML Code: name="unit")</i></td>
     166          <td valign="top"><?php _e("List Name:", "aweber_registration"); ?></td>
     167          <td><input type="text" name="awr_list_name" style="width: 250px;" value="<?php if (get_awr_option("awr_list_name")) echo get_awr_option("awr_list_name"); ?>" /><br /><i>(From HTML Code: name="listname")</i></td>
    156168        </tr>
    157169        <tr>
     
    258270  // Exit if AWeber Info is Absent
    259271  if(get_awr_option("awr_form_id") == "" || get_awr_option("awr_form_id") === false) return;
    260   if(get_awr_option("awr_unit_name") == "" || get_awr_option("awr_unit_name") === false) return;
     272  if(get_awr_option("awr_list_name") == "" || get_awr_option("awr_list_name") === false) return;
    261273 
    262274  // Check Opt-In
     
    275287      "meta_web_form_id" => get_awr_option("awr_form_id"),
    276288      "meta_split_id" => "",
    277       "unit" => get_awr_option("awr_unit_name"),
     289      "unit" => get_awr_option("awr_list_name"),
    278290      "redirect" => "http://www.aweber.com/form/thankyou_vo.html",
    279291      "meta_redirect_onlist" => "",
  • aweber-registration-integration/trunk/readme.txt

    r174440 r176805  
    55Requires at least: 2.8
    66Tested up to: 2.8.6
    7 Stable tag: 1.2.5
     7Stable tag: 1.2.6
    88
    99Integrates the AWeber contact registration script into your WordPress user registration process.
     
    28281. Activate the plugin through the 'Plugins' menu in WordPress
    29291. Visit the 'AWeber Integration' sub-menu under the 'Settings' menu in WordPress
    30 1. Enter the required information retrieved from your AWeber control panel. This information is found after clicking "Get HTML" for the form you wish to use, and then selecting the "Raw HTML Version".
    31 1. The plugin will now automatically integrate with the WordPress registration process unless your settings reflect otherwise.
     301. Enter the required information retrieved from your AWeber control panel. This information
     31is found after clicking 'Get HTML' for the form you wish to use, and then selecting the 'Raw
     32HTML Version'. Using the new form generator utility, at the end you will need to select 'I Will
     33Install My Form' to access the 'Raw HTML Version'.
     341. The plugin will now automatically integrate with the WordPress registration process unless
     35your settings reflect otherwise.
    3236
    3337== Frequently Asked Questions ==
     
    3539= Will the user automatically be registered with AWeber? =
    3640
    37 No. The user will still receive a confirmation email from AWeber confirming their intent to register for your mailings.
     41No. The user will still receive a confirmation email from AWeber confirming their intent to register
     42for your mailings.
    3843
    3944= If I deactivate the plugin will my settings remain? =
    4045
    41 No. Deactivating the plugin through the WordPress Plugin menu will trigger a built in 'clean-up' function that will uninstall the plugin.
    42 If you wish to turn off the plugin temporarily, you can use the built in setting found in the 'AWeber Integration' menu.
     46No. Deactivating the plugin through the WordPress Plugin menu will trigger a built in 'clean-up'
     47function that will uninstall the plugin. If you wish to turn off the plugin temporarily, you can
     48use the built in setting found in the 'AWeber Integration' menu.
    4349
    4450= Are the registered users shown on the Registered Users screen the same as in my AWeber account? =
    4551
    46 Probably not. The Registered Users section allows you to see which of your members elected to register with your AWeber account when they signed up with your website.
    47 However, since AWeber also sends a confirmation email before submitting the user's information, there is a chance they might not have signed up, thus creating an
    48 inconsistency between your AWeber control panel, and WordPress users screen. This feature is intended to give you an idea of how many users have elected to register
    49 without having to go to AWeber to find out.
     52Probably not. The Registered Users section allows you to see which of your members elected to
     53register with your AWeber account when they signed up with your website. However, since AWeber a
     54lso sends a confirmation email before submitting the user's information, there is a chance they
     55might not have signed up, thus creating an inconsistency between your AWeber control panel, and
     56WordPress users screen. This feature is intended to give you an idea of how many users have elected
     57to register without having to go to AWeber to find out.
    5058
    5159== Screenshots ==
     
    5462
    5563== Changelog ==
     64
     65= 1.2.6 =
     66* Updated to coincide with updates made to the HTML form code generated from the AWeber control panel.
    5667
    5768= 1.2.5 =
Note: See TracChangeset for help on using the changeset viewer.