Status
Not open for further replies.

fly

Customer
Maybe this is by design, I'm not sure. However, this only seems to show a pin for where the member signed up, not where they are located now. I was thinking it was just using the registration IP as a placeholder and the cron would eventually fix that. But it doesn't seem to be the case.

Is this by design or am I doing something wrong?
 
It can take a long time for the cron to process all users if you have a large forum :)
 
Threads 13,031 Posts 917,013 Members 968 Active Members 90

It's been running since Saturday. The cron option is 100. It should have pretty well been through everyone by now.
 
Looking at the cron file it seems as if it does indeed use the registration IP and only falls back to a post IP if the registration IP was missing (i.e. manually added from the AdminCP).
 
Then I'm totally confused. When you actually go to the member map in Chrome, it asks to use your current location. So is the goal to show where people registered from, or where they are now?
 
When you allow Chrome to share your location, it will update the pin - but not permanently. Chrome has no way of sending lat/long data back to MM to save to the database.

To permanently update the location you would have to turn on the "member can move pin" usergroup setting (no idea what it's actually called, sorry) and have the users drag the pin to their actual location (or the location they wish others to see, at any rate).

It would be a severe performance detriment to constantly search for their location based on their latest post.
 
Really? It would only be at most 100 at a time based on the cron. Doesn't seem like that would be bad, but I trust you guys. Thanks.
 
For your forum maybe, but there's plenty of forums out there vastly bigger than 100 members :)

We have to create our modifications with scaling in mind, so that they work on forums of all sizes. Creating a system that properly "rotated" all members would mean a lot of extra work for what in my opinion is not much extra benefit - possibly apart from travel forums, most people tend to register for forums while they're at home.
We created the pin drop feature to accommodate people who need to make manual alterations to their location.
 
I picked 100 because that's the default for the cron. Is there a difference between geo locating the registration IP or the current IP? Either way, not that big of a deal. It doesn't work very well for me in its current form, but that doesn't mean its not perfect for others.

;)
 
The difference is that the registration IP doesn't change, so once it's done the lookup for that user (or they manually placed the marker before the cron got to them) it never has to look that member up again. That means that - ignoring new members registering to the forum for the sake of this example - the cron job will eventually essentially process no users and thus cost no extra server resources.

If we were to go with the latest post IP, we would have to store the latest IP we looked up for each user and do another lookup if that IP had changed - but only if the user had not manually set their markers, which we'd need a separate flag for tracking. Not only is this significantly more expensive in terms of finding the users that have not been processed, but it would also mean that users with a dynamic IP that does not actually alter their physical location (f.ex. 1.1.1.1 and 1.1.1.2 both resolve to London, England - but the system has no way of knowing that) would get re-processed, wasting resources.

It's unfortunate, but sometimes these kind of concessions have to be made :(
 
Gotcha. That makes sense. Essentially you only have to parse the user list once.

That said, I'd love to see the ability to store and check the user's active IP along with some sort of flag when it changes for the cron to update it. Since they generally don't change THAT often, it might not make that much different on resources.
 
Definitely an interesting idea, would you mind re-posting it as a Feature Request? Thanks :D
 
Status
Not open for further replies.

Legacy Member Map

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
59
Customer rating
0.00 star(s) 0 ratings
Back
Top