[Bb-trac] Re: [bbPress] #764: Make bozos' tags invisible

bbPress bb-trac at lists.bbpress.org
Mon Dec 17 03:13:26 GMT 2007


#764: Make bozos' tags invisible
------------------------+---------------------------------------------------
 Reporter:  livibetter  |        Owner:       
     Type:  defect      |       Status:  new  
 Priority:  normal      |    Milestone:       
Component:  Back-end    |      Version:  0.8.3
 Severity:  normal      |   Resolution:       
 Keywords:  has-patch   |  
------------------------+---------------------------------------------------
Changes (by livibetter):

  * keywords:  => has-patch

Comment:

 My patch adds new topicmeta `bozos_tag` and two functions for using this
 new topicmeta. They are copied and modified from `bb_bozon` and
 `bb_fermion` functions.

 And modifying `bb_get_public_tags` to mark a tag with `by_bozo` property
 if needed, then `topic-tags.php` can marks those bozos' tags with
 `class="bozo"`.

 In topic.php, when calling `bb_get_public_tags`, now will be invoked with
 `bb_current_user_can('browse_deleted')`. If current user can't
 `browser_deleted`, then bozos' tags won't be appeared. This doesn't
 include him/herself if s/he is a bozo.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/764#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list