Phil
Forum Replies Created
-
Forum: Plugins
In reply to: [Age Gate] Age Gate loading weirdLooking good for me on Chrome / Firefox / Safari / Edge / Brave!
Forum: Plugins
In reply to: [Age Gate] Age Gate loading weirdThere shouldn’t be, that’s all handled in the javascript so is purely front end
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Age Gate loading weirdHi @philsbury,
In the safelist you’d want to add
/wp-content/plugins/age-gate/dist/(.*).css
Hopefully that resolves it. You might need to get onto WP Rocket support if it doesn’t and get their input as its their feature (and I’m going to be offline for the evening soon!) but I’ll check back in to make sure it’s resolved
Thanks
PhilNote: edited as I misread that you said there was a safelist!
- This reply was modified 3 weeks, 5 days ago by Phil.
Forum: Plugins
In reply to: [Age Gate] Age Gate loading weirdI think WP Rocket also has a “Remove unused css” feature, which may remove the age gate styles as it’s not on the page at server runtime, might also be worth looking at
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Age Gate loading weirdI do see it now on the home page. Definitely something in a cache somewhere:
https://www.kaguragames.com/ – displays wrong
https://www.kaguragames.com/?v=12345 – displays right (?v etc to do a cache bust)viewing the source of the second one, I can see
<link rel='stylesheet' id='age-gate-css' href='https://www.kaguragames.com/wp-content/plugins/age-gate/dist/main.css?ver=3.5.2' type='text/css' media='all' />
on the first all the css is missingI’d try disabling WPRocket as a temporary thing to see if that fixes it not showing and if it does, we know that’s at least part of the issue
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Age Gate loading weirdHi @swaps4 – seems to work for me on this url: https://www.kaguragames.com/patch/
Do you see the same, or have anywhere where’s it’s not displayed correctly?
Forum: Plugins
In reply to: [Age Gate] Age Gate loading weirdThe settings all look good. Can you re-enable the plugin for a few minutes so I can have a look and see if I can work it out?
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Age Gate redirect too fast after age is not at the limitHi @cofeman,
It’s not possible at the moment. It’s essentially meant to be on par with how the PHP version works, but due to the nature of that being server side it is instant.Will have a think as to how we can to that and keep parity between the two methods.
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Not SEO friendlyHi @epicburrito,
The rendering in a script should resolve that.
If it’s not though, I’d drop the importance of the content of the modal which these settings in the appearance, initially as a test I’d make them all divs:We do attempt to not trigger id a bot is detected, so I’ll also check that is still working as expected in current browsers.
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Age Gate loading weirdHi @swaps4 ,
It’s not loaded the CSS.
First check the option “Layout (Use plugin style on the front end)” is checked in the Age Gate -> Appearance settings.
If it is, clear any caches and if you have anything that concatenates your css/js files, purge that too.
Hope that works
Thanks
PhilForum: Plugins
In reply to: [Age Gate] What changes the languageHi @iosis101 ,
Have checked on a local version with polylang (free and pro) and all seems good. Before I dig a bit deeper and spin up a clean site I just wanted to check you did enter new messages on the Age Gate -> Messages section for your English version?
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Checkbox to Certify 18y instead Y/NHi @clip1492,
I agree – it’s not something I’ll add to the main plugin right now but will for the next major version, but age gate supports adding custom fields so you can achieve something with similar functionality as a stop-gap which is detailed in this article
THanks
PhilForum: Plugins
In reply to: [Age Gate] Restrict content in other languagesHi @rainleam,
This should have been fixed in v3.5.0 a while back. Sorry for not updating this earlier.
Thanks
PhilForum: Plugins
In reply to: [Age Gate] Elements with role=“dialog” or role=“alertdialog”Hi @hervelev,
Apologies for the slow reply; If you add text in the field in Age Gate -> Messaging called “Aria label” it should resolve this warning based on my checks on my demo version.
Thanks
PhilHi @zentrala,
This is what you should see:
If they’re not visible, check what’s enabled under the Age Gate -> Access settings. Admins should get all age gate rights by default, but might be worth resaving to force that through.
Sorry for the slow reply btw!
Thanks
Phil