bbPress Thread Prefixes (Boards)

bbPress Thread Prefixes WordPress Plugin

This plugin will add the feature of easily generating prefixes for topics and assigning groups of prefixes for each forum in the admin section.

These prefixes can be a requirement for users while creating or editing topics, you can set the prefixes to filter the topic title and appear within titles, or appear separately as clickable icons which will pull up all topics that have this thread prefix assigned.

You can set default colors and background colors with flexibility with color pickers, add further CSS styles and customize any prefix.

You can also exclude users from assigning prefixes to topics and leave this tool for site moderators or admins only.

Moderators or admins can set the prefix groups for forums in the post admin while creating or editing forums, and set prefix for topics when editing topics in the admin section.

The thread prefixes feature is already available in several forum boards, such as MyBB, Xenforo and other softwares but not in bbPress.

Prefix Styles

Within topic title

This setting will allow you to insert the selected prefix within the topic title which will be always filtered and set to contain the prefix. With this setting, you can still access the prefixes archives and pull topics which have the same prefix assigned.

A live simple example of this is WordPress.org support forums; when a topic is marked resolved by a user, a prefix [Resloved] is being inserted right before the thread title: [Resloved] Topic title

Separate prefix as icon

With this setting on, prefixes will appear as styled icons, clickable or not, pointing to the archives page.

You can style any prefix by its own while adding or editing the prefix as option in the plugin admin section

Further extending & customization

bbPress Thread Prefixes comes with ready action and filter hooks which you can use to easily add custom content and override settings and existing content etc.

A list of hooks you can use is included in the plugin pack in a text file with examples and further information

If you have suggestions or need more hooks, let me know.

Changelog

0.1 – initial release — January 2016

Other bbPress Plugins:

bbPress Ultimate: Social profiles, country flags and much more dynamic info to embed to forums and bbPress/BuddyPress profiles

Sign up for the newsletter for more

Leave a Reply

Your email address will not be published. Required fields are marked *