=== Ninja Forms AWeber ===
Contributors: helgatheviking
Tags: AWeber, forms, subscribe, newsletter
Requires at least: 4.7.0
Tested up to: 4.9.5
Stable tag: 3.1.1
Plugin URL: http://ninjaforms.com/extensions/aweber
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Use Ninja Forms to quickly create flexible newsletter signup forms for your AWeber email marketing account.

== Installation ==

1. Upload the `plugin` folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress

== Usage ==

1. Go to Forms->AWeber
1. Go to: https://auth.aweber.com/1.0/oauth/authorize_app/81dfde27 to generate your AWeber authorization code and paste this into the text input. Click "Make Connection". You are now connected to AWeber.
1. Create or modify a form. Add an "AWeber Signup" field to your form. 
1. Select the "DIsplay Mode" for this form field: "Users must opt-in" is a checkbox that is unchecked by default. "Users must opt-out" is a checkbox that is checked by default. And "Hidden" is a hidden input.
1. Select the AWeber mailing list that you wish to subscribe this user to. You may use multiple "AWeber Signup" fields in a single form.
1. In your form fields you need to have at least an email field and if you wish to capture the user's name you need to use one of Ninja's forms "name" fields (first, last or both).
1. That's it! 

== Frequently Asked Questions ==

= How do I collect custom fields? =

First you must create your list's custom field from within your AWeber account.

Then when you create your form field you will see an input called "AWeber Custom Field Name". Enter the exact name (Spelling/capitalization is important!) in this field. The custom field will be collected. 

Note: If the value you enter doesn't match the custom field you've defined in AWeber the user will not be subscribed.

== Changelog ==

= 3.1.1 - 2018/06/05 =
* Fix: Version numbers caused update loop

= 3.1.0 - 2018/05/18 =
* NEW: AWeber tags support

= 3.0.2 - 2016/09/06 =
* Updating to v3.0.2 to fix compatibility issues

= 3.0.1 - 2016/05/27 =
* Fixed spelling error in subscriber error message of deprecated version
* In NF2.9 version, protect against "subscriber already subscribed" if field settings list is still being used

= 3.0.0 - 2016/03/27 =
* Updated with Ninja Forms v3.x compatibility
* Deprecated Ninja Forms v2.9.x compatible code

= 1.3.1 - 2015/07/25 =
*Change:* Convert AWeber error messages into more friendly strings
*Change:* `ninja_forms_aweber_subscribe_error_message` filter parameters to `$new_message, $error_code, $error_message, $subscriber, $list_id`
*Add:* `ninja_forms_aweber_show_errors` filter to surpress errors of certain types or for certain forms so the form will still be submitted
*Add:* `NF_AWEBER_DEBUG` constant for reverting back to AWeber messages

= 1.3.0 - 2015/06/11 = 
*Change:* Use transient to store AWeber lists to reduce API calls

= 1.2.1 - 2015/06/02 = 
*Fix:* First names not sent to AWeber
*Fix:* Better compatibility with Ninja Forms Modal

= 1.2.0 - 2015/04/24 = 
*Changes:* Re-structure plugin as class
*Changes:* Add an opt-in a field type for optional subscribing
*Changes:* Support adding to multiple lists via single form

= 1.1.4 - 2015/03/26 = 
*Bugs:* Mismatching version numbers

= 1.1.3 - 2014/09/20 = 
*Bugs:* Only send custom fields parameter if there are custom fields

= 1.1.2 - 2013/03/07 =
*Changes:* Enable AWeber custom field on all processing field types

= 1.1.1 - 2013/02/24 =
* Move changelog to readme.txt

= 1.1 - 2013/02/20 =
* Add an IP Address field
*Changes:* Add support for AWeber custom fields
 - Be careful with custom fields. The value you enter in NF must exactly match the custom field name you set up for your list in AWeber. If not, or if the field doesn't exist in AWeber, you risk the user not being successfully added.
* halt form submit if AWeber can't add subscriber, show AWeber's returned error

= 1.0.2 - 2013/09/25 =
*Changes:* use new NF license/update class

= 1.0.1 - 2013/08/28 =
*Changes:* use get_user_info() method

= 1.0.0 - 2012/08/27 =
 * First Release
