![]() |
GeoIP has been re-installed and I am still having the same problem...
The template is there but no map.. Anyone? Please? Quote:
Quote:
|
What version of vBulletin are you using?
|
Quote:
Thanks for the reply! |
What's the URL?
|
Since it is not my forum I will PM you the url?
Thanks :) |
It's choking because you have no $_SERVER['REMOTE_ADDR'] set to determine the location of the user looking at the page.
Maybe some weird security system where somewhere along the way it unsets $_SERVER globals? At the end of the usermap.php, change this: PHP Code:
PHP Code:
|
nah didn't work. I don't think they have anything out of the ordinary installed.
Thanks for looking into it for me. |
Well either way, $user_location isn't getting a valid array. So either $_SERVER['REMOTE_ADDR'] isn't set properly or geoip_record_by_name() isn't working... but I assume geoip_record_by_name() is working because it's able to look up addresses from the session table.
|
I will look into it further. Thanks!
|
I confirmed that the GeoIP files exist on my server, uploaded the usermap.php file to my Forums folder, imported the xml file, and rebooted the server.
I get User Map listed in the Community dropdown, but when I click on it I get the 500 Internal Server Error. Any direction would be appreciated. |
Have you checked your error logs for your web server? It should give you some detailed info about the internal server error.
I would double check that the geoip extensions are not only installed, but also the necessary databases (maybe your server sees the function, but it's missing the DB files... although I would think the function would throw an error then). |
How I can add What's Going On? (view map) like digital point?
"There are currently 1,819 users online. 364 members and 1,455 guests (view map)" Also is it possible list user-groups separately? with original forum html colour? |
Installed ..thank you ... :up:
Anyone else have their Registered members (supposed to be green) showing up in RED as Admin/Moderator group? Is there somewhere to configure this so Admins DO NOT show up? Thanks .. :) Regards, Badger Edit: How about this question. Is there some way to simply have this mod re-start and re-gather information from scratch, to reset the pins on the map to a current state? .. thanks ... :) |
Is it possible to add GeoIP PHP via .htaccess? I use shared hosting and hosting's owner do not want to add GeoIP PHP :/
|
Is there an easy way to modify the main user generation query to show folks who have been online in the last 30, 60, or 90 days?
|
if you showed a pin for everyone that was online in the last 90 days you probably would crash the web browser with trying to dynamically place so many pins.
|
Is this the download link for the stuff my provider has to install?
http://pecl.php.net/package/geoip I need the correct download link. |
Yes... that is a PHP wrapper for the C API, so you would need that also (installed first) if you don't have it already:
http://www.maxmind.com/app/c |
instaled http://pecl.php.net/package/geoip
instaled http://www.maxmind.com/app/c geoip on phpinfo. no, errors en error.log... but no map in screen, firebug message: syntax error [Break on this error] map.setCenter(new google.maps.LatLng(, ));\n usermap.php (line 353) firebug details: PHP Code:
|
I get the following error above the header:
PHP Code:
My host said they installed the php-geoip module. Did they forget something? |
Quote:
i have donwloaded the geolite city... Quote:
Quote:
solved... |
My website is hosted shared host work fine
http://www.maldiviandigital.com/usermap.php If u want ant info send PM |
Hi,
my provider stated I do have "mod_geoip" module, not GeoIP PHP extension :o(. Is there any way to get the map working ? (I assume - NO- but still hope ...) txs KH |
I'm seeing that all guests are showing as spiders. Any ideas?
|
I just installed this and have downloaded the files and uploaded them to there server. I am getting the following errors now and no map:
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 Any ideas what is happening? |
Figured it out. Apparently, I was not logged in when the errors were shown. Do I need to turn it off for guests then? Apparently, if there are no users and only guests on the site, is when the error occurs.
|
It should be fine if guests can/can't view as long as at least you have a user online.
|
Quote:
|
Hey digitalpoint,
I just tried to get this rolling on my new server today and am not having any luck. GeoIP is installed and can be seen here (http://www.nationofblue.com/info.php) Product is imported and USERMAP template is installed. The page loads but there is no Google Map. No errors are displayed anywhere. Tried to change $_SERVER['REMOTE_ADDR'] to IPADDRESS at the bottom of usermap.php as you mentioned previously with no different results. http://www.nationofblue.com/usermap.php Any thoughts? |
Hey digitalpoint, please ignore my previous post. The problem was that the usermap.css was not getting added to my styles directory in vbulletin_css. I am not sure why but manually creating it solved my problem.
|
Shawn, is there a way to set the width of the map? On a widescreen monitor is starts to repeat itself.
|
Awesome mod. Unfortunately don't have the extension needed.
|
What extension?
|
Quote:
|
Quote:
|
My host gladly installed the extension... for a small fee... but after install I get the no map thing. No errors. Trued changing the code to
$user_location = geoip_record_by_name(IPADDRESS); No luck. vBulletin 4.1.0 PL2 Suggestions? I would hate to have paid that install fee for a mod I cannot get to work :( |
Did they install the extension, but not the database that goes with it maybe?
|
How may I check?
|
You could make a PHP script with the following:
PHP Code:
|
Output of requested command is:
Array ( [1] => Array ( [available] => [description] => GeoIP Country Edition [filename] => /var/lib/GeoIP/GeoIP.dat ) [2] => Array ( [available] => [description] => GeoIP City Edition, Rev 1 [filename] => /var/lib/GeoIP/GeoIPCity.dat ) [3] => Array ( [available] => [description] => GeoIP Region Edition, Rev 1 [filename] => /var/lib/GeoIP/GeoIPRegion.dat ) [4] => Array ( [available] => [description] => GeoIP ISP Edition [filename] => /var/lib/GeoIP/GeoIPISP.dat ) [5] => Array ( [available] => [description] => GeoIP Organization Edition [filename] => /var/lib/GeoIP/GeoIPOrg.dat ) [6] => Array ( [available] => [description] => GeoIP City Edition, Rev 0 [filename] => /var/lib/GeoIP/GeoIPCity.dat ) [7] => Array ( [available] => [description] => GeoIP Region Edition, Rev 0 [filename] => /var/lib/GeoIP/GeoIPRegion.dat ) [8] => Array ( [available] => [description] => GeoIP Proxy Edition [filename] => /var/lib/GeoIP/GeoIPProxy.dat ) [9] => Array ( [available] => [description] => GeoIP ASNum Edition [filename] => /var/lib/GeoIP/GeoIPASNum.dat ) [10] => Array ( [available] => [description] => GeoIP Netspeed Edition [filename] => /var/lib/GeoIP/GeoIPNetSpeed.dat ) [11] => Array ( [available] => [description] => GeoIP Domain Name Edition [filename] => /var/lib/GeoIP/GeoIPDomain.dat ) [12] => Array ( [available] => [description] => GeoIP Country V6 Edition [filename] => /var/lib/GeoIP/GeoIPv6.dat ) ) |
All times are GMT. The time now is 01:02 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:
|