[AndyB] Members map

[AndyB] Members map v2.5

  • Join us to download any resource for free. You will be able to download or guest post.
    Sign Up Now
  • All Passwords for this resource will be in "Updates" tab below.

Compatible XF 2.x versions
  • 2.0
  • 2.1
  • 2.2
Description:

Shows members on a Google map.

Live example here: https://www.southbayriders.com/forums/membersmap/

(Example of Members map link)

pic001.jpg


(Example of Members map)

pic002.jpg


(Example of Options page)

pic003.jpg


(Example of User group permissions)

pic004.jpg


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 Ipapi allows 1000 IP lookups per day, which is fine for most forums. If you want to show more than 1000 users on the map, 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 membersmap/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
kashif
Downloads
196
Views
196
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kashif

Latest updates

  1. Members map v2.5

    NA
  2. [AndyB] Members map v2.4

    Fixed issue with GeoIp2 exception error.

About us

  • Our community has been around from 2017 and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. Providing Free Resources to help newcomers/startups. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu