這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

BuddyPress Activity Stream as Blog Comments

外掛說明

This plugin will replace the main BuddyPress blog (for what BP is activated on) comments section with the activity stream reply system (threaded) and the (reply | favorite) links

This will remove the WP Comments reply section – only the site admin will have access to make traditional comment replies (you may adjust this in the theme file)

I consider this an experimental plugin showing how the activity stream can be more a main component across WordPress.

Requirements

  • Activity stream enabled
  • blog and forum activity stream enabled

Important Notes

Please see the FAQ – if you have an existing BP install with blog postings and comments you MUST run an additional plugin to import blog postings and comments into the activity stream (this is untested)

Currently no WPMU subblog support – looking for any brave souls to configure it properly. 🙂

Related Links:

Please report any bugs, ideas, concerns, etc – detailed.

Extra Configuration

Allow other members to use traditional blog comment reply

Edit the theme file theme/activitycomments/blogactivity-commments.php (you may want to copy this activitycomments/file to your default theme to prevent future updates from overwriting)

change the line

Where is_site_admin can be current_user_can() with the wp_cap level (lets say you want editors or authors to reply to comments in the traditional sense). Then additional blog_comments will show activity replies underneath as well. (a neat nested effect)

安裝方式

  1. Upload the full directory into your wp-content/plugins directory
  2. Activate the BuddyPress Activity Stream as Blog Comments on the plugin administration page
  3. If needed: Copy and modified the /theme/activitycomments/ files to your default theme (important to keep the folder activitycomments into the root default theme directory)

常見問題集

What theme edit is required?

If you do not use the default BuddyPress theme – you may copy the files in theme/activitycomments/ and drop them into your defaulttheme/activitycomments/ directory and adjust according to your needs.

See Extra Configuration for more.

I have existing blog comments, what happens to those?

This has been taken into consideration and this plugin will display previous blog comments but will REMOVE the old reply textarea box (only is_site_admin may reply in a traditional comment)

you MUST however run this plugin BP Import Blog Activity which tags each blog post and comment with activity stream data. This is a requirement in order to pull in activity stream data on a blog post.

I don’t see the activity stream on my blog post

The most important caveat here is an activity record against the blog post – without this – no activity stream data will appear (not even a reply/favorite)

How?

When a blog post (new_blog_post) or comment (new_blog_comment) is made – an activity record is created corresponding to the post_ID or comment_ID. This plugin will cycle over the activity records for threaded comments made and display them in the same fashion as BuddyPress activity stream (ability to reply and nested via the same ajax means)

Why?

The activity stream is a centralized commenting system in BuddyPress – the disconnect on the BP Blog portion may alienate user discussion on your site. This is NOT for everyone – you will lose the powerful internal WP Commenting admin system and will rely only on activity stream for comments.

What about WPMU and subblogs?

I’m not sure yet – if anyone wants to investigate this further – please drop me a note.

My question isn’t answered here

Please contact me at

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈BuddyPress Activity Stream as Blog Comments〉的開發相關工作。

參與者

變更記錄

0.1.1

  • Added Activity delete catch (don’t delete an activity if new_blog_post or new_blog_comment)
  • login link

0.1.0

  • First [BETA] version