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 09-13-2010 05:50 AM

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

junaid 09-14-2010 05:59 AM

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?

BadgerDog 09-17-2010 07:19 PM

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

Cust0ms 09-22-2010 11:04 AM

Is it possible to add GeoIP PHP via .htaccess? I use shared hosting and hosting's owner do not want to add GeoIP PHP :/

RWerksman 10-07-2010 12:42 PM

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?

digitalpoint 10-09-2010 03:25 AM

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.

Pro-eSports.com 10-12-2010 09:45 PM

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.

digitalpoint 10-13-2010 08:20 PM

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

joeldaviddc 10-14-2010 02:57 PM

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:

 case "india":
345 map.setCenter(new google.maps.LatLng(22.35007680.859375));
346 map.setZoom(4);
347 break;
348 case "oceania":
349 map.setCenter(new google.maps.LatLng(-23.805450144.140625));
350 map.setZoom(3);
351 break;
352 case "me":
353 map.setCenter(new google.maps.LatLng(, ));
354 map.setZoom(9);
355 break;
356 default:
357 map.setCenter(new google.maps.LatLng(24, -10));
358 map.setZoom(2);
359 break; 


Pro-eSports.com 10-14-2010 05:49 PM

I get the following error above the header:

PHP Code:

Warninggeoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/share/GeoIP/GeoIPCity.datin [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 /usr/share/GeoIP/GeoIPCity.datin [path]/usermap.php on line 158 

http://i107.photobucket.com/albums/m...1Oct142044.gif

My host said they installed the php-geoip module. Did they forget something?


All times are GMT. The time now is 08:56 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.01435 seconds
  • Memory Usage 1,752KB
  • 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_php_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