=== Plugin Name ===

Contributors: rli
Plugin Name: PopupAlly
Plugin URI: http://popupally.com/
Donate link: http://popupally.com/
Tags: popups, free popups, lightbox, conversion, sign-up form, popup, exit-intent, aweber, email, full page popup, full screen pop, full screen popup, infusionsoft, madmimi, mailchimp,optin, optin popup,pop-up, popup, popup box, popup message, popup window, popups, unblockable, wordpress popup
Author URI: http://nathalielussier.com/
Author: Robin Li
Requires at least: 2.3
Tested up to: 4.5
Version: 1.5.2
Stable tag: 1.5.2
License: http://opensource.org/licenses/Artistic-2.0

PopupAlly allows you to create advanced popup signup forms in under 5 minutes without the need to deal with messy code.

== Description ==
If you're looking to grow your list, then PopupAlly is the no-fluff free WordPress popup plugin for you. With built-in advanced features this lightbox popup plugin allows you to build your list as people are about to exit your website. Exit-intent popups allow you to capture lost visitors and have been shown to increase conversion by over 300%. PopupAlly allows you to create advanced popup signup forms in under 5 minutes, even if you don't know code. PopupAlly's visual editor allows you to customize the look-and-feel of your popups with an instant preview, saving you lots of time.

> = Premium Support =
> The PopupAlly team does not provide support for the PopupAlly plugin on the WordPress.org forums. One-on-one email support is available to people who bought the [PopupAlly Pro plugin](http://ambitionally.com/popupally-pro?utm_source=wordpressdirectory&utm_medium=banner&utm_content=main&utm_campaign=popupallypro) only.
>
> We created the [premium version](http://ambitionally.com/upgrading-to-popupally-pro/?utm_source=wordpressdirectory&utm_medium=banner&utm_content=main&utm_campaign=popupallypro) with many extra features and an optimized interface, so it's even more intuitive and quick to design beautifully customized popups and multiple types of embedded opt-ins, too. It will be well worth of your investment!
>
> You should also check out our [free 30 Day List Building Challenge](http://30daylistbuildingchallenge.com) for tricks and tips to help you grow your list in addition to having great popups!

= Why You Should Consider Upgrading to PopupAlly Pro =
If you've been using our free PopupAlly plugin, then you already love the awesome exit intent functionality and the ability to create popups as well as embedded opt-ins... and you might be wondering what’s included in our premium version to justify the upgrade?

We have a full side by side comparison of the two versions [here](http://ambitionally.com/upgrading-to-popupally-pro/?utm_source=wordpressdirectory&utm_medium=banner&utm_content=main&utm_campaign=popupallypro).

On top of the incredibly flexible new design templates that allow you to customize your opt-ins to your heart's content... we've also included new ways to customize the user experience.

Now, you can include mini-surveys and also have unlimited opt-ins, more polite popups, and much more. [Click here to find out why you should consider the upgrade](http://ambitionally.com/upgrading-to-popupally-pro/?utm_source=wordpressdirectory&utm_medium=banner&utm_content=main&utm_campaign=popupallypro).

= PopupAlly Free WordPess Popup Plugin Is Compatible With =
Aweber, MailChimp, MadMimi, iContact, GetResponse, Infusionsoft, Ontraport, and any other email marketing systems that provides HTML opt-in code!

Check out the video tutorial on how to integrate MailChimp and AWeber with PopupAlly:
[youtube http://www.youtube.com/watch?v=q7xiX_BWTbU]

= Get PopupAlly Step by Step Tutorials =
This simple popup plugin is pretty intuitive, but we've also written [extensive step-by-step tutorials](http://ambitionally.com/popupally/tutorials/) to help you get up and running faster so you can get back to business.

With PopupAlly you can easily customize the look and feel of your lightbox popup, starting with the headline text, adding an image, and changing the colors to match your website's design. Then you decide if you want the popups to appear after a timed delay, or right before someone is about to leave your site. You also decide how often your popup should re-appear if someone closes it, so it doesn't annoy your visitors!

= Increase Your List More in 30 Days Or Less =
With the help of this free WordPress popup plugin you'll be well on your way to growing your list faster than ever before. But don't stop there, go ahead and join the [free 30 Day List Building Challenge](http://30daylistbuildingchallenge.com) and see what's possible when you start to apply these additional list building strategies. 

Download AmbitionAlly's free WordPress popup plugin and increase your optin subscriber rate today! 

== Installation ==

1. Activate the PopupAlly plugin
2. Customize the plugin settings through the PopupAlly menu group
3. Follow the rest of the [step-by-step tutorials here](http://ambitionally.com/popupally/tutorials/)
4. Make sure to integrate PopupAlly with an email marketing system so you do not lose any subscriber information! [MailChimp](http://nathalielussier.com/mailchimp) and [AWeber](http://nathalielussier.com/aweber) are two great options. Need more choices? You can find our recommended list of systems [here](http://nathalielussier.com/online-business-resources).

== Screenshots ==

1. PopupAlly Default popup preview
2. Customize the popup through the visual editor and know exact what it will look like instantly
3. Don't know code? Don't worry! Just paste in the copy and we will take care of the rest!
4. Control exactly when and where the popup will appear!

== Changelog ==

= 1.5.2 =
* Fix Javascript issue where opt-in form code was not parsed in Style Settings.

= 1.5.1 =
* Fix issue where ConvertKit form method is not used in popup generation.

= 1.5.0 =
* Update tested version to 4.4.2.

= 1.4.9 =
* Cosmetic update to interface.

= 1.4.8 =
* Update tested version to 4.3.1.
* Add Text Domain to header.

= 1.4.7 =
* Update tested version to 4.2.3.
* Add setting check to prevent manual database value change.

= 1.4.6 =
* Update tested version to 4.2.2.
* Add jQuery to script dependency.
* Improve style setting customization interface.

= 1.4.5 =
* Update tested version to 4.1.2.

= 1.4.4 =
* Fix bug in the Tried-and-true template that causes incorrect height when embedded in post content.

= 1.4.3 =
* Update tested version.

= 1.4.2 =
* Update "Express Yourself" popup CSS so that the layout is not affected by parent container's text-align settings.
* Update documentation to include tutorial video.

= 1.4.1 =
* Update embedded popup CSS so that the layout is not affected by "float" elements.

= 1.4.0 =
* Tested with WordPress 4.1.
* Change cookie value to "disable" avoid being mistaken for malicious value.

= 1.3.9 =
* Update PopupAlly description.

= 1.3.8 =
* Test and verify that PopupAlly is compatible with WordPress 4.0.

= 1.3.7 =
* Fix bug where popup does not close on iPhone when clicking on background

= 1.3.6 =
* Update popup script so it is compatible with more sites.

= 1.3.5 =
* Fix issue for preview display error when the opt-in form has an input field with no name.
* Update FAQ section

= 1.3.4 =
* Update "Tested-up-to" version to 3.9.2

= 1.3.3 =
* Remove unused class to avoid conflict

= 1.3.2 =
* Add id selector to CSS template to prevent being overwritten by theme styling

= 1.3.1 =
* Change close (x) button image path to be relative to the WP install path. This fixes the button not showing up issue for site installed in a subfolder
* Change close button from <a> to <div> to prevent it being made ineffective by (poorly written) theme Javascripts

= 1.3.0 =
* Add advanced setting that controls how many pages/posts to load in Display settings. This fixes the issue where Display Settings fails to load due to time out for sites with a lot of (10k+) pages/posts

= 1.2.9 =
* Fix issue where location for subscribe button cannot be saved for 'Express yourself' template

= 1.2.8 =
* Add more specific selector to input css to avoid conflicts
* Replace close button with image for better display on Mac

= 1.2.7 =
* Fix mismatch between preview and embedded view for "express-yourself" template

= 1.2.6 =
* Remove the word 'color' from the color input control to avoid conflict with other scripts on the backend

= 1.2.5 =
* Fix default template introduction text row height issue for mobile display.

= 1.2.4 =
* Fix thank you page setup link

= 1.2.3 =
* Fix responsive style for non-square logo image

= 1.2.2 =
* Fix responsive style for embedded sign-up forms

= 1.2.1 =
* Fix readme version number

= 1.2.0 =
* Add special pages to the popup display settings.
* Add embedded display option
* Add template selection to popup style settings.
* Add "Express yourself" style template.

= 1.1.8 =
* Fix issue where only 5 posts are shown in Display Setting selections

= 1.1.7 =
* Update readme file

= 1.1.6 =
* Specifically define background img for submit button to be none.

= 1.1.5 =
* Remove second parameter from json_encode so the function works with PHP pre-5.3

= 1.1.4 =
* Use 'bind' instead of 'on' for event handling if the site is using an earlier version of jQuery.

= 1.1.3 =
* Remove all 'fancybox' string to avoid conflict.

= 1.1.2 =
* Change deprecated jQuery handler live() to on()

= 1.1.1 =
* Define submit button height to be auto.

= 1.1.0 =
* Upgrade interface for better page/post selection.
* Add unique postfix to CSS class to avoid conflict.
    * Fix input field display error in Firefox when input[type="text"] has height defined.
    * Fix input field stretches outside border when class 'content' has width defined.
* Add non-inline mode for themes that do not implement the wp_head function.
* Add PHP version check and provide warning if PHP version is less than 5.3

= 1.0.4 =
* Do not generate hidden fields if none exists. This could be causing errors for more strict php implementations.

= 1.0.3 =
* Change field name storage structure to allow for '[' and ']' in field names.

= 1.0.2 =
* Update version number in the main plugin file.

= 1.0.1 =
* Fix sign-up form field selection issue.

= 1.0 =
* Initial release.

== Upgrade Notice ==

= 1.5.2 =
* Fix Javascript issue where opt-in form code was not parsed in Style Settings. No action is required after update.

= 1.5.1 =
* Fix issue where ConvertKit form method is not used in popup generation. No action is required after update.

= 1.5.0 =
* Update tested version to 4.4.2. No action is required after update.

= 1.4.9 =
* Cosmetic update to interface. No action is required after update.

= 1.4.8 =
* Update tested version to 4.3.1. No action is required after update.

= 1.4.7 =
* Update tested version to 4.2.3. Add error checking to setting values. No action is required after update.

= 1.4.6 =
* Update tested version to 4.2.2. Cosmetic changes to interface. No action is required after update.

= 1.4.5 =
* Update tested version to 4.1.2. No action is required after update.

= 1.4.4 =
* Fix bug in the Tried-and-true template that causes incorrect height when embedded in post content. No action is required after update.

= 1.4.3 =
* Update tested version. No action is required after update.

= 1.4.2 =
* Update "Express Yourself" popup CSS so that the layout is not affected by parent container's text-align settings. No action is required after update.

= 1.4.1 =
* Update embedded popup CSS so that the layout is not affected by "float" elements. No action is required after update.

= 1.4.0 =
* Change cookie value to "disable" avoid being mistaken for malicious value. No action is required after update.

= 1.3.9 =
* Update PopupAlly description. No action is required after update.

= 1.3.8 =
* Test and verify that PopupAlly is compatible with WordPress 4.0. No action is required after update.

= 1.3.7 =
* Fix bug where popup does not close on iPhone when clicking on background. No action is required after update.

= 1.3.6 =
* Update popup script so it is compatible with more sites. No action is required after update.

= 1.3.5 =
* Fix issue for preview display error when the opt-in form has an input field with no name. No action is required after update.

= 1.3.4 =
* Update "Tested-up-to" version to 3.9.2. No action is required after update.

= 1.3.3 =
* Remove unused class to avoid conflict. No action is required after update.

= 1.3.2 =
* Add id selector to CSS template to prevent being overwritten by theme styling. Please re-save 'Style Settings' if 'Do NOT use inline Javascript/CSS' is checked under advanced settings.

= 1.3.1 =
* Bug fixes for the close button. This fix affects very few sites (sites that are installed in a subdirectory, sites with themes that prevented the close button from being clicked). No action is required after update.

= 1.3.0 =
* Added customization option to Advanced Settings. This fixes the issue where Display Settings fails to load due to time out for sites with a lot of (10k+) pages/posts

= 1.2.9 =
* Bug fix in style customization. Please review 'Express Yourself' template setting if there was an issue with the subscribe button location.

= 1.2.8 =
* Cosmetic changes to front end display. No action is required after update.

= 1.2.7 =
* Fix mismatch between preview and embedded view for "express-yourself" template. No action is required after update.

= 1.2.6 =
* Remove the word 'color' from the color input control to avoid conflict with other scripts on the backend.  No action is required after update.

= 1.2.5 =
* Fix default template introduction text row height issue for mobile display. No action is required after update.

= 1.2.4 =
* Fix thank you page setup link. No action is required after update.

= 1.2.3 =
* Fix responsive style for non-square logo image. No action is required after update.

= 1.2.2 =
* Fix responsive style for embedded sign-up forms. No action is required after update. Please re-save 'Style Settings' if 'Do NOT use inline Javascript/CSS' is checked under advanced settings.

= 1.2.0 =
* Added display options and style templates. The changes do not affect existing set up.

= 1.1.8 =
* Fix issue where only 5 posts are shown in Display Setting selections. No action is required after update.

= 1.1.7 =
* Update readme file

= 1.1.6 =
* Only affect sites with css background-image defined for input[type="submit"]. No action is required after update.

= 1.1.5 =
* Only affect sites with PHP version lower than 5.3. No action is required after update.

= 1.1.4 =
* Only affect sites with pre-1.7 jQuery. No action is required after update.

= 1.1.3 =
* Remove all 'fancybox' string to avoid conflict. Please re-save 'Style Settings' if 'Do NOT use inline Javascript/CSS' is checked under advanced settings.

= 1.1.2 =
* A minor backend fix that corrects Javascript error. No manual update is required and it does not affect front-end display.

= 1.1.1 =
* Define submit button height to be auto.

= 1.1.0 =
* Improves page/post selection on Display Setting. Fixes minor style issues when conflict with existing CSS. Add non-inline mode for themes that do not implement the wp_head function.

= 1.0.4 =
* Do not generate hidden fields if none exists. This update has no impact if you are not currently seeing errors.

= 1.0.3 =
Affects form parsing for Madmimi. Resave 'Style Settings' after upgrade. Upgrade immediately.

= 1.0.1 =
* Fix sign-up form field display issue. Upgrade immediately.

= 1.0 =
* Initial release.

== Frequently Asked Questions ==

= How many popups can I have? =
You can configure 2 popups without upgrading to the Pro version

= Where do the subscriber information go after they click the submit button? =
You need an email marketing system before you can use PopupAlly. PopupAlly helps you create sign up forms that collects names and emails, which you can then send newsletter to on a regular basis. PopupAlly does not send email directly to the subscribers.

[MailChimp](http://nathalielussier.com/mailchimp) and [AWeber](http://nathalielussier.com/aweber) are two great options. Here is a tutorial video to help you integrate [MailChimp](http://nathalielussier.com/mailchimp) / [AWeber](http://nathalielussier.com/aweber) with PopupAlly.
[youtube http://www.youtube.com/watch?v=q7xiX_BWTbU]

= Can I setup the popup for every post and page on my site? =
Absolutely! You can enable the popup for every post and page with 1 click on the display settings!

= Do I need to know how to modify HTML/CSS code? =
No programming experience required! You can see all the customizations instantly in the Visual Editor.

= How do I put in my own sign up form? =
You just need to copy-and-paste in the HTML code from your CRM/list platform, and we will do the rest! No need to get your hands dirty with code.

= The popup was working, but it is not longer showing up even though I did not change anything! =
This is most likely due to the "Show popup every [x] days" option in Display Settings. Normally, you do not want to popup to show up every time a visitor comes to your website, so this option will stop the popup from showing up for [x] number of days. However, this makes testing difficult. The good news is that there are many ways to get around it. Please see the [tutorial](http://ambitionally.com/popupally/tutorials/#testing-private) for more details!

= I have done everything according to the tutorial, but the popup is not showing up! =
There are 3 main causes for this:
* With "Show for all pages?" checked in Display Settings, please make sure you do NOT check "All Pages" and "All Posts" under "Except for these posts/pages"
* Javascript errors will prevent popups from showing. With the page loaded, you can open the Developer View in Chrome and look for the red error sign. The error is usually caused by another plugin, so you can disable the active plugins one-by-one to see if that helps.
* It could be a theme issue. The [Advanced Settings](http://ambitionally.com/popupally/tutorials/#testing-theme) might help. If not, please contact your developer and make sure your theme implements the standard WordPress hooks (wp_head and wp_footer)

= Where do the sign-ups go? =
You need an email marketing system before you can use PopupAlly. PopupAlly helps you create sign up forms that collects names and emails, which you can then send newsletter to on a regular basis. PopupAlly does not send email directly to the subscribers.
You can check out the systems we recommend in the Email Marketing section on our [Resource Page](http://nathalielussier.com/online-business-resources)
Once you have picked an email marketing system, you can integrate it with PopupAlly in the Style Settings. Please take a look at the [tutorial](http://ambitionally.com/popupally/tutorials/#configure-style-integration) for more in-depth explanations