[Bb-trac] [bbPress] #816: impossible to add publicly viewable tab to profile via api

bbPress bb-trac at lists.bbpress.org
Tue Mar 11 02:10:06 GMT 2008


#816: impossible to add publicly viewable tab to profile via api
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  low       |   Milestone:  0.9
Component:  Back-end  |     Version:     
 Severity:  minor     |    Keywords:     
----------------------+-----------------------------------------------------
 Because adding tabs to the profile requires role capabilities for viewing,
 it seems impossible to add a tab that can be viewed by users who are not
 logged in without directly accessing $profile_menu and $profile_hooks

 {{{function add_profile_tab($tab_title, $users_cap, $others_cap, $file,
 $arg = false)}}}

 The lowest role capability possible is "read", which requires a valid user
 logged in. But even if I try setting the capability to null or blank, it's
 still not shown when a user is not logged in.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/816>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list