=== Constant Contact for Wordpress === Contributors: katzwebdesign, jamesbenson Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=Constant%20Contact%20API%20Plugin&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8 Tags: mail, email, newsletter, Constant Contact, plugin, sidebar, widget, mailing list, API, email marketing, newsletters, form, forms, event, events, event marketing Requires at least: 2.9 Tested up to: 3.2 Stable tag: 2.3.3 Integrate Constant Contact into your website with this full-featured plugin. == Description == > __This plugin requires a Constant Contact account.__
*Don't have an account?* Constant Contact offers a free 60 day trial, so sign up and give this plugin a whirl!
The link above is an affiliate link that supports development of this plugin.

Fully integrate Constant Contact with your WordPress website.

The Constant Contact for Wordpress plugin is the best email marketing plugin for WordPress: integrate your website seamlessly with your Constant Contact account. You can place a signup checkbox or list selection on your register page or use the signup widget anywhere in your website sidebar or PHP templates.

Now featuring Event Marketing!

Version 2.1 of the plugin introduces Constant Contact Event Marketing functionality by allowing you to track events, registration, and registrants using the plugin. Simply navigate to Constant Contact > Events. Manage your events from inside WordPress!

Built-in Form Designer

The Constant Contact Form Designer (CCFD) gives the Constant Contact API a form generation tool. The Form Designer allows users to generate unlimited number of unique forms and gives a wide variety of options that can be configured, including what fields to show in the signup form. There and tons of design options, including custom background images, border width, colors, fonts and much more.

Constant Analytics: In-Depth Google Analytics

View your Google Analytics data in your dashboard with Constant Analytics. View traffic by source, geography, and popularity. See the impact of blog posts and email campaigns with the great graphing tools.

Plugin features:

* Add signup checkbox and list selection to your register page and update profile page * Add / edit contact lists without visiting constantcontact.com * Includes a powerful form designer * Built-in Google Analytics visualization * View your events registration details and get updated with a dashboard widget * Show contact list selection on register page with ability to exclude certain lists * Automatically subscribe your user to one or more contact lists on the register page * Customize the register page signup box (and list selection) title and description * Add / edit users from your constant contact account * Add a signup widget to your sidebar or anywhere in your template

Plugin Support

To obtain support please use this link to the [wordpress forums](http://wordpress.org/tags/constant-contact-api).

If you like the plugin...

If you use the plugin and find it useful please make sure to come back and vote so other users know it works. == Installation == To install the plugin follow the steps below: 1. Upload `constant-contact-api` to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Activate the Constant Contact API: Form Designer plugin (optional) 4. Click the new main menu item called "Constant Contact". 5. You'll need to enter your username and password on the settings page then save the page to see your contact lists. 6. Now Configure the "Register Page Settings" to get the checkbox or list selection displayed on the user register page. ### Using the Form Designer 1. Install this plugin. 2. Activate the Constant Contact API: Form Designer plugin 3. Configure the settings on the form designer by updating the settings in the boxes on the left. 4. Next to "Form Name" where it says "Enter form name here," enter your form name. 5. Once you have configured and named your form, click Save Form. 6. In the Appearance menu of the administration, click the Widgets link. 7. Drag the widget named "Constant Contact Form Designer" into the sidebar. 8. Configure the settings shown, then click the "Save" button at the bottom of the widget form. 9. You will see the signup widget you created on your website! 10. To edit the form, return the the Form Designer page (from Step 3) and click on the form tab with the name of the form you would like to edit. Edit the form, then click Update Form. The form will show as updated on your website. == Changelog == = 2.3.2 = * Fixed major issues with `[constantcontactapi]` shortcode not parsing passed attributes. * Fixed bug where submitting a form with empty email field showed success * Added a check for valid email domain name. This will prevent some fake email addresses (such as asdasdsa@adsamlcsac.com) * Added a shortcode hint in the Form Designer * When Form Designer forms are submitted and errors exist, submitted data is now filled into the forms. Users won't need to fill out the form again. * Removed ability to delete users & lists, since it doesn't work for some reason * Fixed some Form Designer bugs - Now Form Field checkboxes stay checked - When saving a form, the error message no longer displays - Submit button text now updates in the form preview. - Added a background & border to the Form Slide so that it's obvious why clicking doesn't work when Slide is turned on. - If a form exists, it is selected to edit by default (instead of Create New Form). This should help prevent confusion and duplicate forms. * Added check for configuration to Constant Analytics dashboard * Technical - Wrapped the plugin startup actions & hooks in a `plugins_loaded` hook - Removed config.php file; wasn't necessary - Removed redundant & unused code from Form Designer = 2.3.1 = * Updated Constant Analytics Javascript for WordPress 3.2 compatibility * Fixed some not-so-minor issues * Fixed issue with legacy widget where hidden lists were not being added to the form properly * Fixed `Fatal error: Call to undefined method WP_Http::_getTransport() in .../constant-contact-api/constant-analytics.php on line 624` (issue 604275) * Squashed minor bugs, notices and errors * Removed word "Array" some users are seeing at the top of their Form Designer forms (issue 597622) * Fixed `Invalid argument supplied for foreach() .../constant-contact-api/functions.php on line 844` notice (issue 596160) * Fixed `Undefined index: lists`, `exclude_lists` in legacy widget * Fixed issue where if shown contact lists were the same as hidden lists, an empty select input or list may be shown. * Fixed `Notice: rss.php is deprecated since version 3.0!` notice = 2.3 = * Added Contacts capability - Add new contacts from inside WordPress - View and edit all your contacts - Edit contact information, subscribed lists, etc. - View all the contacts in a list * Added Constant Analytics, a great Google Analytics statistics tool that helps you visualize your blog traffic as well as blog posts and email campaigns in the same chart. - Switch between Google Analytics profiles & accounts * New feature: hover over the Constant Contact logo to easily switch between plugin pages. * Improved plugin load time on the administration * Update should fix issue where updating users from the User administration page doesn't work properly (issue 566686) * Added a hook for internationalization of plugin (multiple language support) * Fixed issue where updating username & password settings may not change account except when closing browser window. This bug also affected if users de-activated plugin with the `Remove all data stored in database` selected. If users re-activated the plugin, the plugin would still seem to be configured properly because this information was stored in the browser session. = 2.2 = * Added an Events widget and shortcode * Updated the readme to have Form Designer shortcode instructions (see FAQ) = 2.1.4 = * Converted the plugin to using the WordPress HTTP API and `wp_remote_request()`. This should fix issues some users have been having with setting up the plugin (such as issue #565047) * Fixed issue where if the Constant Contact username & password settings were incorrect, then saved again (and still incorrect), there would be an error `Warning: Cannot modify header information - headers already sent by...` * Improved error messages so you'll know whether Constant Contact is having an issue of if it's a settings configuration issue. = 2.1.3 = * Fixed issues with legacy widget not updating "Show First Name" and "Show Last Name" settings (issue #548028) * Improved legacy widget to show "More info" content and reflect changes to "Show List Selection?" checkbox setting * Fixed "Invalid Argument" Line 183 error (issue #547609) * Fixed issue with forms not redirecting upon success (issue #547609) = 2.1.2 = * Form Designer * Determined that issues with Form Designer not displaying are caused by hosting configuration issues. Contact your web host and request that they "whitelist your domain for ModSecurity." View the FAQ section for more information. * Improved error notices for Form Designer when hosting issues are detected. * Improved the form generator javascript * Legacy (non-Form Designer) widget * Improved speed * Fixed issue with "Please select at least 1 list" when Show List Selection was not checked * Restored functionality: incomplete form submissions once again fill in submitted data * WP Registration form * Added support for Multisite registration forms * Vastly improved registration form functionality, including formatting of description, labels, and more. * Fixed bug #432029; "subscribe users by default" now functions properly when using the single opt-in checkbox * Added multiple filters to modify registration form, including `constant_contact_register_form`; you can now modify entire output of plugin on the registration page by using `add_filter('constant_contact_register_form', 'your_function_to_modify');`. Learn more about `add_filter` on WordPress.org. * Events - restored Events functionality that got messed up in 2.1.1. = 2.1.1 = * Improved Events page layout by adding Event Status filters and updating styles * Added Events dashboard widget showing active & draft events = 2.1 = * Events Marketing page now available in the administration (under Constant Contact > Events) * View event and registrant details * Improves speed of administration by caching Activities, Campaigns, Lists, and Events = 2.0.1 = * Fixed major bug where username and password would be reset when saving settings on the plugin's Registration options page. (issue #532274) * Restored options to show or hide first and last names in Legacy widget (issue #532932) * Fixed multiple Legacy widget bugs * Remedied bug where registration form description wasn't displaying (issue #513878) * Improved blog registration form HTML * Improved Admin Profile lists HTML = 2.0 = * Major upgrade - make sure to back up your database. If you already have installed the plugin, this upgrade may not transfer your current settings. * Went through each page of the admin and made the layout and code better, and reworded the administration to make more sense * Fixed Import, Export, Activity * Converted the widget settings to be in the widget, not on a page. * New Form Designer - Create awesome forms with tons of configuration options. This is really cool. Requires a decent browser for the admin. Internet Explorer older than 2009 won't work. Please leave feedback with issues - this feature is in Alpha. * Drag and drop inputs with live-updating form preview * Create custom gradients or choose from patterns or URL-based backgrounds * So, so much more. * Lists will now be updated (bug #423429) * Added a sample import CSV file in the plugin folder, named `email-import-sample.txt` * Improved load time of the plugin & widget = 1.1.2 = * Minor bug fix, fixes `in_array(): Wrong datatype for second argument` error reported here. * Added menu image for plugin, and forced plugin name to be on one line. Menu looks nicer now. * If plugin is not configured, the other menu items (Activities, Import, Export, Lists) will not be displayed. Previously, they were displayed, but the pages were empty. = 1.1.1 = * Files updated: constant-contact-api-widget.php, readme.txt, /admin/options.php * Short story: __Improved speed.__
Long story: Fixes major potential bug - if you have noticed your site takes a long time to start loading, it may be because the plugin had been trying to access the Constant Contact API for the list values twice per page load. This structure has been totally revamped, and now the Constant Contact API is only accessed once upon changing settings. This release improves load time considerably by storing that information in the WordPress database. Added `cc_widget_lists_array` option to store Constant Contact lists, so that the API doesn't need to be called every page load. Now, API is only called when the plugin settings are saved. * Wrapped the List Selection Title for the multi-select form element in a `label` tag, and removed line break. = 1.1.0.1 = * Removed line break (`
`) before widget form to improve display of widget signup form * Fixed widget description and title display issues by renaming variables from `$title` to `$widget_title` and `$description` to `$widget_description`. * Converted some settings fields to `