- XF 兼容性
- 2.3.x
- 2.2.x
- 摘要
- Add addon for accurate user location during registration with database change in XF User table. Setup includes installing GeoIp2 library from this link: https://www.xf2addons.com/threads/how-to-install-the-geoip2-library.1132/
记录注册时的位置。
(注册位置排队示例)
(示例选项页面)
设置:默认情况下,此插件将使用ipapi.com根据用户的IP地址获取位置信息。然而,使用API不如使用GeoIp2库可靠。这里有一个链接解释如何安装GeoIp2库。https://www.xf2addons.com/threads/how-to-install-the-geoip2-library.1132/数据库更改:这个插件将向你的xf_user表添加一个名为'andy_register_location'的字段。
(注册位置排队示例)
(示例选项页面)
设置:默认情况下,此插件将使用ipapi.com根据用户的IP地址获取位置信息。然而,使用API不如使用GeoIp2库可靠。这里有一个链接解释如何安装GeoIp2库。https://www.xf2addons.com/threads/how-to-install-the-geoip2-library.1132/数据库更改:这个插件将向你的xf_user表添加一个名为'andy_register_location'的字段。