Title: bbPress Topic Location
Author: grosbouff
Published: <strong>2012 年 5 月 31 日</strong>
Last modified: 2020 年 1 月 23 日

---

搜索插件

![](https://ps.w.org/bbpress-topic-location/assets/banner-772x250.jpg?rev=728839)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/bbpress-topic-location_fffff9.svg)

# bbPress Topic Location

 作者：[grosbouff](https://profiles.wordpress.org/grosbouff/)

[下载](https://downloads.wordpress.org/plugin/bbpress-topic-location.zip)

 * [详情](https://cn.wordpress.org/plugins/bbpress-topic-location/#description)
 * [评价](https://cn.wordpress.org/plugins/bbpress-topic-location/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bbpress-topic-location/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bbpress-topic-location/#developers)

 [支持](https://wordpress.org/support/plugin/bbpress-topic-location/)

## 描述

This plugin brings topics geolocation to bbPress, and can filter topics by location
and radius.
 It has been originally developped for a classified ads forum.

#### Features

 * Works both for frontend & backend
 * Users can set the location of a post manually or automatically (HTML Geolocation
   API)
 * Geocoding using the [Nominatim API](https://nominatim.openstreetmap.org/) by 
   [Open Street Maps](https://www.openstreetmap.org/)
 * Search posts by location and radius

#### Demo

We don’t have a running demo anymore. If you use this plugin and would like to be
featured here, please [contact us](https://github.com/gordielachance/bbpress-topic-location/issues/1).

#### Donate

Donations are needed to help maintain this plugin. Please consider [supporting us](http://bit.ly/gbreant).

This would be very appreciated — Thanks !

#### Bugs/Development

For feature request and bug reports, please use the [Github Issues Tracker](https://github.com/gordielachance/bbpress-topic-location/issues).

If you are a plugin developer, [we would like to hear from you](https://github.com/gordielachance/bbpress-topic-location).
Any contribution would be very welcome.

## 屏幕截图

 * [[
 * Topic edition (frontend)
 * [[
 * Topic in topics list
 * [[
 * Topic edition (backend)
 * [[
 * Search results, with (bbPress) Geo Search Widget on the side

## 安装

 * Copy this plugin directory to `wp-content/plugins/`.
 * Activate plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

「bbPress Topic Location」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ grosbouff ](https://profiles.wordpress.org/grosbouff/)

[帮助将「bbPress Topic Location」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bbpress-topic-location)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bbpress-topic-location/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/bbpress-topic-location/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/bbpress-topic-location/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bbpress-topic-location/)。

## 更新日志

#### 1.0.9

 * handle ‘HTML Geolocation API’ requires HTTPS better

#### 1.0.8

 * 5 years after, it’s alive again !
 * updated for WP 5.3.2
 * code cleaned and improved
 * SCSS
 * geocoding using (Nominatim API)[https://nominatim.openstreetmap.org/]
 * HTTPS notice

#### 1.0.7

 * Added admin settings
 * New template functions bbptl_post_has_geo(), bbptl_post_address(), bbptl_get_post_address(),
   bbptl_post_latitude(), bbptl_get_post_latitude(), , bbptl_post_longitude(), bbptl_get_post_longitude()
 * Added class ‘has-location’ for topics and replies having a location
 * Various code improvements

#### 1.0.6

 * Minor

#### 1.0.5

 * Allow to get results without search terms set (see functions bbpress_add_dummy_keyword
   and bbpress_remove_dummy_keyword)

#### 1.0.4

 * improved location form input & javascript
 * when geolocated posts are found, displays distance between origin point and post
   location
 * bbPress custom search widget, with geolocation parameters
 * ability to search forum posts by location (and radius)
 * code refactoring

#### 1.0.2

 * ‘Guess my location’ now returns a readable address instead of coordinates
 * 2 new files : bbptl-ajax.php & bbptl-template-tags.php
 * Uses native bbpress functions
 * Bugs fixed
 * Clode cleanup

#### 1.0.1

 * Screenshots, readme update, css fixes.

#### 1.0.0

 * Initial launch

## 额外信息

 *  版本 **1.0.9**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bbpress-topic-location/)
 * 标签
 * [bbPress](https://cn.wordpress.org/plugins/tags/bbpress/)[geocoding](https://cn.wordpress.org/plugins/tags/geocoding/)
   [geolocation](https://cn.wordpress.org/plugins/tags/geolocation/)[open street map](https://cn.wordpress.org/plugins/tags/open-street-map/)
 *  [高级视图](https://cn.wordpress.org/plugins/bbpress-topic-location/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/bbpress-topic-location/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bbpress-topic-location/reviews/)

## 贡献者

 *   [ grosbouff ](https://profiles.wordpress.org/grosbouff/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bbpress-topic-location/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://bit.ly/gbreant)