[Bb-trac] Re: [bbPress] #715: New bb_uri() and bb_get_uri() functions

bbPress bb-trac at lists.bbpress.org
Tue Oct 23 21:00:24 GMT 2007


#715: New bb_uri() and bb_get_uri() functions
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  sambauers        
     Type:  enhancement  |       Status:  assigned         
 Priority:  normal       |    Milestone:  0.8.4 & Pings    
Component:  Front-end    |      Version:  1.0-alpha (trunk)
 Severity:  normal       |   Resolution:                   
 Keywords:  SSL URI      |  
-------------------------+--------------------------------------------------
Comment (by ruzel):

 Just a note that "bb_get_option()" is already built with a switch
 structure and cases like "uri" and "url."  Wouldn't it be more concise to
 add cases like "styelsheet" or "active-template-dir" rather than develop a
 separate function.  These URL locations are, after all, things that could
 be set elsewhere in BBpress.

 So, for instance, you need to call up an image in your template directory:
 bb_get_option('active-template-dir') . "images/somfile.gif"

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


More information about the Bb-trac mailing list