• Hi Jerry again,

    When the free-visitors of website clicks on enter button of this plugin they redirected to the payment page of ours. But then when they click anywhere on the site, they can open and view the pages. How to make this pop-up always on even clicking to the enter button?

    We just want to show the entire content of the website who paid and get their s2member membership. This will make this plugin more logical because who can pay with credit cards must always over +18. So , otherwise they dont have to view the content.

    How to make?

    https://www.ads-software.com/plugins/content-warning-v2/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The only way I know of doing this is to prevent setting the cookie in some manner. However, the cookie is actually set via javaScript, so you’d have to hook into wp_localize_script ( if that’s even possible ) and mess up the cookie name somehow.

    Off the top of my head I’m not entirely sure how this would be done, but I can look into it Monday.

    Thread Starter gameslopedy

    (@yiggory)

    Okay thanks for your time to look into it on monday.
    I think This is very important part of this plugin because Visitors are able to click enter button then they have an access and they dont get the warning 1 day or more i think we should disable the cookie time or decrease it to 5 seconds or less so they cant be able to access to the content if they dont pay with their credit cards.

    This plugin wasn’t really meant to be a pay-wall. Just know that any well-knowing developer or even HTML savvy user will know how to hide the popup.

    Thread Starter gameslopedy

    (@yiggory)

    Which pop-up code of this plugin should I hide?

    Yes this wasnt a pay-wall but its open source so we can develop it for what we desire.

    Also the pay-wall makes our sites only for adult access. Because only adults can be use their credit cards.

    Okay I had a look into the code, and without re-localizing the script, there’s no easy way to alter the cookie name.

    I will, however, be looking into adding this functionality to the dialog.

    Thread Starter gameslopedy

    (@yiggory)

    Very thanks about that. That is very important because when someone click enters then the pop-up of cw plugin wont appear at least 1 day.
    There must be a way to make this pop-up always on when the second stage clicking.

    However I still couldnt find to hide this plugin pop-up by s2member shortcodes.

    Im having trouble about finding the right code block of this plugin. When I hide some code block of this plugin the website goes 505 or 502 errors.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to make this Pop-up always on for visitors?’ is closed to new replies.