bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Topic Icons (0.0.5)

  • Add the topic-icons.php file to bbPress' my-plugins/ directory and activate.

Custom Icons

  • First go down to the $topic_icons['graphics']=array(` section and add the icons you want to the list, selecting a keyword to point to the graphic. ie. 'keyword'=>'newgraphic.png'

  • Then go to $topic_icons['rules']=array( ` and for each keyword, add the words that will trigger the icon. ie. 'keyword'=>'word1|word2|word3'

  • Optionally for each forum that you want a "fallback" icon edit $topic_icons['forums']=array( and add the forum number mapped to the keyword ie. '6'=>'keyword'

Code is Poetry.