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)

x YNWA x 04-03-2011 09:10 AM

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?

digitalpoint 04-03-2011 06:25 PM

Quote:

Originally Posted by x YNWA x (Post 2180341)
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

Any ideas?

Did you by chance read the error message you posted? :)

x YNWA x 04-05-2011 08:42 PM

Quote:

Originally Posted by digitalpoint (Post 2180500)
Did you by chance read the error message you posted? :)

The hosting company said they had installed the database too, I even uploaded the database myself for them to move into the correct file. A day later they email me saying they put the DB in the wrong folder and it was working! So working fine now, I have two versions, One for when users registered and one which shows current online users.

Boofo 04-15-2011 08:58 AM

Excellent update, Shawn. No more errors. Thanks for the fix, sir. ;)

hassshasss 04-29-2011 08:29 AM

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

Boofo 04-29-2011 09:24 AM

Did you upload the files GeoIP dat files?

hassshasss 04-29-2011 09:27 AM

Quote:

Originally Posted by Boofo (Post 2189933)
Did you upload the files GeoIP dat files?

yes I've installed the server.
Before you install the downloaded after giving an error that the error has been lost.

digitalpoint 04-29-2011 09:28 AM

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.

hassshasss 04-29-2011 09:36 AM

Quote:

Originally Posted by digitalpoint (Post 2189936)
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.

I did not see this error page, javascript http://www.turkiyemotosiklet.org/usermap.php page.
Can not you tell me wonder if the existing errors? :confused:

sadaar 05-15-2011 03:23 AM

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 :)


All times are GMT. The time now is 10:16 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.01621 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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