This author's response time can be up to 2 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.
This comment is currently being reviewed.
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?
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
Unlimited graphic downloads & digital courses. Only $29/month
22,000+ templates & 1,000+ courses
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work