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)

digitalpoint 04-21-2012 03:55 PM

What's the URL?

Flightbase 04-22-2012 07:39 AM

<a href="http://www.soaring-challenge.com/usermap.php" target="_blank">http://www.soaring-challenge.com/usermap.php</a>

digitalpoint 04-22-2012 08:49 PM

Quote:

Originally Posted by Flightbase (Post 2322421)

Do you have the geoip PHP extensions? It looks like it might not be (or maybe the extension is installed, but without the database file)?

Flightbase 04-24-2012 04:40 PM

Hi,

Code:

root@rcns:~# dpkg -l |grep geo
ii  geoip-bin                          1.4.8+dfsg-1ubuntu1                    IP lookup command line tools that use the GeoIP library
ii  geoip-database                    20110709-1                              IP lookup command line tools that use the GeoIP library (country database)
ii  libapache2-mod-geoip              1.2.5-2                                GeoIP support for apache2
ii  libgeoip1                          1.4.8+dfsg-1ubuntu1                    non-DNS IP-to-country resolver library
ii  php5-geoip                        1.0.7-3                                GeoIP module for php5

Code:

root@rcns:~# ls -hal /usr/local/share/GeoIP/GeoLiteCity.dat
-rwxr-xr-x 1 nikwww www-data 16M 2012-04-21 16:06 /usr/local/share/GeoIP/GeoLiteCity.dat

all services were restarted after placing the .dat file there.

greets, Nik

datoneer 04-26-2012 02:03 PM

My host told me this:

Can you please ask if there is any specific way or trick for centos and/or cpanel?

They also said that from here: http://imspot.org/info.php you can see that mod_geoip is loaded under the "Loaded Modules" section.

digitalpoint 04-26-2012 08:26 PM

You have an Apache module for it (you don't need that)... You want a PHP module for it.

http://pecl.php.net/package/geoip

datoneer 04-27-2012 08:15 AM

Ok, i see usermap page now just can't see the map.

Now this error shows under usermap:

Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /opt/geoip/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100

Can you explain me what to do now to fix it?

digitalpoint 04-27-2012 07:14 PM

My first guess would be that you don't have the required database at /opt/geoip/share/GeoIP/GeoIPCity.dat :)

datoneer 04-28-2012 05:46 AM

It's working. Thanks dp

paulket 05-25-2012 10:33 PM

Link to map is lost in the Community drop-down with upgrade to 4.2.0


All times are GMT. The time now is 04:24 AM.

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.01450 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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