[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
Tue Aug 10 06:17:46 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 johnjamesjacoby):

 I tend to respectfully disagree. :)

 When creating custom themes for clients, having these buttons all
 hardcoded into BuddyPress makes it impossible to create a proper
 stylesheet to match, or change anchors to buttons, without recreating
 these functions completely. If the buttons were truly customizable via
 some kind of link/button generating API where ID's and classes could be
 passed, that would make more sense to me.

 Great measures went into abstracting a great bit of that code out of
 functions and into the template.

 How would you feel about creating a general use template tag that can be
 passed parameters to check privacy settings against instead? We could
 extend the 'bp_user_has_access' function to be used through-out the
 template to allow/disallow functionality?

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


More information about the buddypress-trac mailing list