Description
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)
Installation
- Upload the full directory into your wp-content/plugins directory
- Activate the
BuddyPress Activity Stream as Blog Comments
on the plugin administration page - 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)
FAQ
- 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
Reviews
There are no reviews for this plugin.
Contributors & Developers
“BuddyPress Activity Stream as Blog Comments” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “BuddyPress Activity Stream as Blog Comments” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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