bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Related Topics (0.0.5)

  • Install the related-topics.php file into my-plugins/ and activate.

  • Change defaults if desired by editing options at the top of the plugin until an admin menu is made.

  • This plugin inserts itself into the topicmeta at the top of each topic automatically, no template edits required unless you want custom placement.

  • ONLY if you want CUSTOM placement, edit your topic.php template (or other template) to add the info like so:

    or

The first method is prefered because if you deactivate the plugin, you won't get errors. But the second method will allow you to specify options like topic id and alternate before/after tags, ie. related_topics(97,'<ul>','</ul>');

  • it is highly recommend you put this line in your bb-config.php which will help with database performance on active forums by loading all bbPress options at once instead of piecemeal

    $bb->load_options = true;

  • very large/active forums may want to turn off the title keyword search and just use tags until caching is added, check loads when viewing topics

Code is Poetry.