Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old Yesterday, 04:44 PM   #1
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
Workaround for Age Verification: Geo Blur Images – WordPress Plugin



As a temporary workaround for Age Verification (AV) check on WordPress sites, I created a lightweight plugin that automatically blurs all JPG images on a website based on the visitor's location. It's completely SEO friendly, and does not block search engine bots from crawling pages.

You can download it here.

It can be used temporarily, until more permanent AV check solution is implemented.

The plugin uses MaxMind GeoLite2 database (Cities files), and you need to download it and replace empty placeholder file(s) provided.

== Description ==
This plugin is ideal for websites that need to obscure image content based on legal or regional restrictions, such as:
- Age-restricted content.
- Geo-targeted campaigns.
- Legal compliance in specific jurisdictions.

== Features ==
- Detects country and US state using the MaxMind GeoLite2 database.
- Simple admin settings panel to choose target countries/states.
- Blurs all .jpg images, even those loaded via CDN or external URLs.
- Uses CSS blur filter (no image replacement or delay).
- Performance-friendly — only activates for targeted users.
- Easily extendable — feel free to build on it.

== Installation ==
- Upload the plugin to /wp-content/plugins/geo-blur-images/
- Activate it via the WordPress Plugins menu.
- Download and place the MaxMind GeoLite2 City database in the /MaxMind/ directory (the provided file is just a placeholder). You’ll need to create a MaxMind account and download the GeoLite2-City.mmdb file.

== How it works ==
- On page load, PHP checks the visitor’s IP and matches it with the GeoLite2 database.
- If the user is in a targeted country or state, all .jpg images are blurred using CSS.
- No server-side image processing is involved.

Please feel free to reuse the code or improve it. Sharing your modifications is more than welcome! You can reuse it for any kind of projects, not necessarily just Wordpress.The plugin is submitted to Wordpress.org and will be available upon approval.

If anyone has a complete list of ISO country codes or US state names for blocking, please share them in the comments below.
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 05:00 PM   #2
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
So far I was able to find the following:

Countries (ISO 3166-1 codes): UK,FR,DE,IT
U.S. States (2-letter abbreviations): LA,AR,VA,UT,MT,TX,NC,IN,ID,FL,KY,NE,GA,AL,KS,OK,MS ,SC,TN,SD,WY,MO
(You can add those codes to the plugin admin menu.)

Countries:
United Kingdom
France
Germany
Italy

US States:
Alabama
Arkansas
Florida
Georgia
Idaho
Indiana
Kansas
Kentucky
Louisiana
Mississippi
Montana
Nebraska
North Carolina
Oklahoma
South Carolina
South Dakota
Tennessee
Texas
Utah
Virginia
Wyoming

Please let me know if something was missed.
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 05:07 PM   #3
asorelli
Confirmed User
 
Industry Role:
Join Date: Feb 2024
Posts: 137
Quote:
Originally Posted by Marshal View Post
So far I was able to find the following:

Please let me know if something was missed.
Might as well add North Dakota to the list. That goes into effect Aug 1st. Quick and easy solution for wp users that are still deciding on which provider to integrate, good job!

*That db is not the best, it won't catch all the locations, but otherwise for now, it's a good start.

Edit: Customer still needs to be age verified if/when they join/pay.
asorelli is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 05:31 PM   #4
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
Quote:
Originally Posted by asorelli View Post
Might as well add North Dakota to the list. That goes into effect Aug 1st. Quick and easy solution for wp users that are still deciding on which provider to integrate, good job!

*That db is not the best, it won't catch all the locations, but otherwise for now, it's a good start.

Edit: Customer still needs to be age verified if/when they join/pay.
Thank you!

I'm not a programmer and it's Sunday night. Somebody more skilled better be tweaking that code and fix it.

P.S. At some point I broke the code while trying to make it more compliant for Wordpress.org submission. It's too late already to have another look today. If no one else fixes it in the meantime, I'll have a look tomorrow and fix it myself.
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 05:40 PM   #5
mainstreammix
Make GFY Great Again
 
mainstreammix's Avatar
 
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,908
If you look into the laws even linking with plain text to adult sites is covered, especially if the focus of your site is on enticing.
mainstreammix is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 06:25 PM   #6
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
Version 1.0.1 uploaded. Issues fixed. The code should work now. Background images added, as well.
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 06:28 PM   #7
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
Quote:
Originally Posted by asorelli View Post
Might as well add North Dakota to the list. That goes into effect Aug 1st. Quick and easy solution for wp users that are still deciding on which provider to integrate, good job!

*That db is not the best, it won't catch all the locations, but otherwise for now, it's a good start.

Edit: Customer still needs to be age verified if/when they join/pay.
List updated with North Dakota:

Countries (ISO 3166-1 codes):*UK,FR,DE,IT
U.S. States (2-letter abbreviations): LA,AR,VA,UT,MT,TX,NC,IN,ID,FL,KY,NE,GA,AL,KS,OK,MS ,SC,TN,SD,WY,MO,ND
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 06:48 PM   #8
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,156
Quote:
Originally Posted by mainstreammix View Post
If you look into the laws even linking with plain text to adult sites is covered, especially if the focus of your site is on enticing.
So true, but say that to Google.
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 06:48 PM   #9
asorelli
Confirmed User
 
Industry Role:
Join Date: Feb 2024
Posts: 137
I haven't looked at it or downloaded, so not sure if you already have done so. But, personally, I would add a disclaimer somewhere that does not hold you responsible for ANYTHING before allowing anyone to download/use the plugin. People are sue happy
asorelli is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 06:54 PM   #10
mainstreammix
Make GFY Great Again
 
mainstreammix's Avatar
 
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,908
Quote:
Originally Posted by Marshal View Post
So true, but say that to Google.
Google is exempt with the 33% rule in the ones I've checked.
mainstreammix is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 03:10 AM   #11
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,605
What happens if a user clicks on an image and loads the full size version which is not served via Wordpress? So for example it basically loads the domain.com/images/hottie-1.jpg directly.. then it won't be blurred.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 04:19 AM   #12
NatalieK
Natalie K
 
NatalieK's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,304
Quote:
Originally Posted by Paul&John View Post
What happens if a user clicks on an image and loads the full size version which is not served via Wordpress? So for example it basically loads the domain.com/images/hottie-1.jpg directly.. then it won't be blurred.
I was also thinking about this...


and with this set up, i take it, the images stay blurred and some people would rather pay an AVS for a quid and see the free images
__________________
My official site Semi exclusive custom clips My affiliate programFirst time girls
Skype: gspotproductions - "Converting traffic into income since 2005"
NatalieK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 05:04 AM   #13
mainstreammix
Make GFY Great Again
 
mainstreammix's Avatar
 
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,908
Quote:
Originally Posted by NatalieK View Post
I was also thinking about this...


and with this set up, i take it, the images stay blurred and some people would rather pay an AVS for a quid and see the free images
I have never in history PAID to use an AVS. This is always covered by the site operator, are you seriously trying to waste the time your customers are pulling out credit cards to have them fill that information in for a completely different company? Then expecting them to return to give you money too?

Exactly what % of traffic do you think would drop off from that insane process?

mainstreammix is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 08:32 AM   #14
pornmasta
Too lazy to set a custom title
 
pornmasta's Avatar
 
Join Date: Jun 2006
Posts: 19,128
Quote:
Originally Posted by NatalieK View Post
I was also thinking about this...


and with this set up, i take it, the images stay blurred and some people would rather pay an AVS for a quid and see the free images
Url redirection for non registered users ?
pornmasta is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 09:00 AM   #15
cerulean
Web & App Development
 
cerulean's Avatar
 
Industry Role:
Join Date: Oct 2023
Location: United States
Posts: 151
Quote:
Originally Posted by Marshal View Post

== How it works ==
- On page load, PHP checks the visitor’s IP and matches it with the GeoLite2 database.
- If the user is in a targeted country or state, all .jpg images are blurred using CSS.
- No server-side image processing is involved.

Please feel free to reuse the code or improve it. Sharing your modifications is more than welcome! You can reuse it for any kind of projects, not necessarily just Wordpress.The plugin is submitted to Wordpress.org and will be available upon approval.
The issue I see is that anyone can just remove the filter: blur() from the inspector and see everything. I'm sure people are already coming up with Chrome and Firefox extensions to remove that filter.

Do you have a github of the plugin? Myabe I can take a look and see if there's a way to fork it to use an image library in the background to blur the images server side.
__________________
Cerulean Software Specializes in Website and App Development. Email me today!

Keep Your Business and Members Area Secure with LoginBlue Password and Content Protection
cerulean is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
plugin, database, images, maxmind, geolite2, download, image, country, wordpress, file, free, files, reuse, feel, legal, .jpg, workaround, content, css, placeholder, provided, targeted, check, based, verification



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.