This author's response time can be up to 10 business days.
Is it possible to configure the plugin to let https://gtmetrix.com/ through to the site for optimisation tests? At the moment it only sees the age gate.
GTmetrix appears to be using GTmetrix in their user agent so you should be able to have them bypass the age gate by adding GTmetrix to your bot list. The bot list can be found at WP Admin > Settings > Age Verification and then open the Advanced tag.
I just purchased, installed and configured the plugin for a website and all was working well, until I just started seeing a WP error related to the geolocation feature of the plugin. The error is:
Warning: file_get_contents(http://ipinfo.io/MY_IP_ADDRESS_HERE/geo): failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests in MY_HOSTING_DIRECTORY/wp-content/plugins/adults-only/adultsonly.wp.php on line 186
I didn’t find anything in the comments/documentation that indicated that anyone else had this type of issue. Could you help diagnose what the issue is, and help me fix it?
Sadly, you’re getting rate limited as you’ve had over a 1,000 unique hits to your website in a 24 hour period. Hm. Has this happened since your comment post? Would you be okay with ditching geo-location when you’ve hit this cap? I ask as the only other real solution would be to pay for the geolocation service (which likely isn’t an option based on pricing).
OK thanks, based on the error I figured that might be what the issue was. Is there any way that you could provide assistance with modifying the plugin/code to use a different IP lookup service instead of ipinfo.io – specifically FreeGeoIP (https://freegeoip.net), or another that has higher daily limits? This would be greatly appreciated, and perhaps could be included as a feature update in future versions. Thank you!
Sorry I just saw your note about ditching geo-location when it hits the limit – that would not be ideal (see my previous comment for what would be optimal for the situation) but it would be helpful as a short-term or temp. solution – if you can help with that I would appreciate it. Thanks!
To follow up on this, as a temp. solution we purchased the ipinfo.io subscription – so if you can help with modifying the plugin code to use the API key we purchased from ipinfo.io, that is our main priority at the moment. Thanks!
FreeGeoIP actually looks much better. I’ve made the required changes and will be submitting an update shortly. Can you please email me by my profile? This will allow me to send you a copy of the file so you can test this yourself.
Is there a refund policy for ipinfo.io? I ask as, honestly, their paid plans can’t compare with FreeGeoIP and that service is free.
I am having a problem with your adults only plugin. At first it was working great and now it keeps bringing up a white page after clicking the verification. I really need to fix this and I’m not sure if it could be a plugin compatibility issue with something else but I’m barely running any plugins right now. Any ideas? Thank you.
This sounds like a caching issue. Are you using a cache plugin (please contact your hosting provider if you’re not sure)? If so, please navigate to WP Admin > Settings > Age Verification and then open the Advanced tab. Tick Compatability Mode. Now please clear your cache. Does this issue persist?
Hi there, I can’t seem to get the ‘Links’ option working. I expect to see a ‘yes’ ‘no’ option but instead I still see the date dropdown. Is this a known bug or are there any setting I may have misconfigured?
Preface: This is not a known bug.
Do you happen to use a cache plugin or anything like that? I suspect the older validation method may have been cached which is why the drop downs are still visible regardless of actual setting.
I’m not using a caching plugin annoyingly! I thought that was the problem as well. I am however using an old WP version… 1.6.1. Would that cause an issue?
1.6.1? Do you mean 3.6.1? If so, that should be fine. Do you happen to have a safe for work public URL that I can take a look at? If it’s not SFW, can you please send it to me via my profile?
Hey, yeah that would be great. The URL is http://www.kingofsohodrinks.com/
I was wondering what the title of the relevant field on the database was? I ask because I thought that I could maybe change it directly in phpMyAdmin?
Hm. Can you please temporarily restore the default template? I ask as you’ve made extensive modifications of the separate theme and I just want to rule out a problematic modification. You can get a unmodified version of the separate template from the zip provided to you by CodeCanyon.
That data is stored in a serialized format so I seriously don’t recommend that as you could cause the data to become invalid. Regardless, it’s stored in the wp_options table under adults_only_general
Ah yeah, I can see the problem. The old developer has amended the default template. Unfortunately I don’t have login details for the account they purchased your plugin on so can’t download it.
Could you message me the relevant file or…? Not sure the best way around this!
Ah. yeah, that’s problematic. Hm. I’m not allowed to send you the file itself but if you email me a PasteBin via my profile with the edited template I should be able to spot the issue. Please do not publicly post it here.
Have just sent through a pastebin link via your profile (will be in the second message if not the first)! Thank you
Hi there, if you’ll check the site now you’ll notice that I’ve found a way around. The only problem is that the url now has /?ao_confirm on the end when you click confirm. Is there a way around this at all?
Oh awesome. Unfortunately, no that’s not possible at this time. Sorry mate.
I am interest on the plugin but I only need the terms & conditions + Agree button to be click before user can enter the website. Can this plugin done the job? Thanks.
Yes, but you’ll need to alter settings and wording (which is possible through the settings) to reflect this.
Pre-purchase question: can i restrict woocommerce category with this plugin? Thanks
Yes, you can age restrict a category but at this time you’ll need to also restrict the individual products also.
please visit my site http://www.call2cum.com I cannot seem to get this to not show my heading? Any suggestions?
Very sorry for the delay. Can you please enable the Adutls Only layout so I can inspect what you’re seeing?
When attempting to upload and activate the plugin for the first time, we receive a fatal error. Please let us know what we can do to get the plugin working.
That’s odd! From the sounds of things, this might be a plugin conflict. Would you mind running a quick plugin conflict test?
You can start by disabling all plugins but Adults Only and see if this fixes the issue. You’ll need to clear all your caches after disabling your plugins. So just to confirm, double check if the issue is coming up while all other plugins are disabled.
If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue. Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.
You could also try temporarily switching to a default WordPress theme like Twenty Sixteen. Default WordPress themes are generally very light weight which lowers the chance that they’ll conflict with plugins, so they’re a good way to test if your original theme is the source of the issue.
If the above doesn’t help, can you please enable WP_DEBUG and send me a copy of the error?
hi can you give me some assistance – I dont understand how to use the shortcodes – I want it to work on a woocommerce category fooshoppa.com
The problem is that the plugin does not remember if the user enters an underage and asks for the age repeatedly when navigating to any other age gated page.
For example, going to the newsletter page will prompt the age gate form. Entering younger than 13 will direct you to the appropriate “not allowed” page. However, immediately navigating to another age gated page will bring up the form again. It shouldn’t do this. After entering an under age, the plugin should redirect you to the “not allowed” page every time and for every gated page (until the cookie expires).
This sounds like you’re using a cache plugin or something that prevents Adults Only for regenerating the page. I would recommend running the plugin in compatibility mode to avoid valid users from showing up as unvalidated as what you’re describing is definitely not how the plugin was designed.
Hello, Overall this is a great plugin but I have two things:
1) Just so you know, we added a bot to the list of bots that skip age verification. We accidentally ended with a comma and because of that, a bunch of header code showed up on top of our website on mobile. You might want to check for that extra comma in the future.
2) As soon as we launched this website, a large chunk of our organic traffic started being counted as direct traffic. Is there any way we can get this back to be the way it is before so ’/?ao_confirm=’ is no longer a referrer?
1. Thanks for the heads up. I’ll resolve this in the next update.
2. I would recommend changing to a different validation method (away from links) or adding your tracking code directly to the age gate itself by adding it to the editor under the general tab.
I have the ability to select which pages the warning will appear on? if i have sensitive content on www.mysite.com//groups/movies/forum/topic/ and on www.mysite.com//groups/erotic/ and www.mysite.com/etc
Yes. You’re given the option of selecting specific pages to apply the Age Gate too when the site wide setting isn’t enabled.
How can we combine base URLs with URLs that add on the variable: ?ao_confirm, so that our Google Analytics is more accurate?
Unfortunately, this isn’t possible at this time. Sorry mate.
can not add multiple pages to be restricted?
not works, I put blocking a group page in buddypress and nothing
I’m not too sure why you aren’t able to restrict the pages you were attempting too, but I can however state that BuddyPress isn’t officially supported so the page, category, etc (basically anything but site wide) is unlikely to work. You’ll need to use Site wide instead. I’ve logged BuddyPress integration as a feature request.
it would be nice for me as a user if I want to create a group to have the option to select whether the group is 18 years old, and other users to be alerted with a message. Is just a suggestion
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $7
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work