Geolocation Management

From FUDforum Wiki
(Difference between revisions)
Jump to: navigation, search
(Data File)
Line 1: Line 1:
-
The '''Geolocation Management''' [[admin control panel]] allows administrators to upload a CSV database containing the IP-range to country associations necessary for the utilization of FUDforum's geolocation feature.
+
The '''Geolocation Management''' [[admin control panel]] allows administrators to upload a CSV database containing the ''IP-range to country'' associations required by FUDforum's geolocation feature.
==Uploading the geolocation database==
==Uploading the geolocation database==
Line 12: Line 12:
You need to download this file from one of the following locations before uploading it to your forum:
You need to download this file from one of the following locations before uploading it to your forum:
 +
* GeoIP, which can be freely downloaded from http://www.maxmind.com/app/geoip_country; or
* GeoIP, which can be freely downloaded from http://www.maxmind.com/app/geoip_country; or
* IP-To-Country database freely available from http://ip-to-country.webhosting.info/node/view/6.
* IP-To-Country database freely available from http://ip-to-country.webhosting.info/node/view/6.
-
{{Warning|The import process usually takes a few minutes.}}
+
{{Warning|The import process usually takes a few minutes, depending on the file size.}}
'''Possible Error Messages and solutions:'''
'''Possible Error Messages and solutions:'''
Line 21: Line 22:
'''Error:''' “File upload failed! Please check that file_uploads is enabled in your php.ini file and ensure that the upload_max_filesize setting is bigger than the file's size”
'''Error:''' “File upload failed! Please check that file_uploads is enabled in your php.ini file and ensure that the upload_max_filesize setting is bigger than the file's size”
-
'''solution:''' Ask your hosting provider to increase the upload_max_filesize setting in php.ini.
+
'''Solution:''' Ask your hosting provider to increase the ''upload_max_filesize'' setting in ''php.ini''.
-
'''Note:''' I encountered this problem twice, and in both instances my hosts support team resolved the problem in minutes, but they did need to know the size of the file I was attempting to upload which in the case of Geo-IP is 3.72MB
+
'''Note:''' I encountered this problem twice, and in both instances my hosts support team resolved the problem in minutes, but they did need to know the size of the file I was attempting to upload, which in the case of Geo-IP is +- 3.72MB.
== Rebuilding caches==
== Rebuilding caches==

Revision as of 07:16, 11 July 2009

The Geolocation Management admin control panel allows administrators to upload a CSV database containing the IP-range to country associations required by FUDforum's geolocation feature.

Contents

Uploading the geolocation database

Database Format

Choose the geolocation database type: GeoIP or IP-To-Country.

Data File

The name of the CVS file to upload.

You need to download this file from one of the following locations before uploading it to your forum:

Info Symbol WARNING: The import process usually takes a few minutes, depending on the file size.

Possible Error Messages and solutions:

Error: “File upload failed! Please check that file_uploads is enabled in your php.ini file and ensure that the upload_max_filesize setting is bigger than the file's size”

Solution: Ask your hosting provider to increase the upload_max_filesize setting in php.ini.

Note: I encountered this problem twice, and in both instances my hosts support team resolved the problem in minutes, but they did need to know the size of the file I was attempting to upload, which in the case of Geo-IP is +- 3.72MB.

Rebuilding caches

When enabling geolocation functionality on an existing forum, it is recommended that the user and message location caches are rebuilt. Without them, old messages will not have a flag appearing beside them. Please note that this is a SLOW process, which may take a few hours on a large forum.

Languages
Personal tools