[buddypress-trac] [BuddyPress] #2231: Activity Stream Loop comments broken

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Apr 11 23:58:42 UTC 2010


#2231: Activity Stream Loop comments broken
----------------------------+-----------------------------------------------
 Reporter:  abfinteractive  |       Owner:                   
     Type:  defect          |      Status:  new              
 Priority:  minor           |   Milestone:  1.3              
Component:  Activity        |    Keywords:  reporter-feedback
----------------------------+-----------------------------------------------

Comment(by cnorris23):

 Perfect. That helped a lot, and I have a fix. I tested this on my local
 install, using your exact code you posted above. As with your custom theme
 it didn't work. My suspicion was that it had something to do with the
 ajax/jquery, and this suspicion seems to be correct. In order for the
 comment form to be shown, it goes through a series of jQuery HTML class
 checks. In your case, the issue, is here:

 {{{
 <div class="home_activity">
 <h3>Latest Activity</h3>
 }}}

 The jQuery code expects:

 {{{
 <div class="activity">
 <h3>Latest Activity</h3>
 }}}

 If you need home_activity for some home page activity specific styling,
 then I suggest the following:

 {{{
 <div class="activity home_activity">
 <h3>Latest Activity</h3>
 }}}

 This way you get the best of both worlds. Hopefully, this will fix your
 issue. Let me know, if that's not the case.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2231#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list