![]() |
I take it by your silence either that is a "no" or not worth your time fixing?
|
Can you disable it for certain usergroups or is it a all or nothing ordeal?
|
Quote:
|
Quote:
Not a *huge* priority though to be honest. The percentage of forums that have no users on (guests, registered or spiders) I would guess might be like 1 in 1,000 (MAYBE). Then on top of it, the first page that a user starts their session at is the user map page... probably another 1 in 1,000 chance. So yeah... it obviously could happen, but the chances of everything (no users, spiders, etc.), then the first user hitting the user map page as their first page seems rather low. I'll do it in the next version, but not going to bother with a version just for that. |
Any idea when the next version might be coming then?
Also, The errors showed up for a user that was logged in using Safari. When she logged out and back in later, she didn't get the errors. So it also seems to happen sporadically under certain conditions. |
Well the only time it should happen is if no one has been on the forum (logged in, spiders or guests) in whatever time the session window is set to. And even then it probably is only going to happen if the first page view of the user is on the user map page (basically the request that creates the session).
|
My point was that is does happen, though.
|
Code:
Warning: Invalid argument supplied for foreach() in+[path]/usermap.php+on line+128 It could be the caching causing it when it renews the cache. |
Does anyone have a step by step guide on how I install this GeoIP PHP extension please? http://www.maxmind.com/app/php Just gives a download link but no instructions... Thanks
|
Quote:
As root: Debian / Ubuntu Code:
aptitude install php5-geoip Code:
yum install php5-geoip Done |
Ok So I got the host to install this extension, the map thing appears now but it is a big white box and these errors are above it:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/global.php(29) : eval()'d code on line 60 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 128 Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 133 Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 152 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line Any ideas? |
Quote:
|
Quote:
|
Excellent update, Shawn. No more errors. Thanks for the fix, sir. ;)
|
Hi,
I did install the GeoIP extension is said to have installed in the VPS, but the map does not beep. I wonder what could be the problem? Link : http://www.turkiyemotosiklet.org/usermap.php |
Did you upload the files GeoIP dat files?
|
Quote:
Before you install the downloaded after giving an error that the error has been lost. |
Not sure to be honest... you have so many JavaScript errors on that page (unrelated to the map) that the browser probably just stops executing all JS (which is what the map uses to run). The good news, is it looks like the GeoIP extension is installed properly because if you look at the source of the page, it has the long/lat that it *wants* to plot.
|
Quote:
Can not you tell me wonder if the existing errors? :confused: |
I have come a long way in my education and have revisited this mod. I was able to get it working by adding geoip.custom_directory = /var/lib/GeoIP/ to my php.ini.
One question if I may.. I would like this turned off for certain usergroups. It doesn't need to be an option for them, I would just need to know what code to add to stop the display of certain usergroups. Is that a possibility? Thanks for the GREAT mod :) |
You want to have them not show on the map, or not see the map?
|
Not show up on the map at all. Like, top level admins not show up on the map.
|
1 Attachment(s)
Installed on the server. Template shows up but not the actual MAP.
install.php shows Geoip geoip support enabled geoip extension version 1.0.7 geoip library version 1004005 Directive Local Value Master Value geoip.custom_directory no value no value Changed to see if it works. $user_location = geoip_record_by_name($_SERVER['REMOTE_ADDR']); Thanks for the help! |
What's the URL where you have it running?
|
Quote:
|
I love this mod I have just never been able to get it to work. Who can I pay to set this up for me?
|
Hello,
is it possible to show, which user come from which country/town? |
Quote:
|
yes but for a guild is that perfect :)
But thanks alot. |
Thanks.
|
Just got my host (Site5) to enable the GeoIP PHP extension but i'm stuck with these errors and no map!!
Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/local/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 166 |
Did you check the obvious?
(that the file /usr/local/share/GeoIP/GeoIPCity.dat exists) |
Hello,
I'm looking for a version of this mod without geoip and user's point manually where they live. (geoip not installed on my server) Thanks |
I'm having a similar error as above....
Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100 /var/lib directory only contains GeoIP.dat where do I acquire GeoIPCity.dat? Edit: Figured it out. I copied GeoLiteCity.dat to /var/lib/GeoIP directory and renamed it to GeoIPCity.dat and it did the trick. Great mod, thank you! |
1 Attachment(s)
SOLVED
It shows the map but doesn't show users on it for some reason. Who's online list for forum (near footer) shows users but doesn't display on this map. IP address also shows on forum so I tried changing to $user_location = geoip_record_by_name(IPADDRESS); Appreciate help. EDIT: I had to set up which usergroups showup on the map. |
Ok, so my server is a shared server, and they will not install GeoIP.
Here's the conversation thread: I'm attemping to install a mod to my vBulletin 4 forum - www.pbriot.com. The mod is: https://vborg.vbsupport.ru/showthrea...=digital+point You can see an example of what the mod does here: http://forums.digitalpoint.com/usermap.php The instructions for the mod indicate that I must have GeoIP (a free PHP script) installed on my server. I'm not sure if this is something I can do myself, or not, but simply uploading the files via FTP for GeoIP didn't do the trick (surprise, surprise ). The error I am getting is this: http://pbriot.com/usermap.php Please let me know what I can do to get this up and running, thank you for your help! They respond: I'm sorry, but our servers don't meet the pre-requisite software requirements needed in order to run geoip. You're free to experiment with compiling/installing these requirements in your own account, however that is not something that we will be able to assist with. Let us know if we can help with anything else, or if you have any additional questions. When I asked further, it was basically "we need to maintain the same environment on all 2500+ servers, and we can't implement a massive thing like that for your request" At any rate - he suggested that I could try installing myself... I just have no clue how to do that - any ideas - can you point me in the right direction, anyone? Thanks! |
I'm installed today very nice mod working perfect..
http://i-comers.com/usermap.php Installed & Tagged also MOTM i hope next feature can display avatar and username also postcount in map when click the balloon/pin google map :D Thanks :) |
Hi, I run three vb4 forums
I've installed Digital Point User Map on all three, the users like it ! I have one issue, on two forums the map shows guests as spiders, i cannot see why the setup is the same for all three systems ( on the same server) they are simply vhosted sites on one server. http://www.myamicus.co.uk/usermap.php - guests seem to show as spiders http://www.protonbasic.co.uk/usermap.php - i'm sure guests are showing as spiders AND i have a few users with user id 16, i dont think they show at all http://www.picbasic.co.uk/forum/usermap.php - seems to show users as i'd expect. any help would be appreciated. |
Do you have different usergroups possibly for the two forums?
|
Hello, yes there are differenet user groups on the forum protonbasic.co.uk
on that forum many users are in a group with id 16 and a few in groups with other ids. I've entered the admin and mods with id' of 95 96 97 etc they seem to show up on the map looking atnthe xml file it should cater for anything greater than 3, but it does not seem to do so.. how do i add specifc id's fro registered users as you have actered for with the mods and admins. |
All times are GMT. The time now is 11:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|