[buddypress-trac] [BuddyPress] #2566: [patch] “Send Private Message” and “Mention this User” Button Filtering

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Aug 26 10:18:23 UTC 2010


#2566: [patch] “Send Private Message” and “Mention this User” Button Filtering
-----------------------+----------------------------------------------------
 Reporter:  jeffsayre  |       Owner:  jeffsayre                                         
     Type:  defect     |      Status:  new                                               
 Priority:  major      |   Milestone:  1.2.6                                             
Component:  Core       |    Keywords:  has-patch, security, privacy, abstraction, filters
-----------------------+----------------------------------------------------

Comment(by hnla):

 And this is indicative of the issues that arise when the model/controller
 is having to be overly concerned with the view or presentational layer. I
 would hazard that the only true approach to this is one where all
 parameters necessary to generate the markup required are passed back from
 the frontend template function, but that's easy to say.

 I'm happy for class tokens to be controlled primarily from the mid tier
 the issue arises where we have to generate the division hardcoded as it
 were, if I need to adjust the markup to say a list construct then I would
 consider a div to be markup bloat as it's simply unnecessary - however I
 would be prepared to have to suffer that; I could still present the
 buttons within an unordered li structure and simply try and ignore the div
 :)

 I also would be happy with an IF statement to control things, is that
 actually an issue?

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


More information about the buddypress-trac mailing list