![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Biz Dev and SEO
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... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Biz Dev and SEO
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... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Feb 2024
Posts: 137
|
Quote:
![]() *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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Biz Dev and SEO
Industry Role:
Join Date: Jun 2005
Posts: 15,156
|
Quote:
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... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Make GFY Great Again
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.
__________________
Stop asking me about AI, the answer is yes. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Biz Dev and SEO
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... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Biz Dev and SEO
Industry Role:
Join Date: Jun 2005
Posts: 15,156
|
Quote:
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... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Biz Dev and SEO
Industry Role:
Join Date: Jun 2005
Posts: 15,156
|
Quote:
![]()
__________________
--- Busy ranking websites on Google... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Make GFY Great Again
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,908
|
Google is exempt with the 33% rule in the ones I've checked.
__________________
Stop asking me about AI, the answer is yes. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
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.
![]()
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Natalie K
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,304
|
Quote:
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 ![]() ![]() ![]() Skype: gspotproductions - "Converting traffic into income since 2005" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Make GFY Great Again
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,908
|
Quote:
Exactly what % of traffic do you think would drop off from that insane process? ![]()
__________________
Stop asking me about AI, the answer is yes. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
Join Date: Jun 2006
Posts: 19,128
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Web & App Development
Industry Role:
Join Date: Oct 2023
Location: United States
Posts: 151
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
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 |
Thread Tools | |