It’s all ok, but when i click to decline button e arrive in decline page https://www.g-21.it/decline/ I see the desclaimer and I can’t see the page till i click in accept button.
How can I do?
Thanks!
Where do I put the content that goes above the accept/decline buttons?
]]>Does not work with 4.2.1
]]>shows on every page load even after accepting: https://wepnetwork.com/about/
version 3.8.4
Any ideas?
]]>Hi — Love this plugin, but am having trouble with it showing up on any initial page load on my site, rather than only on the page with the shortcode inserted. Looks like this is a known issue… any news of a fix for this? Thank you!
]]>I’m wondering if there is a way for the popup to be scrollable by itself aside from the webpage? Otherwise once they scroll to the bottom & hit accept they are at the bottom of my book an appointment form & thus have to scroll to the top. Small annoyance, but would be great if there’s a solution? Thanks!
]]>The plugin stopped working on Google Chrome and Firefox (noticed shortly after 3.91 install, not sure if that has anything to do with it or not). Still works on IE and mobile versions of chrome.
We use the shortcode only here: https://takemybitcoins/play-live
]]>Is this known to work with 3.9? I’m using the shortcode, but the popup does not appear on the page. If I turn on debug mode and reload my page I get:
1e8e4da173
/wp-admin/options-general.php?page=emc2-popup-disclaimer/emc2pdc-admin.php
f5b532f4b0
56
1
Accept
Decline
https://www.flysask2.ca/
debug_mode
1
1
followed by my terms of use content.
]]>Hi there,
Have added EMC2 Popup Disclaimer and works fine. But has the spin out of blocking other buttons from working.
We use a Simple File Manager to let users load files. The accept button no longer functions.
Any thoughts / solutions?
Thanks
I’d like to be able to sue this popup on a link that takes the user off the site – Is that possible?
]]>I wanted a simple disclaimer for my website. Simple but I dont mean ugly. This plugin provides just that! Simple and Beautiful!
The only glitch I encountered was the Search function for post/page is not working. Even if you searched, found and chosen a specific post/page that will be shown as the disclaimer, it couldnt come-up with the correct post/page id for it.
The most simple way to find post/page id so this plugin would work is:
1.) for you to go to that specific post/page then click “edit”
2.) look at the address bar and find the part where it say “post=”. The number after it is the post/page id (ex: post=184)
3.) go back the plugin setting page, type the number in the “Page or post nid to display in popup:” text field
4.) click “Save Settings”
That would work!
]]>I can see in the code that the disclaimer text is there, but only the “accept” and “decline” buttons show up in the fancybox. I’ve tried the shortcode and the php code (though I don’t know where in my templates to put the php code) and am at a loss as to how to proceed. Comparing my site’s code to your demo code, it seems that maybe I’m missing some javascript in the header.
Can you take a look at my site and see where the problem is (adrianas55th.com)? This is the last piece I need before I launch this site. Thanks!!
]]>Hello, I would like to only allow a user to accept to the terms. I have deleted the red “decline” button, but I would like to center the green “accept” button. Can you help me find and change that in the code?
]]>I have installed the EMC2 Pop Up disclaimer and it displays on every page on my website. How do I control it to just show up on front page and not on every page. It seems to work this way even on a mobile device.
Please advise
Thanks
]]>2 days ago when I installed the plugin it worked. Today the content does not appear in the popup. How do I correct this? I created the content in a page and made it private.
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>When “Accepting” i want it to go to a different website. how do I do that?
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hi,
The disclaimer on my blog should simply read “This is a personal blog. The opinions expressed here represent my own and not necessarily those of my employers.” However, the popup displays HTML markup for some reason <p style="text-align: left;">This is a personal blog. The opinions expressed here represent my own and not<span style="line-height: 1.714285714; font-size: 1rem;"> necessarily those of my employers.</span></p>
Why is that? Thanks in advance for your help.
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Where to add content inside pop-up ?
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>I only want the popup to appear on the first page, not for every page.
This seems to need a parameter!
I see you can hardcode for specific pages if required so why for every page/ post.
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>I am having an issue in setting this up. When I use the Post Search button it fails to add the post. If I fill in the box with the URL it still does not help or if I just use the post slug.
When I go to the page nothing happens.
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hello, and thank you so much for your plugin
How do I do to make the window more opaque?
I want that we can not distinguish the site through the pop-pup.
Can you help me?
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Thanks for this great plugin. It’s exactly what I needed.
I tweaked it a little to better fit my purpose and wanted to share the details here.
First, I needed for the disclaimer to get activated regardless on which page of the site a visitor landed. But once they clicked Accept, the cookie set should be valid for the entire site, not just the page or folder they landed on.
When using permalinks, it may happen that there are multiple levels of “folders”, like:
mydomain.com/posts/my-post-title
mydomain.com/aboutus
mydomain.com/shop/categories/electronics
By default, the cookie was set for the root folder of the page, not the root folder of the site.
Thus, I modified emc2pdc.js of the plugin to also set the path of the cookie, as such:
$j.cookie('emc2pdc', 'agreed', { expires: cexpire, path:'/' });
Another issue was that the content of the page was displayed without formatting, or at least it so appeared. The problem was the fact that the formatting was there, but no styling was applied to it, especially for paragraphs (which had zero margins).
That is because many themes, including the latest TwentyTwelve theme, use a css reset. Then, they overwrite various tags with more specificity in the stylesheet.
In this case, the styling for <p> tags was defined as part of the post entry div. Since the popup did not respect the same post and page classes, there was no match for the paragraphs in the styelesheet.
I fixed it by adding the .entry-content class to the emc2pdc-disclaimer div (in emc2pdc-admin.php), as such:
echo '<div id="emc2pdc-disc-wrap" '.$debug.'><div id="emc2pdc-disclaimer" class="entry-content">';
Now, it actually behaves like any other page or post on the site, style-wise, so whatever styles have been defined for pages and post contents, it will pick up on them.
Finally, I noticed that the plugin would generate the divs and links to jquery, fancybox, etc, regardless of the cookie state. That meant that regardless of whether the disclaimer needed to be displayed or not, every page would load the various jquery, jquery easing, jquery fancybox and other scripts and css files, which wasn’t necessary.
These resources should only be loaded if the disclaimer needs to be displayed. Otherwise, there is no need for them.
To fix this, I added a check for the emc2pdc cookie in the emc2pdc_disclaimer() function in emc2pdc-admin.php, as such:
function emc2pdc_disclaimer( $atts, $force=NULL, $id=NULL) {
if (!isset($_COOKIE["emc2pdc"])) { //check if a disclaimer cookie exists - only generate divs if cookie doesn't exist
(obviously, make sure to add the corresponding ending curly bracket to end the if)
This will only load the needed files to display the disclaimer only if a cookie doesn’t already exists.
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Firstly thanks very much for your plugin. It is exllent.
Second, here is my Problem: Accept button not display when I am using ipad and iphone to view my website.
My website is working complete in the computer and Mac. But when I use ipad or iphone to view my web in both chrome and safari, the accept button disappear. but I can see the decline button.
please check my website
https://www.rotadock-uk.com
finally, I am asking your help, please!
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>I am using Slimstat plugin (https://goo.gl/d3Jp)
and I was trying to attach it’s tracking function to the “agree” button on the popup, so that it can record the IP of people agreeing to the terms.
The Slimstat says it works by adding the javascript function to the onclick event of a link, (see the faq here: https://goo.gl/ZZLCx)
I am trying to do this and make it work, however, it appears I get a server error when I try to add it to the “emc2pdc-admin.php” file, at this location:
echo '<p class="linkwraps"><a class="fancybox agree" href="#">'.$settings['accept_text'].'</a> <a class="fancybox disagree" href="'.$settings['redirect_url'].'">'.$settings['decline_text'].'</a></p>';
I am changing the code as such:
echo '<p class="linkwraps"><a class="fancybox agree" href="#" onclick="if(typeof ss_track == 'function') ss_track(event, 5, 'User Agreed To Clickwrap Privacy Policy And Terms And Conditions');">'.$settings['accept_text'].'</a> <a class="fancybox disagree" href="'.$settings['redirect_url'].'">'.$settings['decline_text'].'</a></p>';
Can you help to see if there is something I may be missing?
Thank you ??
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hi,
is there a way to size the popup?
I’m going to fill it with a long disclaimer, and I would rather like to make it taller (and scrollable) but with a smaller width (it takes almost the full browser width).
Thanks in advance!
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hi there,
I am new to WP.
Can you please explain how to add my own text/content to the disclaimer?
Thanks!
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>This is the site I’m trying to use the disclaimer on:
https://deerislecapital.com/wordpress/
And this is the page I want to show (ID = 110): https://deerislecapital.com/wordpress/disclaimer/
I’m not seeing the popup though. Any help?
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hi,
After watching the code, i see that the js,css files are loaded at each page view, even if the user has already accepted the disclaimer.
I suggest that in the beginning of the method :
function emc2pdc_disclaimer( $atts, $force=NULL, $id=NULL) {
to check if $_COOKIE[’emc2pdc’] == “agreed” and in this case, exit the method to not load all the files for nothing, and to not display the disclaimer on the source code if it’s not needed.
thanks
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Thanks for replying, except that this issue is far from resolved LOL
I cannot make the plugin detect either page OR post.
Is it possible for a future version to add the possibility to compose the message for the disclaimer in an HTML-supported window inside the plugin itself?
Thank you ??
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>Hi there,
Is it possible to set the page used for the disclaimer to “private”? (Otherwise it will be set public and show in the menu, what I’d rather not have).
Thank you <3
https://www.ads-software.com/extend/plugins/emc2-popup-disclaimer/
]]>