[buddypress-trac] [BuddyPress] #2635: Long Activity stream posts should show an exerpt with a "read more" link

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Apr 18 19:16:47 UTC 2011


#2635: Long Activity stream posts should show an exerpt with a "read more" link
--------------------------+-------------------------
  Reporter:  gene53       |      Owner:
      Type:  enhancement  |     Status:  reopened
  Priority:  major        |  Milestone:  1.3
 Component:  Activity     |    Version:
Resolution:               |   Keywords:  2nd-opinion
--------------------------+-------------------------

Comment (by r-a-y):

 Instead of returning false in the AJAX function, you should use exit().

 Also should apply the 'bp_get_activity_content' filter on
 $activity->content; exit() also works like echo() as well:
 `exit( apply_filters( 'bp_get_activity_content', $activity->content ) );`

 Haven't tested the patch, but does it work for activity comments as well?

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2635#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list