描述
bbPress Live allows the display of information from a
bbPress 1.0 forum from inside a WordPress blog.
Specifically, it provides two new widgets:
- bbPress Forum List – Provides a list or table of forums
- bbPress Latest Topics – Provides a list or table of the latest topics
Each widget can be used multiple times, and configured individually.
There are also two functions for use in themes. These functions return a raw
php array which can be manipulated inside the theme:
bbpress_live_get_forums()
– Provides an array of forumsbbpress_live_get_topics()
– Provides an array of the latest topics
bbPress Live can only connect to a bbPress forum running bbPress with a version of
1.0 or higher. The bbPress blog must have XML-RPC enabled in it’s settings.
License
bbPress Live version 0.1.2
Copyright (C) 2008 Sam Bauers (http://unlettered.org/)
bbPress Live comes with ABSOLUTELY NO WARRANTY This is
free software, and you are welcome to redistribute
it under certain conditions.
See accompanying license.txt file for details.
Version History
- 0.1 :
Initial release - 0.1.1 :
Change order of arguments in get_topics methods
Fix bad markdown in readme file - 0.1.2 :
Sync up XML-RPC calls with latest bbPress methods
Add administration page for options
安裝
- Upload
bbpress-live.php
to your plugins directory - Activate the plugin through the Plugins menu in WordPress
- Configure your settings in the bbPress live section under the Plugins section
常見問題
- What parameters does the bbpress_live_get_forums() function accept?
-
The parameters are as follows:
$parent
integer|string The parent forum id or slug whose child forums are to be fetched. Default “0” means start at the root.$depth
integer The depth to which child forums of the parent forum will be fetched. Default “0” means no limit.
- What parameters does the bbpress_live_get_topics() function accept?
-
The parameters are as follows:
$forum
integer|string The forum id or slug whose child topics are to be fetched. Default “0” means get all forums.$page
integer The the page number to fetch. Default is “1”.$number
integer The number of forums per page. Default “0” means use bbPress’ default number per page.
評價
There are no reviews for this plugin.