bbPress

Simple, Fast, Elegant

bbPress plugin browser »

Topic Icons (0.0.5)

How can I put the icons into their own column (like on bbshowcase.org)

  • edit the front-page.php, topic.php, tag-single.php, view.php templates

  • then for super-stickies, stickies and topics add a new column ie. <td width="1"><?php topic_icon(); ?></td>

  • then for the forums add a new column ie. <td width="1"><?php forum_icon(); ?></td>

  • make the table header span two columns via colspan="2" ie. <th colspan="2"><?php _e('Topic'); ?> — <?php new_topic(); ?></th> and <th colspan="2"><?php _e('Main Theme'); ?></th>

How can I add more icons and keywords/triggers?

  • That requires editing of the icon and rule arrays at the top of the plugin (until an admin menu can be made). More instructions soon.

How can I stop it from adding icons all over, other than their own column?

  • in the plugin change the top to $topic_icons['automatic']=false; (from true). Note that making your own column manually will turn off automatic insertion anyway.

How do I know what forum number to use for forum icons?

  • put ?forumlist at the end of your url (must be logged in as keymaster)

Code is Poetry.