Members map

Members map 2.8

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Shows members on a Google map.

Live example here: https://www.xf2addons.com/members/membersmap/

(Example of Members map link)

pic001.jpg


(Example of Members map)

pic002.webp


(Example when marker is clicked)

pic003.webp


(Example of Options page)

pic004.webp


(Example of User group permissions)

pic005.webp


Features:
  • Members map is automatically updated once a month.
  • All phrases start with membersmap_ for your convenience.
User group permissions:

By default the following two user groups are allowed to view the Members map:

Registered
Unregistered / Unconfirmed

Setup step 1:

Get your Google Maps JavaScript API key using this link:

https://developers.google.com/maps/documentation/javascript/get-api-key

Additional Google Maps JavaScript API settings information here:

https://www.xf2addons.com/threads/google-maps-javascript-api.511/

Setup step 2:

The free Ipapi allows 1000 IP lookups per month, which is only suitable for very small forums. A better way to go is to use the GeoIp2 database option.

https://www.xf2addons.com/threads/installing-the-geoip2-library.1132/

Setup step 3:

Update the Options page with your Google maps Key.

Setup step 4:

Give User group permissions to view the map.

Setup step 5:

Run the Cron entries for the Members map manually. This is only required upon initial setup. The Cron entries will automatically run once a month.

Database changes:

This add-on will create two tables in your database:

andy_members_map
andy_members_map_data

Questions and Answers:

Q: How much does the Google maps API cost?
A: It's free unless you have an extremely large forum.

Q: Can members manually set their location?
A: No.

Q: Can members opt out from the Members map?
A: Yes. They would need to uncheck their "Show your online status" in the Account preferences page and wait until the first of the month when the Members map cron entry runs.

Q: How accurate are the markers on the map?
A: Markers will not show exact locations.

Q: Can the markers not include usernames?
A: Yes there's an option for that.

Q: I would like to know how many users will be selected based on the Last activity days, how can I do that?
A: Add members/lastactivity to your forum URL.

Q: I have a subscription with ipapi.co and have a key, can I use that to overcome the 1000 per day limit with the free version?
A: Yes. Use the Ipapi key option.
Author
AndyB
Views
4,533
First release
Last update

Ratings

5.00 star(s) 2 ratings

More resources from AndyB

Latest updates

  1. See description

    Members map v2.8 changes: Info window now shows avatar and last seen date.
  2. See description

    Members map v2.7 changes: Remove no longer needed Add base URL in options page.
  3. See description

    Members map v2.6 changes: Added check empty condition for superglobal variable.

Latest reviews

Great plugin, one our xenforo community really enjoys! It's a nice quick way for a simple overview of all member locations.
Love this add-on and so do all of my members. It's pretty cool to see where all your members are coming from and it's also a nice feature to offer for premium (paid) members.
Top Bottom