Changeset 176805
- Timestamp:
- 11/25/2009 02:24:31 AM (16 years ago)
- Location:
- aweber-registration-integration/trunk
- Files:
-
- 2 edited
-
aweber-registration-integration.php (modified) (8 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aweber-registration-integration/trunk/aweber-registration-integration.php
r174440 r176805 4 4 Plugin URI: http://www.gkauten.com/aweber-registration-integration 5 5 Description: 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. 56 Version: 1.2.6 7 7 Author: GKauten 8 8 Author URI: http://www.gkauten.com … … 54 54 delete_option("awr_installed"); 55 55 delete_option("awr_form_id"); 56 delete_option("awr_ unit_name");56 delete_option("awr_list_name"); 57 57 delete_option("awr_disabled"); 58 58 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 59 65 } 60 66 } … … 73 79 add_option("awr_form_id", "", "", true); 74 80 } 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); 77 83 } 78 84 if(get_awr_option("awr_disabled") === false) { … … 83 89 } 84 90 } 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 85 97 // Define Optin 86 98 $optin = false; … … 109 121 } 110 122 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", ""); 115 127 } 116 128 … … 152 164 </tr> 153 165 <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> 156 168 </tr> 157 169 <tr> … … 258 270 // Exit if AWeber Info is Absent 259 271 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; 261 273 262 274 // Check Opt-In … … 275 287 "meta_web_form_id" => get_awr_option("awr_form_id"), 276 288 "meta_split_id" => "", 277 "unit" => get_awr_option("awr_ unit_name"),289 "unit" => get_awr_option("awr_list_name"), 278 290 "redirect" => "http://www.aweber.com/form/thankyou_vo.html", 279 291 "meta_redirect_onlist" => "", -
aweber-registration-integration/trunk/readme.txt
r174440 r176805 5 5 Requires at least: 2.8 6 6 Tested up to: 2.8.6 7 Stable tag: 1.2. 57 Stable tag: 1.2.6 8 8 9 9 Integrates the AWeber contact registration script into your WordPress user registration process. … … 28 28 1. Activate the plugin through the 'Plugins' menu in WordPress 29 29 1. 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. 30 1. Enter the required information retrieved from your AWeber control panel. This information 31 is found after clicking 'Get HTML' for the form you wish to use, and then selecting the 'Raw 32 HTML Version'. Using the new form generator utility, at the end you will need to select 'I Will 33 Install My Form' to access the 'Raw HTML Version'. 34 1. The plugin will now automatically integrate with the WordPress registration process unless 35 your settings reflect otherwise. 32 36 33 37 == Frequently Asked Questions == … … 35 39 = Will the user automatically be registered with AWeber? = 36 40 37 No. The user will still receive a confirmation email from AWeber confirming their intent to register for your mailings. 41 No. The user will still receive a confirmation email from AWeber confirming their intent to register 42 for your mailings. 38 43 39 44 = If I deactivate the plugin will my settings remain? = 40 45 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. 46 No. Deactivating the plugin through the WordPress Plugin menu will trigger a built in 'clean-up' 47 function that will uninstall the plugin. If you wish to turn off the plugin temporarily, you can 48 use the built in setting found in the 'AWeber Integration' menu. 43 49 44 50 = Are the registered users shown on the Registered Users screen the same as in my AWeber account? = 45 51 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. 52 Probably not. The Registered Users section allows you to see which of your members elected to 53 register with your AWeber account when they signed up with your website. However, since AWeber a 54 lso sends a confirmation email before submitting the user's information, there is a chance they 55 might not have signed up, thus creating an inconsistency between your AWeber control panel, and 56 WordPress users screen. This feature is intended to give you an idea of how many users have elected 57 to register without having to go to AWeber to find out. 50 58 51 59 == Screenshots == … … 54 62 55 63 == Changelog == 64 65 = 1.2.6 = 66 * Updated to coincide with updates made to the HTML form code generated from the AWeber control panel. 56 67 57 68 = 1.2.5 =
Note: See TracChangeset
for help on using the changeset viewer.