Forum Replies Created

Viewing 15 replies - 31 through 45 (of 1,612 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @lilla235,

    This sounds like it might be a focus trap issue, can you try turning it off (if it’s on) in the age gate -> advanced settings?

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @djwilko12,

    Just want to make sure I understand the issue;

    By default you’d have something like this which you can restrict:

    /product-category/clothing/hoodies/

    But Husky/WOOF creates something like this:

    /shop/swoof/product_cat-hoodies/

    Which doesn’t verify the user when landing on it?

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @primaryjane,

    Somewhere in your CSS you’re setting this:

    .age-gate-heading {
        width: 0;
        height: 0;
        overflow: hidden;
        direction: ltr;
        text-indent: -9999;
    }

    So the heading has no width or height (or overflow) so is effectively hiding the image. Removing those should make it appear

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    I’m at a bit of a loss here, if the files are all there I’m not sure why it wouldn’t load. So I guess let’s cross of some other things;

    What php version are you on is the first one probably. I can then try and match that environment and see if I can reproduce it. The plugin requires a minimum of 7.4

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @jeeya1609,

    Do you have a link I can see this on? Any age gate related styles should stop being applied as soon as the popup is no longer visible.

    Thanks

    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @bigcloudmedia,

    It looks like a folder is missing, did you deploy via the WPE git push as that could have seen it as empty (it just had a .gitkeep in) and omitted it from the deployment.

    I’ve added an empty index file in there so if you give version 3.3.3 a try I think it should work.

    Thanks
    Phil

    Forum: Plugins
    In reply to: [Age Gate] Logo is Blured
    Plugin Author Phil

    (@philsbury)

    Hi

    This isn’t caused by age gate hence the blur setting having no effect, it’s actually your image lazy loader.

    I think you can make it work with the following in your functions though:

    add_action('init', function(){
        age_gate_add_attribute('age-gate-logo', 'class', 'lazyload');
    });

    Hope that helps

    Thanks
    Phil

    Forum: Plugins
    In reply to: [Age Gate] SEO description
    Plugin Author Phil

    (@philsbury)

    Hi @ihou,

    Age Gate doesn’t do anything with the og: tags. The only thing it changes is the document title which you can turn off under the Appearance settings (Change the page title)

    Looking at the facebook debugger I don’t see a description at all – if this is the homepage of your site I think Yoast picks it up from the site tagline which you can also update in the yoast settings

    Plugin Author Phil

    (@philsbury)

    This is very strange and looks like composer isn’t autoloading the classes properly. Are you able to disable all other plugins and try to activate? It could be a conflict somewhere potentially

    Plugin Author Phil

    (@philsbury)

    Hi @hirmagazin

    That’s odd, I’ve checked the files and that class is definitely there, do you see vendor/jawira/case-converter/src/Convert inside the age gate folder?

    Older versions can be downloaded here, though I wouldn’t recommend it, but if it fixes it short term for you then go for it

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @chutneybar,

    The short answer is you can’t if your sites are on different domains. Cookies, local storage etc are designed that way primarily for security purposes. There have been loop holes that are discussed on places like stackoverflow but they’re probably not the best idea – plus many have been closed off.

    The slightly longer answer is maybe, but probably not accurately. What I mean by that is as you have all the tables for all the sites in one place, you could create a sessions table with a unique key and do a lookup when a user lands from site to site. I say this is unlikely to be accurate as the only real identifier you could use is IP address, and that could be multiple people in a shared space, so potentially allowing people in you don’t want to. There’d also probably be some latency in showing age gate or not too, but probably only for the first hit (you wouldn’t call it again if they had the cookie, for instance). You’d also need to consider garbage collection too. It’d quickly get quick complicated I think, but if you have developers at your disposal, probably doable.

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @databell96,

    What PHP version are you using? That line has an arrow function that was introduced in 7.4 so if you’re below that it could be the reason? THough I’d have thought that’s be a fatal error in that scenario.

    If not I can dig deeper and see what I can work out

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi @yveslens2,

    Nonces are an internal WP thing linked to your user and a time period, if it is not validating try logging out and back in again. No code has changed with that for a long time so wouldn’t think downgrading would help, but you can get previous versions here

    Plugin Author Phil

    (@philsbury)

    I’m fairly sure chrome is only going to be phasing out third-party cookies and as age gate sets it’s cookie directly from your site it classes as first party.

    That said – I think I’ve seen this on wpengine before. Age gate tries to set it’s cookie for all subdomains ant I think that might be being blocked.

    But, you can also use local storage rather than cookies at all, you can find that in Age Gate -> Advanced -> Local storage which should also fix the problem

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    If you know what the hash needs to be, you can do:

    window.addEventListener('age_gate_passed', event => window.location.hash = 'section-2');

    If you don’t know what it is, there may still be a way to do it, so let me know

Viewing 15 replies - 31 through 45 (of 1,612 total)