3.000+ active installs, 43K total downloads, 4.5/5 stars
Adds bbPress forum specific sidebar, wrapper, widgets, user columns, login links and other tweaks.
bbPress WP Tweaks replaces regular sidebar with forum specific “bbPress sidebar” to your WordPress. To setup forum specific sidebar you should first select correct forum wrapper file which has sidebar. Then select what action perform with existing sidebar: replace, prepend or append. Then select which sidebar to target with this action. You can also choose “none” option for target sidebar, in that case no bbPress sidebar will not be added to wordpress.
If nothing in forum sidebar then regular sidebar will be shown.
You can choose which forum wrapper template to use in plugin settings page or specify other custom wrapper file that exists in your theme.
- bbPress sidebar
- Change default wrapper for forum pages
- bbPress login links widget
- bbPress users widget
- Login and register links under forum
- Show forum description
- Forum related columns for users view in admin area
- Disable not used features of plugin
bbPRess uses wrapper file in your theme in this order: ‘bbpress.php’, ‘forum.php’, ‘page.php’, ‘single.php’, ‘index.php’. First existing template file, generally it is page.php, will be used. You can choose which template file to check first by making it default wrapper for forum pages. Forum wrapper depends on your current theme, as there are thousands themes all of them works different. To see which wrapper best works with your theme you have too try each of them in “Settings” -> “bbPress WP Tweaks” page. Lets see which wrapper works with your wordpress theme:
- page.php – is default wrapper in most cases and works for most themes. But some themes don’t have sidebar in ‘page.php’ file. If your theme don’t have sidebar on single pages and you choose page.php as wrapper then no sidebar will be shown in forum. Also this might be desired behavior if you do not want a sidebar in forums.
- single.php – similar to page.php but in most cases will add links to “Previous” and “Next” post, which is not desired. So try it yourself.
- index.php – on most themes always has sidebar. If you cannot see forum sidebar then try index.php. Use it with caution because some themes automatically convert content shown on index.php file to excerpt which will display four forum as plain text which will look like broken. In that case DO NOT PANIC and switch back to page.php wrapper.
- Custom wrapper – If your theme has extra template files like “page-fullwidth.php” for example then you can use it by selecting “custom” option and writing page-fullwidth.php in text input field. If that file exists then it will be used as forum wrapper.
As I said before forum wrapper is closely related to your theme files and may behave different for each theme. Here is the list to check when trying different wrappers.
- Is sidebar shown or not and do you want to show it?
- Is forum converted to plain text and copped to certain length then your theme is converting forum content to excerpt. In that case do not panic and switch to other wrapper.
- Is non related links like “Previous” and “Next” links shown under forum content and not working properly, then switch to other wrapper.
bbPress login links widget
If you want to display login and register links instead of login form in your sidebar then use this widget. By default bbPress will not show login links to visitors if they want to post in forum. Use this widget instead of login form in your bbPress sidebar.
bbPress users widget
Used to display users linking to their profile pages ordered by:
- most topics with count
- most replies with count
- recently active with time
- online users with time
- new users with registration time
- old users with registration time
Show forum description
By default forum description is shown only on where forums are listed, not in forum page. With this options enabled you will show forum description on Forum page, on sub forums, on topics, on replies. So user will know what this forum about. If it is a product forum then you can add product image, links or buttons to product page, pricing/purchase page etc. This will make navigation between product and forum a lot easier.
Forum related columns for users view in admin area
This is must have feature to have for any forum administrator. With this option enabled you will have forum related sortable columns “number of topics”, “number of replies”, “registration date”, “last active date” in “Users” admin page. Topic and reply counts are linked to user profile pages. You can sort by those columns and see latest registered users or users with most topics. Each column seperately can be switched off using “Screen Options” inside users page.
Disable not used features of plugin
You can disable sidebar by selecting “none” as target sidebar. Disable widgets by unchecking related checkboxes in plugin options page. All other features also can be individually enabled or disabled in plugin options page.
Back story of bbPress WP Tweaks plugin
I was using bbPress, version 1.0 and smaller versions, which was great as forum but separate from wordpress. Then they released version 2.0 of bbPress as a wordpress plugin which is great but it is missing some integration features to my wordpress theme. I redesigned my wordpress theme to match rest of my site using Teventy Eleven theme provided by worpdress. With some tweaks forum integrated correctly to it. Main disadvantage was sidebar which is shared with blog. You do not want to have exact same sidebar in forum and blog. You can if you want but in forum you need more forum centric sidebar with necessary widgets to login. I was running my forum without login not even knowing it. It was displaying ‘You must be logged in to reply to this topic.‘ message without login or register links. Which is must have links in every forum. So instead of adding them to my theme files I decided to create a plugin that will add those features in any wordpress theme.
I hope that this plugin will save lots of your time. bbPress WP Tweaks took me 3 days to understand wordpress, bbpress and plugin building process. I am open to suggestions and bug fixes. Feel free to report bugs here.
Demo of bbPress WP Tweaks plugin
Check out my forum that uses bbPress plugin.
Download latest version from wordpress.org repository. bbPress WP Tweaks
Q: Sidebar is not showing in forum pages, how to fix it? [via]
A: There are couple thing that you should check to use bbPress sidebar. To easily check if sidebar will be replaced do steps 2,3,4. And then switch wrapper and view your forums page in front end.
- Make sure that forum wrapper has sidebar that you want to replace. Try switching to other wrappers, in most cases index.php wrapper will have sidebar.
- Select “Replace” as sidebar action.
- Select existing sidebar in your wrapper for sidebar target option. This fields shows all sidebars in your theme, it will not detect which sidebar your selected wrapper has. Usually sidebar target with name “Sidebar” has in most index.php wrappers.
- Make sure that you added some widgets to “bbpress sidebar” in wordpress widgets page.
Q: Can I display different sidebar for each forum, topic or reply in my forums?
A: “bbPress wp Tweaks” plugin will display same sidebar for all your forum related pages including forum, topic, reply, user profile pages.
Suggested bbPress plugins
- bbPress New Topic Notifications – get notified when new topic posted, instead of checking your forum periodically for new posts and questions get notification directly to your email address. Good for admins and moderators to know when new post added and respond timely on forum.
Version 1.4.2 (release date: 09.10.2018)
- Removed deprecated create_function directive
Version 1.4.1 (release date: 14.12.2017)
- Removed setting default value to forum wrapper. It was breaking forum for some themes that was generating excerpts when called index.php file.
- Fixed error related to some php versions used in users widget
- Translated plugin to Russian and Turkish.
Version 1.4 (release date: 12.12.2017)
- Chaneged sidebar auto detection to selecting in admin area
- Added more forum wrappers and admin definable custom wrapper
- Added Forum users widget
- Added login links to places where login required for adding new topic and reply. Added option formatting those links.
- Added option to show forum description
- Added forum related columns to users table in admin area
- Added last activity time usermeta value
- Added option to disable not used widgets offered by this plugin
- Added option to redirect 404 page for authors to related forum profile page
- Fixed login links widget
- Changed minimum requred version WP 4.7, bbPress 2.5
- Made plugin php7 ready
- Minor bugfixes
- Added compatibility to WordPress version 3.5 and greater
- Added compatibility to bbPress version 2.1 and greater
- Displaying existing forum wrappers in bold in plugin settings.
- Changed how main sidebar is detected. This adds compatibility to more themes.
- Initial release of my edition of the plugin.
Start your Classifieds website Today!
Build online community using our responsive classifieds script