[AndyB] Members map

Premium XF2 Add-ons [AndyB] Members map 2.2
Shows members on a Google map.

Compatible XF versions
2.0, 2.1, 2.2
Description:

Shows members on a Google map.

(Example of Members map link)

4655



(Example of Members map)

pic002.jpg



(Example of Options page)

pic003.jpg



(Example of User group permissions)

4658



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 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.
  • Like
Reactions:Cipherlogix, Cold, Islam and 2 others
Author
FateKid
Downloads
3
Total Views
138
Released
Version
2.2
Rating
0.00 star(s) 0 ratings

More files from FateKid

Share this resource

Similar resources

[AndyB] Inactive members FateKid
Sends an email to your members once a month showing most popular topics.
0.00 star(s) 0 ratings
Downloads
0
[AndyB] Moderate new members FateKid
Moderates new member posts until minimum number of posts has been manually approved.
0.00 star(s) 0 ratings
Downloads
1
[AndyB] New members FateKid
Allows staff to see new members information.
0.00 star(s) 0 ratings
Downloads
0