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)

Lester Wilson 08-20-2011 11:30 AM

From what i can deduce, custom user groups show as spiders on the user map. Is that the correct operation?

digitalpoint 08-20-2011 07:48 PM

No... it gets the user agents for what it considers spiders from here: includes/xml/spiders_vbulletin.xml (well really the datastore that stores that file, but that's the source of the datastore).

Lester Wilson 08-22-2011 06:25 AM

OK, thanks.

that's helped, i have it working now.

PBRiot 08-22-2011 09:26 PM

Quote:

Originally Posted by PBRiot (Post 2234344)
At any rate - he suggested that I could try installing myself... I just have no clue how to do that - any ideas - can you point me in the right direction, anyone? Thanks!


Any ideas from someone?

JasonP38 08-23-2011 12:05 AM

I'm running my site on 4.0.7 and when I installed this mod I got this.

Fatal error: Call to undefined function geoip_record_by_name() in /home/content/26/6775626/html/forums/usermap.php on line 100

Janmaat 09-05-2011 04:27 PM

I've asked my hoster to install the module geoip, so he did.

After installing this addon, I'm receiving the following error message:

Quote:

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

Warnung: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /usr/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php (Zeile 166)
Does anyone have an idea how I can fix this? :confused:

digitalpoint 09-05-2011 04:48 PM

Quote:

Originally Posted by Janmaat (Post 2242274)
I've asked my hoster to install the module geoip, so he did.

After installing this addon, I'm receiving the following error message:



Does anyone have an idea how I can fix this? :confused:

Did you check the obvious? (that /usr/share/GeoIP/GeoIPCity.dat exists)

Janmaat 09-06-2011 05:55 AM

Ahm, nope :erm:

I've asked my hoster to check it. Hopefully it will work soon.
Keeping you posted.

I'm really looking forward to running this great addon :)

Janmaat 09-06-2011 11:23 AM

Now it works perfectly :)

Janmaat 09-12-2011 08:47 AM

Some users respond that they can see only guests but no registered users, some also cannot see their own location. I as admin can see everything.

Is this a known issue?

digitalpoint 09-12-2011 05:09 PM

It shouldn't display differently regardless of the user. Are you able to confirm it yourself?

Janmaat 09-14-2011 09:27 AM

Yes!

After I have removed usergroup id# 6 from the settings in ACP to be shown as Admin on the user map, the user map is now showing only yellow pins (guests) and white pins (bots) but no green pins (registered users).

Lpspider 09-19-2011 01:51 PM

This plugin only works for currently active users, correct? Is there another mod (or an easy way to modify this) that would allow users to confirm their location and treat it as a quasi-permanent member map

grey_goose 10-13-2011 09:49 PM

Looks like a cool mod -- but my map is blank?

http://nwod.org/forum/usermap.php

digitalpoint 10-13-2011 09:53 PM

Are you sure? This is what I see at the URL...

https://vborg.vbsupport.ru/external/2011/10/43.png

datoneer 10-13-2011 11:30 PM

Ok here is my problem,
Linux Systems Administrator from hostgator told me this:
I've added the Net_GeoIP PHP module for you.

But still when i open user map i see this

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

digitalpoint 10-13-2011 11:52 PM

It's not installed then.

grey_goose 10-14-2011 12:09 PM

Quote:

Originally Posted by digitalpoint (Post 2256932)
Are you sure? This is what I see at the URL...

[high]* grey_goose scratches head and goes to ponder what foul trickery is at play
[/high]

Thanks :)

Dave Hybrid 10-22-2011 02:09 PM

Hi Shawn,

Any way to show this on forumhome?

Thanks, Dave.

Dave Hybrid 10-22-2011 03:01 PM

Code:

$forumusers = $db->query_read_slave("
    SELECT userid, usergroupid, ipaddress AS host, '' AS useragent, IF(usergroupid IN(" . iif($vbulletin->options['digitalpoint_usermap_admins'], $db->escape_string($vbulletin->options['digitalpoint_usermap_admins']), 0) . "), 1, IF(userid > 0, 2, 3)) AS sortorder
    FROM " . TABLE_PREFIX . "user AS user
    ORDER BY sortorder
    LIMIT 5000" . "
");

One other thing, I'm using the above code for registered users, is it also possible to have the pins link to the members profile, rather than Google Earth?

digitalpoint 10-22-2011 04:44 PM

No sorry, privacy issues and all that...

Dave Hybrid 10-22-2011 05:11 PM

No worries.

I installed, first a got a complete blank page, i installed the php add-on and now the page loads and in see the icon key but no map.

http://www.travel-fans.com/usermap.php

Any guidance appreciated.

digitalpoint 10-22-2011 05:50 PM

You sure you have the geoip extension installed on your server?

Dave Hybrid 10-22-2011 06:20 PM

Liquidweb are doing it, nothing loaded at all before so i asume its installed now... dunno.

digitalpoint 10-22-2011 07:14 PM

If you go to your AdminCP -> Maintenance -> View PHP Info, you should see something along the lines of this if it's installed:

https://vborg.vbsupport.ru/external/2011/10/23.png

Dave Hybrid 10-22-2011 08:22 PM

Hi, thanks for helping,

Yes, its installed.

http://www.travel-fans.com/usermap.php

Still not getting the map however

digitalpoint 10-22-2011 10:32 PM

It looks like it works when I look on your site...

https://vborg.vbsupport.ru/external/2011/10/21.png

Dave Hybrid 10-22-2011 10:42 PM

Yeah, had to rename the geolitecity file as per another post here.

Might wanna put that in the install instructions, seems pretty common.

Thanks tho shawn, awsome mod.

mmoore5553 10-31-2011 06:19 AM

curious if there is a way to just have this put users on that have an option in profile to display on users map yes or no. I do not want all the users just some that say yes they do want it displayed. Let me know if this is something that needs payment then i am gladly willing to donate.

SEW810 11-01-2011 03:05 PM

Tagged. I'll try it soon.

strudinox 11-02-2011 07:57 PM

Thank you! Installed and working perfect.

tpearl5 11-02-2011 08:53 PM

FYI: Google Maps to charge for usage

I don't think many of you are hitting the 25k mark a day though.

Nelson58 11-12-2011 10:27 PM

No map just white.

geoip


geoip support

enabled



geoip extension version

1.0.8

geoip library version

1004008

Directive

Local Value

Master Value



geoip.custom_directory

no value

no value


They installed it on the server for me.
What did I do wrong?

digitalpoint 11-12-2011 11:18 PM

What's the URL?

Nelson58 11-12-2011 11:35 PM

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

Nelson58 11-13-2011 02:50 AM

http://www.hobby-machinist.com/usermap.php

Web host says he installed the dats files and it still doesn't work.

[root /usr/local/share/GeoIP]# ls
GeoIP.dat
GeoIPCity.dat

Get this error now: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@hobby-machinist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Have installed 3 mods for VBulletin 4.17, and this was the only one that didn't work.
Either more detailed instructions are needed for hassle-free installation, more debugging to foster ease of deployment, or this should be withdrawn IMHO. I plan to remove it.

Also, the inability to identify the users due to privacy, etc is a hassle. SMF has a mod for it that does just this, and when I installed it on SMF it worked right away without any problems, and showed the members and where they lived.


I would STILL like to know why this didn't work.

digitalpoint 11-13-2011 07:42 PM

Not sure why it would give an internal server error unless there was maybe something with the geo extension installed wrong on the server. Can you access the Apache log to see *why* it has an internal server error?

Nelson58 11-13-2011 09:58 PM

I don't have access to that- my webhosting company does. You cab speak to Frank Doud at GC Solutions, G.C. Solutions General Support <support@securegcwebhosting.com>, his web site is http://gcwebhosting.com/index.php.

He assured me it was installed correctly, including the data files. But I get that error. I don't know anything about installing this stuff on the server- I rely on Frank.

Thanks,


Nelson

Dave Hybrid 11-25-2011 04:10 PM

Did google change something today?

The key pins seem to be 404 on Googles server, so i edited the template to serve them locally but only I show on the map, just the 1 user.

I used to have a lot of pins at any given time.

Dave Hybrid 11-25-2011 07:49 PM

Also, when i zoom on the map, i get 2 to 3 goes and then the map hangs/freezes.

Any idea what is going on, it was fine a few days back.

Could something have happened with geoip on my server or is the Googles end.

Thanks.


All times are GMT. The time now is 11:01 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.01613 seconds
  • Memory Usage 1,815KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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