vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

betterthanyours 07-25-2012 05:23 PM

I already run a local iptocountry server
http://www.unrealkillers.com/iptocou...p=69.90.72.123

Is it possible to use the GeoIP database with this mod instead?

digitalpoint 07-25-2012 07:55 PM

Yeah, it ONLY works with GeoIP.

betterthanyours 07-26-2012 10:38 AM

Ok, can you tell me how I can use the database I am currently hosting? It is based on maxmind.

digitalpoint 07-26-2012 02:26 PM

It requires the normal geoip PHP extension.

goc-forum.de 07-29-2012 11:39 AM

I still had a problem. The support of my managed root server told me that:
"/usr/share/php/data/Net_GeoIP/data/GeoIPCity.dat" because of this problem which i posted here a few days ago:

"Warnung: geoip_record_by_name(): Required database not available at /usr/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php (Zeile 100)"

What must i (or the server support team) do to solve the problem?

digitalpoint 07-29-2012 05:12 PM

Just make sure the database is at the location given in the error.

goc-forum.de 07-30-2012 03:13 PM

The server support team told me that they can`t upload the files to this folder which you told me because this folder is open (root). They have now uploaded it to this folder:
/usr/share/php/data/Net_GeoIP/data/GeoIPCity.dat

They told me that I must adjust the script path if the script is not encrypted. Can you told me how i do this?

digitalpoint 07-30-2012 06:25 PM

Quote:

Originally Posted by goc-forum.de (Post 2352768)
The server support team told me that they can`t upload the files to this folder which you told me because this folder is open (root). They have now uploaded it to this folder:
/usr/share/php/data/Net_GeoIP/data/GeoIPCity.dat

They told me that I must adjust the script path if the script is not encrypted. Can you told me how i do this?

No, sorry... I've never tried to alter the database path of GeoIP. It would be a function of the GeoIP PHP extension, not the User Map script.

goc-forum.de 07-30-2012 06:33 PM

ok....

datoneer 08-21-2012 11:05 PM

How to fix when usermap.php is opening but map doesn't showing?

digitalpoint 08-22-2012 02:21 AM

Probably didn't install JavaScript file. What's the URL you have it running?

craigvm 09-12-2012 06:09 PM

i need to install GeoIP PHP extension, on my server but never done it so how easy is it and where to download it from

betterthanyours 09-16-2012 07:41 PM

1 Attachment(s)
Hi

Can anyone help me with this? The screen is blank for some reason. geoip is installed...

ti6 09-18-2012 08:14 AM

Ill tryed to replace the images with my own, but nothing happend. I have a Custom-Skin so i also put the images to the customized folder - same effect. Already cleared the System-Cache with no effect. Is there a hidden Tempfile somewhere? :confused:

digitalpoint 09-18-2012 03:09 PM

better - looks to me like geoip isn't installed (at least not completely).

Ti6 - There are no temp files (system writes no files on it's own).

betterthanyours 09-20-2012 07:42 AM

I installed it and the php.info shows geoip.php extension...any suggestions?

digitalpoint 09-20-2012 02:42 PM

Did you install the databases for it?

betterthanyours 09-22-2012 02:53 PM

I followed this tutorial
http://i.justrealized.com/2012/insta...-geoip-ubuntu/

And now im getting 500 internal error for www.unrealkillers.com/usermap.php

You can see phpinfo.php here:
Code:

www.unrealkillers.com/phpinfo.php

digitalpoint 09-22-2012 04:31 PM

You would need to have the GeoIP extensions installed on your server.

DirtRider 10-31-2012 08:46 AM

1 Attachment(s)
I installed it and when I click on the link I just get the following

M.C. 11-06-2012 05:06 PM

I have same iussue - empty page....

Quote:

Originally Posted by digitalpoint (Post 2358903)
Probably didn't install JavaScript file. What's the URL you have it running?

There is no JavaScript file in your archive.... only usermap.php and pins images

digitalpoint 11-13-2012 06:52 PM

Quote:

Originally Posted by M.C. (Post 2378913)
I have same iussue - empty page....



There is no JavaScript file in your archive.... only usermap.php and pins images

Have you checked your PHP error log by chance?

Something like that could be caused if you suppress PHP errors and there is an error (like maybe the geoip extensions not being installed).

M.C. 11-13-2012 07:03 PM

thanks, geoip installed... will check for any errors

pete_brady 11-15-2012 10:54 AM

just reinstalled this and it wouldn't work (page loaded but no map) without these two lines in php.ini

PHP Code:

extension=geoip.so
geoip
.custom_directory = /usr/share/GeoIP 

hopefully this might help some people

fworth 02-05-2013 03:20 PM

Hi, I get this error please advise:

Fatal error: Call to undefined function geoip_record_by_name() in /home/astrokee/public_html/forum/usermap.php on line 100

I try to get them to install geoip but they want to know this:

Could you please provide the system requirements for the installation of GeoIP extensions?

What do I tell them?

Thnks Lore


I got it activated. :)

fworth 02-05-2013 08:13 PM

I got them to install GeoIP but I still get the same error:

Fatal error: Call to undefined function geoip_record_by_name() in /home/astrokee/public_html/forum/usermap.php on line 100

Please help?

digitalpoint 02-06-2013 06:34 PM

It's not installed.

tommythejoat 07-19-2013 06:11 PM

Our server is running cPanel and I installed the net-Geoip package using Pear. I am guessing that I need to get the other one and install it. (Net_GeoIP 1.0.0)

I had hoped they were the same. :(

The mod does not link anything into my Navbar and I get a blank page if I create a link for usermap.php under Community and click on that.

We have an app running under Joomla on the same server that provides a Google map view of our business members. It would be nice if there were something kind of standard out ther for this type of work.

tsptom 08-30-2013 11:33 PM

Not sure if this is still supported. I also get a page loaded with no map.

php.ini updated with:

extension=memcache.so
extension=geoip.so
;geoip.custom_directory=/usr/local/share/GeoIP

GeoIP installed (seems to be working).

Code:

<html>
<body>
<?php
$country_name = apache_note("GEOIP_COUNTRY_NAME");
print "Country: " . $country_name;
?>
</body>
</html>

Returns "Country: United States"

Reinstalled software (just in case).

Any ideas? Thanks.

digitalpoint 08-31-2013 07:39 PM

What's the URL where you have it installed?

tsptom 09-01-2013 02:00 AM

<a href="http://www.tsptalk.com/mb/usermap.php" target="_blank">http://www.tsptalk.com/mb/usermap.php</a>

digitalpoint 09-01-2013 04:44 PM

Looks like maybe you don't have the GeoIP city database installed (the country database is different)?

tsptom 09-02-2013 03:07 AM

Thank you!. Seems to have done it.

Mr_Running 12-15-2013 07:41 PM

Is this php5.4 compatible?

EliasAlucard 04-03-2014 07:40 PM

GeoIP is correctly installed and working, but DP User Map still isn't working:

http://www.forumbiodiversity.com/usermap.php

It's just blank, not sure why?

Diego Vargas 04-23-2014 06:05 AM

Any pointers on how to extend this so either the user pins had the member name or the KML contianed the forum user name ? Would be nice to see who was where.

goxy63 07-09-2014 06:52 PM

think that you cant use this if you are on shared server :(

s_cocis 07-25-2014 09:36 AM

Hello,
my maps is not visible :(

http://www.forumcani.it/usermap.php

phpinfo:
http://www.forumcani.it/TEST/phpinfo.php

file:
-rw-r--r-- root root 17671292 /usr/local/share/GeoIP/GeoLiteCity.dat

test page:
http://www.forumcani.it/TEST/test.php


thz for your support.

s_cocis 08-01-2014 06:13 PM

hi, can you help me ?

Tamara-Jasmin 08-18-2014 12:47 PM

Hi, ich finde nicht einmal den Punkt, wo man das aufrufen kann. Und wenn ich meine Url und usermap.php aufrufe, kommt nur eine weisse Seite ... :(
Leider ist keine ausf?hrliche Beschreibung dabei - Schade - funktioniert halt nicht.

Liebe Gr?sse:
Tammy


All times are GMT. The time now is 05:55 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
  • Page Generation 0.01545 seconds
  • Memory Usage 1,794KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete