Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2010, 02:43 PM
DHewes DHewes is offline
 
Join Date: Aug 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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...)
Reply With Quote
  #2  
Old 10-12-2010, 02:26 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-13-2010, 12:04 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a good service (speaking from the point of view of running an ad server with geotargetting)
Reply With Quote
  #4  
Old 10-16-2010, 11:28 AM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-11-2011, 04:11 PM
Palehorse74480 Palehorse74480 is offline
 
Join Date: Nov 2010
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
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
Reply With Quote
  #6  
Old 01-12-2011, 05:25 AM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 01-12-2011, 05:31 AM
Palehorse74480 Palehorse74480 is offline
 
Join Date: Nov 2010
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant till I upgrade my whole physical server...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:08 PM.


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.03931 seconds
  • Memory Usage 2,217KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete