phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

[RC] Mod geoip country


 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
vlad77
Board Member



Joined: 31 May 2015

Posts: 122


flag
PostPosted: Tue Aug 23, 2016 6:11 pm 
Post subject: Mod geoip country

Title: Mod geoip country
Author: petyapupkin (N/A), Trans-Tema.com, vlad77
Description: Shows the messages in the forum country (flag) of the author. Information is taken from the IP message.
Maud automatically updates the geodatabase on the crown, handling the database is cached. See addons.
Version: 2.0.1
Author Notes: Geodatabase GeoIP.dat update link
https://drive.google.com/file/d/1__RaSIrEMOzhjZwNEIVWYgLRbjOVkj3l/view?usp=sharing



Author Notes: GeoLite2_addon_for_Mod_geoip_country. This addon for "Mod geoip country". Allows you to use the current, supported Maxmind GeoLite2-Country.mmdb databases. PHP version 5.3.1 and higher is required. It is required to register on the site http://maxmind.com
Registration page: https://www.maxmind.com/en/geolite2/signup It is difficult to find.



GeoLite2_addon_for_Mod_geoip_country.zip
 Description:
Version: 1.0.1

Download
 Filename:  GeoLite2_addon_for_Mod_geoip_country.zip
 Filesize:  211.17 KB
 Downloaded:  64 Time(s)


mod_geoip_country.zip
 Description:
Version: 2.0.1

Download
 Filename:  mod_geoip_country.zip
 Filesize:  173.33 KB
 Downloaded:  576 Time(s)

Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 122


flag
PostPosted: Tue Jul 10, 2018 8:44 am 
Post subject: Re: Mod geoip country

If the archive of updates to ip addresses is unavailable on geolite.maxmind.com, the automatic_file_download_url add-on could download "page 404".
The mod was updated, replace the file automatic_file_download_url.php with the file from the archive.
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 122


flag
PostPosted: Sun Mar 15, 2020 8:31 am 
Post subject: Re: Mod geoip country

Currently, downloading the geodatabase GeoIP.dat even for free requires registration. See https://dev.maxmind.com/geoip/geoip2/geolite2/ I don’t know if automatic updating of databases can be done.
They changed the format of the bases, which is not suitable for this mod.

You can take the base from here
https://www.annesemonin.ru/media/geoip/
https://cloud.mail.ru/public/94yN/aytiNxfMR
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 122


flag
PostPosted: Wed Apr 08, 2020 5:22 pm 
Post subject: Re: Mod geoip country

Version: 2.0.1. Fixed a bug in the instructions. It was suggested to find a line from another mod.
Added "GeoLite2 addon for Mod geoip country" addon. This addon allows you to use the current, supported Maxmind GeoLite2-Country.mmdb databases. PHP version 5.3.1 and higher is required. It is required to register on the site http://maxmind.com .
Maybe later I will make a version for GeoLite2-Country.mmdb databases not in the form of an addon. The former mod will certainly remain, not everyone uses PHP 5.3.1, and not all will register at http://maxmind.com .
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 250


flag
PostPosted: Sun Apr 12, 2020 12:01 am 
Post subject: Re: Mod geoip country

just curious. this supposedly works based on IP address?
if so, how accurate is it. a lot of IPs are not accurate to what country they are in much less where in that country they are located.


robert
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 122


flag
PostPosted: Sun Apr 12, 2020 6:28 am 
Post subject: Re: Mod geoip country

To keep the databases up-to-date, install the auto-update add-on.
The mod defines the country of the forum user or the country of the proxy server. In principle, if this is a proxy server, you can skip the flag, or explain that it is a proxy. The site maxmind.com offers paid proxy server databases. I don’t know how they work, because I didn’t buy it.

The mod’s work with IPv6 was not tested, but "GeoLite2 addon" should work with IPv6. If of course your forum supports IPv6.
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0262 seconds using 17 queries. (SQL 0.0023 Parse 0.0024 Other 0.0215)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo