Plugin info

Total downloads: 9,667
Active installs: 80
Total reviews: 18
Average rating: 4.3
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/25/2012 (4968 days ago)
Added to WordPress: 5/17/2012 (13 years old)
Minimum WordPress version: 3.0.0
Tested up to WordPress version: 3.3.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4968 days ago • 18 reviews

24/100

Is EMC2 Popup Disclaimer abandoned?

Possibly abandoned (last update 4968 days ago).

Compatibility

Requires WordPress: 3.0.0
Tested up to: 3.3.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Terms of Service & Privacy Policy Generator
Rating 0.0/5 (0 reviews)Active installs 800
WC Korkmaz Contract – Contracts for WooCommerce
Rating 5.0/5 (22 reviews)Active installs 600
Terms of Use
Rating 5.0/5 (2 reviews)Active installs 400
Legull
Rating 5.0/5 (9 reviews)Active installs 300
Registration Agreement Checkboxes and/or RODO Agreements
Rating 0.0/5 (0 reviews)Active installs 60
Accept Button For Membership 2
Rating 0.0/5 (0 reviews)Active installs 0

Description

EMC2 Popup Disclaimer uses Fancybox (http://fancybox.net) to display the popup, and jQuery-cookie (https://github.com/carhartl/jquery-cookie) to detect user session. Creates a cookie named “emc2pdc” that can be viewed with regular developer tools.

Easy to use! By default the script is added to the wp_footer action and will work quietly. You can also force the display on pages via shortcode or function call:
Shortcode: [emc2pdc id="42"]
-or-
Function:

Check the demo at http://popup.emc2innovation.com !

To Do list:

  • Add No-JS fallback support
  • Create a selection of button themes
  • Add support for different lightbox types
  • Improve handling, add PHP cookie support

Known bugs:

  • Recursive post shortcode call results in chaos

Configuration

EMC2 Popup Disclaimer will work straight out of the box. There’s a few options available from within WordPress, and future releases will feature themeable options.

Settings can be found in these locations:

  • /wp-admin/options-general.php?page=emc2-popup-disclaimer/emc2pdc-admin.php (Default settings)
  • /wp-content/plugins/emc2-popup-disclaimer/js/emc2pdc.js (Fancybox, jQuery-cookie settings)

The settings page is straightforward except for perhaps the “Restrict operation to directory:” setting. This is the operational directory of the jQuery cookie plugin – default is ‘/’, which is your entire site. To specify operation for a certain directory, type it here like ‘/store’. More jQuery-cookie settings can be found at https://github.com/carhartl/jquery-cookie.

Things of note:

  • Specify post ID using shortcode is optional ? if blank, it will use ID# from settings
  • Shortcode / function call will override wp_footer action
  • Debug mode will output visible settings on every included page
  • Setting an ID equal to the page you?re calling from results in mass chaos! If you set the shortcode [ emc2pdc id=”10″ ] on post ID 10 it seems to freak out a bit.

Installation

Installation is straighforward:

  1. Upload the /emc2-popup-disclaimer/ folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure settings at wp-admin/options-general.php?page=emc2-popup-disclaimer/emc2pdc-admin.php

Frequently Asked Questions

My Cufon styles aren’t showing in the popup

You can add your own callback function for the Fancybox call in /wp-content/plugins/emc2-popup-disclaimer/js/emc2pdc.js in the .fancybox() call:
‘onComplete’: function(){ Cufon.refresh(); }

Are you available for help?

I might be able to help you – it totally depends on my schedule and workload. Send me an email! [email protected]. You could also post here on the forums.

If you want to jump the gun, make me a temporary user (with that email up there) and I will be more inclined to give you a hand. In return for my help, all I ask for is a rating! 🙂

Review feed

No reviews available

Screenshots

  1. Dashboard view with settings.

    Dashboard view with settings.

  2. Initial page view with popup display.

    Initial page view with popup display.

Changelog

1.2.1

  • File name change: jquery.cookie.js > jquery_cke.js to avoid mod_security rule match and 406 error

1.2

  • Added Debug mode
  • Added shortcode ID argument
  • Improved function call arguments
  • Improved function handling

1.1

  • Fixed post display selection input
  • Added screenshots
  • Set up demo site: http://popup.emc2innovation.com
  • Admin styles
  • Shortcode support
  • Function call support

1.0

  • Helloooooo World.