[Bb-trac] [bbPress] #778: "sticky:" should be applied through a filter and not hard coded

bbPress bb-trac at lists.bbpress.org
Sat Jan 26 11:36:59 GMT 2008


#778: "sticky:" should be applied through a filter and not hard coded
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:     
Component:  Back-end     |     Version:     
 Severity:  minor        |    Keywords:     
-------------------------+--------------------------------------------------
 Changes to topic titles should be applied through (default) filters rather
 than hard coding it in the source or templates.

 For example the "support forum" plugin prefixes topic titles in a manner
 that allows it to be manipulated (text font/weight altered or replaced by
 an icon).

 You can look here for a demo of what I am talking about:
 http://bbshowcase.org/forums/view/available-themes?bbtheme=futurekind


 See how I changed "Sticky:" to a yellow box (ala post-it note)

 Currently that is not possible even up to 1075 since it is hard coded
 (several places) in the template.

 (in theory the translation call could be hooked but that would be a crazy
 way to go about doing it)

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


More information about the Bb-trac mailing list