User map [Deleted]

CrispinP updated User map with a new update entry:

Updates, enhancements and bug fixes.

Bug fixes to 1.8:
  1. There was an error when View Individual Pins was ticked.
  2. Message Info map icon was missing if your template did not use FontAwesome. Now you're able to have a link.
  3. Fixed a bug which did not clear you from the map if you cleared the location
  4. Fixed a bug with the IP-address encoding.
  5. Fixed the Zoom-To-User when viewing an individual user.
  6. Fixed a bug in the heatmap which did not always show a clicked-on user.

Enhancements:...

Read the rest of this update entry...
 
and how exactly are people suppose to get this new version?
Meh, pm me your details and I'll refund you.

I'll spend all the time in the world fixing issues and trying to put enhancements in but I suspect you're going to be one of those storm-in-a-teacup users.

I do this in my spare time. Coding is not my day-job - there will always be teething issues. I will always work with people who constructively help me understand the problem and fix it.
 
/change-topic
I've had my account with FetchApp deleted as they cannot work out why things don't work with it. Their testing made me 20c richer :)

They have created a new one for me and I've updated the link so it should work. For those of you who have already bought, I PM'd the latest release to you (If I have not then please let me know!) and I create a new order for you in FetchApp so it should email you automatically next time. *Should*

C
 
Installed 1.8, was just messing around and noticed that when I uncheck Show Individual Pins then click on someone's card link, it takes me to them at the self-zoom level. When I check the Show Individual Pins box and do the same thing, it takes me to the map with the Default Zoom level.

Banned members have a pin on the map if their location is valid.

Probably not something that can be helped (you tell me) but it appears that if a member has not been online in a while, hovering over their pin shows nothing, clicking on it brings up their overlay member card. Other members that have been online more recently, hovering shows their name. I'm just guessing that this has to do with since last login, haven't looked deeply into it.

What does the Clustering option mean? Is that something that is supposed to transition to a heat map type of thing when a certain number of pins are close to each other? I wish that when you had 10 people that listed "USA" or "Maryland" as their location that is grouped these and showed a number with an exact co-located pin, because you have to zoom way into street level view before they separate. I'm not sure this has to do with the addon but likely the google...just a curious question, would be nice to have that shown, for clarity, otherwise when the user clicks a pin with 10 users on it they get a different user each time or something weird like that.

Looking good
 
Installed 1.8, was just messing around and noticed that when I uncheck Show Individual Pins then click on someone's card link, it takes me to them at the self-zoom level. When I check the Show Individual Pins box and do the same thing, it takes me to the map with the Default Zoom level.
I don't think I put the functionality in for the Individual pins. Will double-check and fix it.

Banned members have a pin on the map if their location is valid.

I don't actually exclude any users. Banned user posts still show up in threads unless you explicitly remove them.
I recently banned a user and he still shows up as do his threads which is ok for me.
I might try put in an option to show or exclude banned members.


Probably not something that can be helped (you tell me) but it appears that if a member has not been online in a while, hovering over their pin shows nothing, clicking on it brings up their overlay member card. Other members that have been online more recently, hovering shows their name. I'm just guessing that this has to do with since last login, haven't looked deeply into it.
Can you show me an example on yours? I make no destinction on user activity so cannot see why this would happen. Indeed on my maps it does not. https://www.landcruiserclub.net/community/usermap . Take a look at users in southern Ireland - there are a mix of active and inactive.

What does the Clustering option mean? Is that something that is supposed to transition to a heat map type of thing when a certain number of pins are close to each other? I wish that when you had 10 people that listed "USA" or "Maryland" as their location that is grouped these and showed a number with an exact co-located pin, because you have to zoom way into street level view before they separate. I'm not sure this has to do with the addon but likely the google...just a curious question, would be nice to have that shown, for clarity, otherwise when the user clicks a pin with 10 users on it they get a different user each time or something weird like that.

Clustering is what creates the heatmap. There is an option (Cluster Size) to change the point at which is switches from heatmap to individual pins. As for changing the way it clusters or changing where the clustered point is, I don't think I can change that - it's all up to Google and how the clustering is done. If I stumble across a way to change it I'll do so but

The overlapping pins is a difficult one. If lots of people, and there are, put London, UK as a location then it all resolves to the same place. If there is a duplicate location I move them by 10m I think so that they are not on top of each other. I could put in an option to specify the amount by which to move them but the problem will still be there. If you have lots of people in one place then you'll create a line so long they'll be no where near where they are.

Glad, on a whole, it's working.

@Freelancer
I worked out how to fix your group issue. Should hopefully have that in today.
 
The overlapping pins is a difficult one. If lots of people, and there are, put London, UK as a location then it all resolves to the same place. If there is a duplicate location I move them by 10m I think so that they are not on top of each other. I could put in an option to specify the amount by which to move them but the problem will still be there. If you have lots of people in one place then you'll create a line so long they'll be no where near where they are.
How about having a larger (or differently displayed) pin, when hovered over instead of username it says "xx users here" which is hyperlinked and when clicked it open a dialogue box listing the users (and they're username are clickable to open their members card). Much like post ratings does it ....
Screen Shot 2016-06-21 at 21.23.51.webp
 
Suggestion: Underneath the map, state how many users are displayed/included on the map. Eg. "Users on the map: 1,284." If the user is not on the map, also add "Update your Personal Details to add yourself".
Thus, this text on the page would still have to show even if the usergroup permissions were set.
 
How about having a larger (or differently displayed) pin, when hovered over instead of username it says "xx users here" which is hyperlinked and when clicked it open a dialogue box listing the users (and they're username are clickable to open their members card). Much like post ratings does it ....
View attachment 136270
That's not a bad idea. At the moment I rely on google clustering the maps for me. I would have to move the logic back to the server and work out the areas and groupings. Let me think about it. :)
 
Suggestion: Underneath the map, state how many users are displayed/included on the map. Eg. "Users on the map: 1,284." If the user is not on the map, also add "Update your Personal Details to add yourself".
That is doable. Quote straightforward.

Thus, this text on the page would still have to show even if the usergroup permissions were set.
This would be a change to the permissions methods. As it stands now, I think, the links and map are actually hidden if you don't have permissions.
Doing it your suggested way does add some more flexibility for the future though.
 
I'm using something similar to that I think. If you enable Show Individual pins, it should have single pin per location. Clicking on it causes the pins to explode out into individual pins.

I could not get that to work with the heatmap which is why they are separate. Perhaps this one is better?
 
How about having a larger (or differently displayed) pin, when hovered over instead of username it says "xx users here" which is hyperlinked and when clicked it open a dialogue box listing the users (and they're username are clickable to open their members card). Much like post ratings does it ....
View attachment 136270

Yes, as soon as you have two users in the same location, it should show only one pin and the pin should open a card with a list view of the user names.
 
1.8.1 still Server Errors...

Code:
Server Error Log
Error Info
ErrorException: Undefined index: map_location - library/Crispin/UserMap/ControllerPublic/UserMap.php:66
Generated By: xxxxxxxxxxx, 1 minute ago
Stack Trace
#0 /var/www/clients/client180/web812/web/library/Crispin/UserMap/ControllerPublic/UserMap.php(66): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 66, Array)
#1 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): Crispin_UserMap_ControllerPublic_UserMap->actionGetDrivers()
#2 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(50) "https://www.xxxxxxxxxxxxx.com/usermap/getdrivers"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(5) {
    ["viewType"] => string(3) "all"
    ["_xfRequestUri"] => string(20) "/usermap?viewuser=1/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

"getdrivers"? Isn't that a little bit proprietary?

And the old one:

Code:
Server Error Log
Error Info
ErrorException: Undefined index: map_location - library/Crispin/UserMap/ControllerPublic/UserMap.php:16
Generated By: xxxxxxxxxx, 5 minutes ago
Stack Trace
#0 /var/www/clients/client180/web812/web/library/Crispin/UserMap/ControllerPublic/UserMap.php(16): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 16, Array)
#1 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): Crispin_UserMap_ControllerPublic_UserMap->actionIndex()
#2 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(51) "https://www.xxxxxxxxxxxxx.com/usermap?viewuser=1/"
  ["_GET"] => array(1) {
    ["viewuser"] => string(2) "1/"
  }
  ["_POST"] => array(0) {
  }
}
 
Are you trying to view the location of a specific member? If so, what is different about him? I cannot for the life of me recreate that.
 
Back
Top Bottom