Title: bbAggregate
Author: BjornW
Published: <strong>2010 年 8 月 23 日</strong>
Last modified: 2010 年 8 月 25 日

---

搜索插件

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

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

# bbAggregate

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

[下载](https://downloads.wordpress.org/plugin/bbaggregate.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/bbaggregate/)

## 描述

> THIS PLUGIN IS NOT MAINTAINED ANYMORE!
>  For historical purposes this plugin is
> still online. The general concept could still be useful, the code is probably 
> not working and horrible outdated.

Create streams of sitewide aggregated content from your multisite WordPress installation
with bbAggregate.

A stream contains posts from those blogs allowed to participate in the stream. Anyone
writing posts can add his/her post to one or more streams.
 The streams are shown
by using a specific page template. (see also the examples directory). It offers 
functionality similar to the sitewide categories / global terms, but with more control
and (hopefully) less buggy behaviour.

This plugin adds two database tables to your installation:

 * $prefix_bbAggregate_item (links an item to a stream)
 * $prefix_bbAggregate_stream (contains the stream info)

NB: This plugin is only useful for a WordPress Multisite installation in which multiple

blogs are being used.

#### How does it work?

First, you create a stream (neccessary user capabillity: ‘manage_options’,admin 
role works perfectly). (See screenshot-4.png)
 It is recommended to only use letters,
numbers and underscores or dashes in the stream name. Spaces in the name may cause
problems at the moment.

Streams are defined by a name, a description (which is saved but not yet accessible
for public use) and some options (see screenshot-5.png) such as:

 * maximum number of posts (limits the total amount of posts in a stream)
 * maximum number of posts per blog (limits the amount of posts per blog in a stream)
 * number of posts per page (limits the amount of posts per page. Pagination is 
   included)
 * excluded blogs (blogs which have been explicitly excluded from using this stream.
   Posts from these blogs will not be shown in this stream)

After creating a stream (See screenshot-6.png and screenshot-7.png), create a post
in a blog which is not excluded from this stream. Below the Post Editing Area you
will see a new metabox called
 Streams (see screenshot-8.png) with a list of available
streams (streams which have excluded this blog are not shown). By ticking the checkbox
in front of the stream name you’ve added your post to this stream. Every user able
to add a post may add his/her posts to the streams shown.

To show a stream of content you (or the theme designer of the theme you use) need
to prepare the theme for showing the items. You need a page template
 for this. 
An example of this can be found in bbAggregate/examples and the template is called:
bbAggregate-template-aggregated-posts. For now you can copy it into the directory
of your active theme so you can test bbAggregated. Keep in mind though that it will
not use your theme’s style! Create a page in the blog where you also have copied
the page template and select the Aggregated Posts template as the page’s template.
Add the customfield with the name ‘bbagg_stream’ (without quotes) and customfield
value the exact(!) stream name of the stream you want to show (see screenshot-11.
png). By the way, the example page template the custom field name is hardcoded, 
but you can change it in the template as long as you also use the new name for your
customfield. After adding the customfield name and value and publishing the page
you can view the page and you should now see your post part of the stream’s aggregated
content (see screenshot-12.png).

_Note_: The stream default options can be changed sitewide by visiting the Super
Admin->Options (See screenshot-9.png). Look for ‘bbAggregate sitewide defaults’ (
see screenshot-10.png). After changing
 the options’ values and saving the changes
new streams will use your new defaults. This can only be done by users with super
admin rights. Keep in mind that streams are sitewide. Thus streams created in blog
1 are also visible in the bbAggregate settings of blog 2.

### TODO

Feel free to send patches 😉

 * Remove database tables upon delete of plugin
 * Add .po and .mo files for translations
 * Create php doc files

## 屏幕截图

[⌊Plugins administration interface with bbAggregate Network Activate highlighted⌉⌊
Plugins administration interface with bbAggregate Network Activate highlighted⌉[

Plugins administration interface with bbAggregate Network Activate highlighted

[⌊bbAggregated has been activated (note the plugin activated message, top left corner)

and the settings 
button is highlighted.⌉⌊bbAggregated has been activated (note 
the plugin activated message, top left corner) 
and the settings 
button is highlighted
.⌉[

bbAggregated has been activated (note the plugin activated message, top left corner)
and the settings button is highlighted.

[⌊Streams overview screen and streams create section highlighted⌉⌊Streams overview
screen and streams create section highlighted⌉[

Streams overview screen and streams create section highlighted

[⌊Creating the stream 'Technology'⌉⌊Creating the stream 'Technology'⌉[

Creating the stream ‘Technology’

[⌊Showing the extra options of the 'Technology' stream⌉⌊Showing the extra options
of the 'Technology' stream⌉[

Showing the extra options of the ‘Technology’ stream

[⌊Finishing the creation of the 'Technology' stream by setting the options and adding
a description⌉⌊Finishing the creation of the 'Technology' stream by setting the 
options and adding a description⌉[

Finishing the creation of the ‘Technology’ stream by setting the options and adding
a description

[⌊The stream has been created⌉⌊The stream has been created⌉[

The stream has been created

[⌊Adding a post to a stream. Streams are highlighted⌉⌊Adding a post to a stream.
Streams are highlighted⌉[

Adding a post to a stream. Streams are highlighted

[⌊Super Admin options highlighted⌉⌊Super Admin options highlighted⌉[

Super Admin options highlighted

[⌊bbAggregated sitewide options shown⌉⌊bbAggregated sitewide options shown⌉[

bbAggregated sitewide options shown

[⌊Add a page on which a stream can be shown. Highlighted are the page template and
the customfield, both necessarry to show aggregated content.⌉⌊Add a page on which
a stream can be shown. Highlighted are the page template and the customfield, both
necessarry to show aggregated content.⌉[

Add a page on which a stream can be shown. Highlighted are the page template and
the customfield, both necessarry to show aggregated content.

[⌊The result of the default page template used with the Twenty-Ten default theme.
Highlighted are the post from Testblog 3 in the Technoloy stream shown on
the main
blog and the pagination (not styled!)⌉⌊The result of the default page template used
with the Twenty-Ten default theme. Highlighted are the post from Testblog 3 in the
Technoloy stream shown on
the main blog and the pagination (not styled!)⌉[

The result of the default page template used with the Twenty-Ten default theme. 
Highlighted are the post from Testblog 3 in the Technoloy stream shown on the main
blog and the pagination (not styled!)

## 安装

 1. Unzip the plugin’s zip file
 2. Upload the bbAggregate directory to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu using Network Activate. This ensures
    that the plugin will work for all blogs (see screenshot-1.png).
 4. After activation (see screenshot-2.png) the plugin is installed. You can now start
    using the plugin. See Usage for more information about using the plugin.

## 常见问题

Feel free to ask questions 🙂

  Installation Instructions

 1. Unzip the plugin’s zip file
 2. Upload the bbAggregate directory to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu using Network Activate.
     This ensures
    that the plugin will work for all blogs (see screenshot-1.png).
 4. After activation (see screenshot-2.png) the plugin is installed.
     You can now start
    using the plugin. See Usage for more information about using the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「bbAggregate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bbaggregate)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

First version

## 额外信息

 *  版本 **1.0**
 *  最后更新：**16 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.01**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bbaggregate/)
 * 标签
 * [aggregate](https://cn.wordpress.org/plugins/tags/aggregate/)[aggregator](https://cn.wordpress.org/plugins/tags/aggregator/)
   [multisite](https://cn.wordpress.org/plugins/tags/multisite/)
 *  [高级视图](https://cn.wordpress.org/plugins/bbaggregate/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/bbaggregate/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/bbaggregate/)

## 捐助

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

 [ 捐助此插件 ](http://burobjorn.nl)