XF2 Add-on AndyB - Members map 2.2 - Xenforo Add-Ons

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,236
Reaction score
29,328
Points
113
NullCash
570,899
pic001.jpg

Description:
Shows members on a Google map.

Features:
  • Uses ipapi.co for location lookup.
  • Members map can be 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:

Google Maps JavaScript API

Setup step 2:
The Ipapi allows 1000 IP lookups per day, which is fine for most forums. If your map will show more than 1000 members, you can subscribe to Ipapi and get an Ipapi key to bypass this limit.

Get your Ipapi key using this link:

ipapi - IP Address Lookup and Geolocation API | No SignUp

Setup step 3:

Update the Options page with your Google maps and Ipapi keys.

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: How much does the Ipapi API cost?
A: It's $15.00 USD a month.

Q: Can I cancel my Ipapi subscription after a few days in order to be billed for just one month?
A: Yes. Make sure to disable the Members map cron entry after running it, that will prevent losing the map data.

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

Q: Can members opt out from the map?
A: No.

Compatible XF Versions 2.0 , 2.1 , 2.2
 

Attachments

  • Andy-MembersMap-2.2.zip
    48.9 KB · Views: 1

dtmajans

Member
XNullUser
Joined
May 14, 2022
Messages
442
Reaction score
0
Points
16
NullCash
2
modül için teşekkürler hocam saolasınız
 
Top