- Phiên bản XF tương thích
- 2.3
Description:
Shows members on a Google map.
Live example here: Bxen
(Example of Members map link)
(Example of Members map)
(Example when marker is clicked)
(Example of Options page)
(Example of User group permissions)
Features:
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:
Bxen
Additional Google Maps JavaScript API settings information here:
Bxen
Setup step 2:
Install the MaxMind updater add-on.
Bxen
Setup step 3:
Update the Options page with your GeoIp2 database path.
Setup step 4:
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'm on XenForo Cloud, what Destination path should I use?
A: Enter the following: internal_data/local/maxmind
Shows members on a Google map.
Live example here: Bxen
(Example of Members map link)
(Example of Members map)
(Example when marker is clicked)
(Example of Options page)
(Example of User group permissions)
Features:
- Members map is automatically updated once a month.
- All phrases start with membersmap_ for your convenience.
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:
Bxen
Additional Google Maps JavaScript API settings information here:
Bxen
Setup step 2:
Install the MaxMind updater add-on.
Bxen
Setup step 3:
Update the Options page with your GeoIp2 database path.
Setup step 4:
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'm on XenForo Cloud, what Destination path should I use?
A: Enter the following: internal_data/local/maxmind