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)

jay5r 01-27-2011 02:06 PM

Just wanted to say thanks to Shawn. We PM'd and he suggested I didn't have the database installed correctly. I deleted the files, reinstalled and it works great now.

Quote:

Originally Posted by digitalpoint (Post 2154571)
What's the URL you have it installed at?

Quote:

Originally Posted by jay5r (Post 2154562)
Like Boofo I'm getting the following error...

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

But unlike Boofo, I'm logged in and there are users on the site (73 members, 410 guests)...

Any idea what the problem is?



jay5r 01-28-2011 11:50 AM

I installed it and users seem to like it. How hard would it be to modify? About 70% of my users want their screen names to show when you scroll over or click on their pin. Another 13% want to be able to opt out. Ideally I'd like screen names to show by default (being able to click to their member page would be incredible) and there be the option to set a persistent cookie that could either hide the screen name or completely opt-out.

digitalpoint 01-28-2011 05:53 PM

You couldn't do the opt-out with a cookie, would need to be something stored in the database since user A viewing it would need to know the opt-out setting for user B. It wouldn't be *terribly* hard for a programmer to do for you.

RustedBucket 02-15-2011 09:37 PM

Hey Shawn, any chance of making this work using membergroups?

digitalpoint 02-16-2011 01:24 AM

what do you mean exactly?

Valerio 02-25-2011 01:40 AM

Hello
I ask to my host to install the module and it did straight away, so i proceed with the installation and the result was:

Quote:

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 158
I ask to my host and he reply:

Quote:

hello,

Unfortunately the database it is requesting is not free: http://www.maxmind.com/app/products it is $370/site license.

The other issue is if you cannot specify where the database is located from within the script to reference a file from within your account files and directories rather than the backend server files and directories you will need to upgrade to a VPS or dedicated server.

Please let us know if there is anything else we can assist you with.
so?

TeknoSounds 02-25-2011 03:21 AM

Ask them to use/install the LITE version:

http://www.maxmind.com/app/geolitecity

Valerio 02-25-2011 09:31 PM

Fantastic, it work, Thank you digital point :up:

I open a ticket, and my host download the database in a folder into the root and change the path of php.

I'm very happy about that host.

The map visualize only the realtime users connected right?

Do you think it will be possible to add the nickname of the registered users to the map so when i click on a pin it appear the username of the registered user?

digitalpoint 02-25-2011 10:23 PM

No sorry... Too many privacy issues.

Boofo 02-25-2011 11:17 PM

Shaun, is there a way to suppress the foreach errors that show up if a guest clicks the link and no users are logged in?


All times are GMT. The time now is 06:03 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.01355 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