vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   GeoIP GeoLite from MaxMind - Anyone Using? (https://vborg.vbsupport.ru/showthread.php?t=233636)

DHewes 01-20-2010 02:43 PM

GeoIP GeoLite from MaxMind - Anyone Using?
 
If anyone using the free GeoLite or the paid GeoIP products on a shared server to block/allow certain countries? I have found some older mods to incorporate this into vB, but I am looking to use more on an entire site level through .htaccess files as shown on their web site. Having some problems with it working though. If anyone here has used these, please let me know and I will post the details of the issue and maybe get some feedback as to what I have configured wrong. (I also posted on their forum, but there are about 100x more people here...)

imported_silkroad 10-12-2010 02:26 PM

Sorry, I just saw your post. Hope you solved this problem.

Yes, we just GeoIP for many tasks. It works great and is very easy to install.

The easiest way is to install the Apache2 mod_geoip. There are many APIs.

Bradley_Wint 10-13-2010 12:04 AM

It's a good service (speaking from the point of view of running an ad server with geotargetting)

imported_silkroad 10-16-2010 11:28 AM

We use the GeoIP database from MaxMind for many things:
  1. OpenX Ad server geotargeting
  2. Custom (Home grown) GeoIP plugin to show cities and countries under IP address in Who's Online (online.php) to admins and mods
  3. Custom (Home grown) GeoIP plugin to show cities and countries in welcome message to all members in Navbar
  4. Custom (Home grown) GeoIP with Bayesian classifier plugin used for spam classification and moderation.
  5. Custom logging (with added GeoIP info in log files)
  6. More, can't remember.
Should be a standard part of vB the same as it is with OpenX ad server. You can do a lot with geo information.

Other vB mods that use other methods are not very scaleable (or accurate) compared to using the binary database (free) from MaxMind.

Palehorse74480 01-11-2011 04:11 PM

Quote:

Originally Posted by imported_silkroad (Post 2109449)
Sorry, I just saw your post. Hope you solved this problem.

Yes, we just GeoIP for many tasks. It works great and is very easy to install.

The easiest way is to install the Apache2 mod_geoip. There are many APIs.

I just had this installed on my apache 1.3.3 on my server. I am using vb 4.1.0PL2

So, I was wondering, how do I start banning countries on the server level? Thats what I want because I have several sites on that server, and they get hit with email spam attempts too.

I am a novice though, don't know how to program, I need a product of some kind?

thx

imported_silkroad 01-12-2011 05:25 AM

If you install Apache2 mod_geoip you can so something like below to redirect visitors from China, for example, to another web site or page:

Code:

<?php
if (apache_note("GEOIP_COUNTRY_CODE") == 'CN'){
    header("Location: http://www.anotherplace.com");
  } 
?>

There are many ways to do this. It is really simple, BTW.

Palehorse74480 01-12-2011 05:31 AM

I cant till I upgrade my whole physical server...


All times are GMT. The time now is 06:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01211 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete