• Hi I use a separate cookie control plugin and need to prevent cookies used by wpdiscuz until the user accepts the use of cookies (similar to controlling other cookies like google). Can you please advise a script which can be used to prevent cookies from this plugin.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    You can use the “Keep guest commenter credentials in browser cookies for X days” option. Just set the value of the option “0”. The option is located in the Dashboard > wpDiscuz > Settings > Comment Form Settings admin page.

    More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-form/#keep-guest-commenter-credentials-in-browser-cookies-for-x-days

    Thread Starter yaseico

    (@yaseico)

    Hi thanks for replying. I tried that but the plug-in still creates a cookie before the user accepts cookies. The default behaviour of WordPress is not to create cookies until a visitor starts to make a comment. The plug-in appears to create cookies regardless of the page being visited and we should be able to prevent that.

    Can you please advise a script to prevent cookies like the nonce cookie.

    thanks

    Plugin Support gVectors Support

    (@gvectorssupport)

    In the nonce cookie, there is no user-related information. The cookies are saved to enable users to perform secure actions, protecting them from potential XSS attacks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Script to Prevent cookies until user accepts’ is closed to new replies.