• Resolved jpinches

    (@jpinches)


    First, thank you so much for taking the time to update this plugin!

    With WP 3.6 and home page set as static and blog as second, the plugin appears on every page view. I am having this problem with every Content Warning Plugin since upgrading to 3.6. Tested CW3 with Firefox 23.0 and IE 10. I disabled all check boxes; Sitewide,Home Page and Misc. Pages and have cookie set as default to expire in 1 day. No categories are enabled. Also, I cleared all cookies and tested again in privte mode as well as normal mode. Can’t seem to stop the warning from coming up after entering the site no matter what the settings are.

    http://wordpress.org/plugins/content-warning-v2/

Viewing 15 replies - 1 through 15 (of 16 total)
  • can you give me a link to the page?

    Hi,

    I can confirm this. Testing on my local installation with WP3.6 I can rebuild this problem by just selecting a static home page (the rest of the settings doesn’t change the beahviour). The cookie expires immediately in this case and then the warning is displayed on each call.

    So the issue is directly related to only static front pages?

    Thats what it seems. Using any other than a static page, solves the problem.

    Same issue. Cookie expire date seems to be ignored and the cookie is just rewritten, although for me it’s regardless of what settings I have on the plugin. It will either constantly pop up on every page, or only pop up on my posts page, but still doesn’t follow the expire.

    I do like the new look a whole lot better though. A piece of advice: allow an admin-area way to change the colors on the popup, I have to edit the CSS to get it to match my site’s theme. Other than that, damn good job

    Okay I tried a bit and find out if I change check_data function starting line 230 to

    //if(get_magic_quotes_gpc() != true){
    $cData = array(
    'pages'=> json_decode(stripslashes($_COOKIE['cwv3_pages']), true),
    'posts' => json_decode(stripslashes($_COOKIE['cwv3_posts']), true),
    'categories' => json_decode(stripslashes($_COOKIE['cwv3_cats']), true)
    );
    //}else{
    // $cData = array(
    // 'pages' => json_decode($_COOKIE['cwv3_pages'], true),
    // 'posts' => json_decode($_COOKIE['cwv3_posts'], true),
    // 'categories' => json_decode($_COOKIE['cwv3_cats'], true)
    // );

    //}

    It works!
    So ist must be something with magic quotes and or stripslashes.
    Maybe this helps.

    Cheers.

    Tux,

    Yea I had an issue I guess my logic was off abit, I’ll get on that, thanks for the bug fix.

    @atoro
    You can just add the css to the new custom css box, it will overwrite the theme of the popup.

    Thread Starter jpinches

    (@jpinches)

    Hi Jerry,

    Sorry for the delay in getting back to you. I see that you have updated the plugin to 3.47; so I tried that on my test site and still have the issue of the pop-up appearing when returning to the home page. Although it no longer appears when navigating to another page; as in my case the blog page.

    The issue still is after entering the static front page, navigating away and then returning to home page, the Warning reappears. You can see this at;

    http://phgtestserver.com/

    This is password protected so use the password: content3

    The settings I have are;

    Sitewide – Disabled

    Home Page – Disabled

    Misc. Pages – Disabled

    Cookie – 1 Day

    Enter URL – Blank (removed the default # and still have issue)

    Hope this helps you

    @jpinches
    Your link is password protected, I can’t view anything. I will however set a static front-page on my test site along with using your setting and see what I come up with.

    @jpinches
    I derped sorry, got in and checked the home page. I navigated to the blog portion then back to the home page, I’m not getting the dialog at all. In the update I left debug on for the console, it’s passing ID 6, which is your static front page and sd is false, which determines rather or not to show the dialog.

    Am I missing something?

    Thread Starter jpinches

    (@jpinches)

    Hmmm. Wasn’t coming up for me either with all 3 top settings disabled since there is a static page set. I enabled the site-wide option to get the warning to come up and now have the warning reappearing when navigating back to the home page either by menu or browser back button. Sorry for any confusion.

    Thread Starter jpinches

    (@jpinches)

    If anyone else is having trouble with the pop-up reappearing when returning to the home static page, the only plugin I have found that still works after upgrading to WP 3.6 is Age Verify. However, it uses the text formats that are set for via my theme; so it is not as customizable as CW3. Additionally, it appears to not be SEO friendly as the warning text appears to be appearing now in Google SERP snippets. But at least I have something that works for my configuration.

    I am also having this issue. I noticed this about a month ago myself, looked at the support and saw this thread just starting out. So i assumed the author would get it taken care of.

    It notifies me on every page. The cookie is showing up on the browser and has an expire date of 24 hours. So maybe check to see if there is an issue in checking the cookie.

    Hi,

    I have currently the same problem, the page opens, the dialog appears, but the cookie seems not to be working, because it keeps appearing even If I pressed yes.

    I am on the latest version of wordpress. Does anybody else have this problem?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Content Warning Keeps Appearing’ is closed to new replies.