[buddypress-trac] [BuddyPress Trac] #5610: "Favorite" button, like comment, needs to be in any post too
buddypress-trac
noreply at wordpress.org
Tue May 20 21:29:37 UTC 2014
#5610: "Favorite" button, like comment, needs to be in any post too
-----------------------------------+------------------
Reporter: ronia | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.1
Component: Blogs | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------
Changes (by imath):
* keywords: => has-patch 2nd-opinion
* component: Core => Blogs
* milestone: Awaiting Review => 2.1
Comment:
Hi ronia,
I realize i completely misunderstood your ticket!!! I'm really sorry.
Correct me if i'm wrong but your point is to be able to favorite a
'new_blog_post' activity directly from the post itself. I think the fact
you were mentioning comment made me reply in a bad way.
I agree with you. I've worked on it today. I think it can be a good way to
make the blogs component even more attractive.
Here's a screenshot of how it could look like :
[[Image(https://farm6.staticflickr.com/5533/14046189970_6ebcd97ac9_z.jpg)]]
In 5610.patch i've built something that we can easily transform into a
plugin if we don't think it's a core feature. I think it's a really nice
feature & if combined with #5644 we could build something very interesting
for a community : the members would be able to see who are the other
members who also favorited the post and maybe get in touch with them and
become friends ;)
The big challenge is how we "arrive" in the template. At the beginning i
was thinking about prepending the post title but realized filtering
'the_title' was really risky.. So chose 'the_content'. But people might
not like to have it at the bottom of the content ...etc .. it can be
problematic. So i've included filters and actions to allow people to
include themselves the button where they want and to eventually not use
dashicons. (I've chosen dashicons because the WP Admin Bar is enqueueing
it)
I'd like to discuss about it during 2.1 dev cycle and have your opinions
about it.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5610#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list