Flags of users and proxy detector in geolocation mod for Invision Power Board (IPB)
The main mod functions:
- displays the country and flag of user. It is based on API and real geographical (and not invented) data of users;
- Proxy-, VPN-, TOR autodetector, that helps against spam and hooliganism.
The flag can be displayed:
- on the main page of the forum, in the "Board Statistics";
- in the list "Online Users" (also determined for guests);
- in the members profile;
- in the list of all members;
- in posts: in a profile and near the IP address (for moderators).
Features of the mod:
- caching of API-requests for each session, that allows to reduce significantly the number of requests to the database;
- API-requests for IP addresses of search bots will not be calculated;
- mod works with IPB versions 2.1.x, 2.2.x, 2.3.x;
- country in user's profile is defined by registration and in the future will not be changed, if a certain option is not chosen (so the country in the profile will be always actual);
- for moderators the actual country will be recorded in each post, near the IP address;
- the countries names are available in English, Russian, German and Spanish in encodings: UTF-8, ISO-8859-1, WINDOWS-1251, KOI8-R;
- auto hide the posts written through a Proxy, TOR, Hosting and VPN (the feature can be changed in settings);
- sorting of members by country.
Settings:
- Choice between "Country code" and "Service code" (will be available later);
- auto hiding of posts;
- actualisation of the user's profile;
- possibility to show the flag anywhere in the forum to certain groups.
Download geolocation mod and installation instruction:
A script is in mod available to determine the countries of already registered users and the previous posts, it is also possible (ipbgeo_update.php) to download separately. (new version 1.5, 12.Dec.08)
The function "service code" (for proxy detector) will also be available later.
All updates and news about the geolocation mod are in the comments to this article, so you can subscribe to comments(RSS) to be well informed.

So I'm running it again right now after changing the max runtime for PHP from 30 to 3000 (just for kicks) and told CSF+LFD to ignore the script, and I get the same error message again, and this is how my forums look now:
http://i37.tinypic.com/2s8segk.jpg
A little help here?
And I'm pretty sure my firewall isn't blocking anything because I can use Rapidleech to download from YouTube and Rapidshare just fine, and IP.B and all of the mods I have for it can phone home to check for updates.
I see you have access to API, but after start and few seconds later you socket is blocked.
Try to change line 210
like
and reduce your max "max_execution_time" to standard value.
The section "Active users" is independent of ipbgeo_update.php, I think you have error with mod install, could you compare step 8 "/sources/lib/func_boardstats.php"?
Or you can send me this file and "/sources/classes/class_session.php"
see
http://www.justskins.com/forums/39803-new-fsockopen-bug-62808.html
http://bugs.php.net/bug.php?id=38568
http://de3.php.net/manual/en/function.socket-connect.php
"Return Values"...Note: If the socket is non-blocking then this function returns FALSE with an error Operation now in progress.
(30-Apr-2003 05:12):
May be you have limit of socket connections?
Try to insert a pause (line 212):
into
If I have more problems, I'll be sure to post. And now, my forum looks like this (with 52936 undefined users and 69497 posts):
http://i37.tinypic.com/w7o3r5.jpg
EDIT: Got this after a while:
Connection timed out (110)[/quote]
I see you use latest stable PHP under Apache, but why you don't use frontend web-server like nginx or lighttpd befor Apache to increase your performance?
Main question: do you have VPS(if yes: XEN,OpenVZ or ...) or dedicated server? Linux, FreeBSD?
Make this commands:
you can send through contact form or email
Bugfix: members w/o posts