![]() |
You are better off asking for improvements/feature requests on their site in the modifications forum.
|
Too bad its not supported here. Oh well.... :down:
Does anyone know of a working members map for 4.2.2? Thanks... |
Quote:
Quote:
Fillip |
Quote:
But, is there a logical reason why including the free MaxMind GeoIP-files and amaking your mod working with that files isn?t an option? Not only are they definitly more accurate, updated on a regular basis - this would give all users (even those on shared hosting) the possibility to install and use this mod. |
Just so I understand....
If I install mod_geoip on my server the results will be a bit more accurate? Also... do I want the legacy mod_geoip or the new mod_geoip2 D. |
Okay I installed this map hack at my forum, we have around 18000 users.
We do not have any geo ip php extension, but map is still showing users online, how it works!? Because users who were displayed in the city yesterday, they dissapeared , and on the same place there were displayed some other users. i choosen to display all registered users on map. |
Answers are all in this thread. This mod has a primary and a secondary method to locate users. If the primary fails (because mod_geoip isn´t available), method 2 kicks in. But as far as it seems, both methods don´t work very accurate. That´s what I can tell by the posts of others in this thread. Experiences may vary as usual.
|
Yeah unfortunately geolocation isn't an exact science. For instance, living in Glasgow (Scotland, UK) I frequently find myself being geolocated to London (England, UK). This is because the company that owns the IP address I'm connected to, has its registered access in London.
Some IP address blocks are registered to a more local office, but unfortunately it's not always possible to be 100% accurate. Then there's some IP addresses that flat out don't have a registered address, either because the registered address records are not public, or for some other reason unknown to me. The mod tries, it really does. That's all you can ask of the lad :p Fillip |
I've always thought a better approach for a Member Map is to allow folks to enter their home as a profile field entry and then have THAT produce a pin on a map. Some of us have a jury-rigged version of an old version 3 member map that did just that. I am always surprised that no one has managed to build a more recent version that functions reliably. But I'm not a coder, so certainly not implying it's easy.
|
I just installed mod_geoip on my server.
I think I did it correctly, however, the member map is no different afterwards. Do I need to wait for it to update the member map? Is there any way for me to test to see if it is working? D. |
Quote:
Fillip |
Is there a DB table or file I can clear so that it does the lookup again?
When I run the Cron it returns a value of 0 probably because it has already looked up the IPs already. D. |
Quote:
If you can't add it yourself or if your host will not then you're kind of screwed. Uninstall and move on is my best advice. :o |
Quote:
I'm not the original developer of this modification, so I don't know the table name off the top of my head. Fillip |
1 Attachment(s)
How do I make the background darker on the pin information area? It shows as white and I need it darker. screen shot is attached. And also how do I fix the icon to the left side?
|
I made a couple of modifications to this mod which are reasonably straightforward. Here are few tips if you want to make similar ones:
1) We didn't want an opt-out system, we wanted an opt-in system. To do so, before installing edit the XML so that the opt-out database flag is "1" by default for all users. Then change geoip_locate.php so it does do a location lookup even if someone is opted out (otherwise all users will have to find their pins at latitude/longitude 0,0). Finally to edit the "opt out" phrase to say "Do not show me on this map". Unchecking that box is how people opt in. 2) I made it so that a user's own pin is a different color from the rest of the pins. To do that, I edited membermap.php, appending to $colors with a usergroupid of "9999" with a color of "79604c". Then in the template dbtech_membermap_info template I set the "data-ugid" to 9999 for the user's marker. These aren't elegant ways to add those two features, but they are the simplest, requiring the least amount of code modification. I can type up step-by-step instructions to do the above if there are requests. I've got a couple of other ideas that sound simple to implement too: 1) making sure a user's pin is always on top to make it easy to find and drag, and 2) when a user's location is detected, the detected latitude and longitude should be offset by a random small amount and have that stored to the database instead. That helps avoid having many map markers stacked exactly on top of each other for those times that the GeoIP database gives the exact same location to all users in a given city (for example). |
More fix-ups for this plugin. To make it work on phones, you need to do a couple of things:
1) fix the super zoomed in view of your template: In the template dbtech_membermap_home, find the line that begins: <meta name="viewport" and replace it with: <meta name="viewport" content="width=device-width, initial-scale=0.5, maximum-scale=0.5, user-scalable=no" /> Your site's style may not look perfect with this setting, but it will help a lot. 2) Make it so that you can select markers and see the users, find this block of code: Code:
google.maps.event.addListener(marker, 'mouseover', function() Code:
google.maps.event.addListener(marker, 'click', function() |
Quote:
Thanks, Pete |
Quote:
STEP 1: In the template dbtech_membermap_info, find: Code:
<div title="{vb:raw user.username}" data-latitude="{vb:raw user.dbtech_membermap_lat}" data-longitude="{vb:raw user.dbtech_membermap_lng}" data-ugid="{vb:raw user.usergroupid}" data-myself="<vb:if condition="$vbulletin->userinfo['userid'] == $user['userid']">1<vb:else />0</vb:if>" data-move="<vb:if condition="$moveable">1<vb:else />0</vb:if>"> Code:
<div title="{vb:raw user.username}" data-latitude="{vb:raw user.dbtech_membermap_lat}" data-longitude="{vb:raw user.dbtech_membermap_lng}" <vb:if condition="$vbulletin->userinfo['userid'] == $user['userid']">data-ugid="9999" data-myself="1"<vb:else />data-ugid="{vb:raw user.usergroupid}" data-myself="0"</vb:if>" data-move="<vb:if condition="$moveable">1<vb:else />0</vb:if>"> Code:
foreach ($vbulletin->usergroupcache AS $ugid => $uginfo) Code:
//Add in a special color representing the current user Since these are manual edits, if you ever update the plugin to a new version, you may have to reapply these changes. |
Quote:
Pete |
For privacy purposes, how would one go about identifying just the logged in member; all other pins would NOT provide pop-up information.
|
Quote:
Fillip |
Thank you!
|
Hello, Is it going to be compatible with Vbulletin 5? It could be awesome! :)
|
We have no plans to add this to vB5 at the moment, sorry :(
Fillip |
I'm getting a java error coming up, is this something i'm doing wrong as it relates to a google api
|
Quote:
Oops! An error occured. Google Maps was not read correctly on the page. See the JavaScript console for technical information. . |
What does the JavaScript console say?
Fillip |
not sure if this is what you need
A Parser-blocking, cross-origin script, http://ajax.googleapis.com/ajax/libs...n-min.js?v=422, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. This browser is AJAX compatible Firing System Init Fire vB_XHTML_Ready Fetch Cookie :: vbulletin_collapse = 'cel_referral' A Parser-blocking, cross-origin script, http://kona.kontera.com/javascript/l...6/KonaHtml5.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. A Parser-blocking, cross-origin script, http://kona5.kontera.com/KonaGet.js?...user_|session_, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. Uncaught SyntaxError: Unexpected identifier getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. Google Maps API error: MissingKeyMapError https://developers.google.com/maps/d...-key-map-error GET http://pagead/html/r20160706/r20160707/zrt_lookup.html net::ERR_NAME_NOT_RESOLVED Google Maps API warning: NoApiKeys https://developers.google.com/maps/d...es#no-api-keys Google Maps API warning: SensorNotRequired https://developers.google.com/maps/d...r-not-required GET https://www.google-analytics.com/ga.js net::ERR_CONNECTION_REFUSED Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened. The devicemotion event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. No media_id found No media_id found PubTag [DEBUG]:Publisher Tag loaded PubTag [DEBUG]:Publisher Tag loaded COX.Service.fetchAds COX.Util.writeScript COX.Service.fetchAds COX.Util.writeScript GET https://pagead2.googlesyndication.co...FYszr_CBoUGHLU net::ERR_CONNECTION_REFUSED placing as2000004439707 placing as2000004439707 Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". COX.Service.fetchAds COX.Util.writeScript COX.Service.fetchAds COX.Util.writeScript placing as2000004355807 PubTag [DEBUG]:Publisher Tag loaded placing as2000004355807 Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Failed to load 'http://securepaths.com/securepaths.swf' as a plugin, because the frame into which the plugin is loading is sandboxed. COX.Service.fetchAds COX.Util.writeScript Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". placing as2000004355407 Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". GET http://pcdn01.sfo01.nsone.co/a/l.gif?t=or15bd net::ERR_CONNECTION_REFUSED GET http://pcdn01.sfo01.nsone.co/a/l.gif?t=zh8ih5 net::ERR_CONNECTION_REFUSED GET http://pcdn01.sfo01.nsone.co/a/l.gif?t=q1b2ee net::ERR_CONNECTION_REFUSED COX.Service.fetchAds COX.Util.writeScript placing as2000004355407 Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". GET https://www.googletagservices.com/dcm/dcmads.js net::ERR_CONNECTION_REFUSED PubTag [DEBUG]:Publisher Tag loaded COX.Service.fetchAds COX.Util.writeScript placing as2000004439707 Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". COX.Service.fetchAds COX.Util.writeScript placing as2000004355807 PubTag [DEBUG]:Publisher Tag loaded No media_id found No media_id found Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Failed to load 'http://securepaths.com/securepaths.swf' as a plugin, because the frame into which the plugin is loading is sandboxed. COX.Service.fetchAds COX.Util.writeScript placing as2000004355407 Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://ad.afy11.net/ad?mode=7&publisher_dsp_id=14&pmuservalue=B1A71DC0-21BE-40B4-95E4-7E01A412EEC6". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Uncaught TypeError: Cannot read property 'offsetParent' of null(…) Resource interpreted as Document but transferred with MIME type image/gif: "http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.IAB9,…PAIGN.0.0,,AD SIZE.728X90,ZIPCODE.14304,PUBLISHERDOMAIN.sportsca rdforum.com". Uncaught TypeError: Cannot read property 'display' of undefined(…) |
Hello,
I have installed dcmembermap https://vborg.vbsupport.ru/showthrea...ht=dcmembermap I have more than 100 pins from users now. Is it possible to import the pins from the users from dcmembermap to dbtech membermap? dcmembermap will not work with https or php >5.4 (it shows only a white screen) and I dont know how to fix that. |
Edit.. please ignore ..
|
Running v1.1.1 om vBulletin 4.1.3 Patch Level 8 and it seems to display and run fine for active members.. thanks..
However, when I watch the CRON job run, it finishes fine, but the screen display at the end says this? Quote:
Regards, Doug |
There was an API change that caused this mod to no longer function. I will update it as soon as I have time :)
Fillip |
Thank you very much Fillip .. appreciate the support and the very quick response... :up:
Regards, Doug |
Quote:
|
Quote:
Thanks ... :) Regards, Doug |
Quote:
Fillip |
Downloaded [DBTech] Member Map v1.1.2 from Dragonbyte site and it seems to have fixed the issue .. :up:
Thanks... Regards, Doug |
Member Map v1.1.2:
Fix: Fixed missing API Key causing the map to no longer load Fillip |
works fine on vB 4.2.3.
Thanks for updating! |
All times are GMT. The time now is 01:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|