themichaelglenn (@themichaelglenn)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • themichaelglenn


    @crookie I’m having the same problem. The BBSpoiler button works if I’m editing a post or a page, but it doesn’t appear at all in tinyMCE in bbPress. I’ve tried using tinyMCE Advanced, and the standard WordPress tinyMCE, both with the same results.

    I’m currently working on a bbPress tinyMCE plugin, to allow me to include specific buttons in the forum editor, and if I can figure out how to make that work with BBSpoiler I’ll post an update here.

    I’ve tried to look through the code for BBSpoiler, and I’m guessing that it’s missing an action or a filter to hook into the bbPress tinyMCE (but I don’t honestly understand actions, filters or hooks, so I could be completely wrong.)

    In reply to: removing search button



    I know this thread is 2 years old but it didn’t have the solution I was looking for, so I did some digging and figured out how to remove the Search button entirely. (So I’m putting it here in case anyone else looks for the same thing.)

    CSS will work to hide the Search button, but you can also remove it completely by modifying the bbPress template files.

    It took me a long time to find the right one, but what you wanna do is go to your plugins folder, and find the bbpress folder. Then look inside bbpress > templates > default > bbpress, and find the file named ‘content-archive-forum.php’

    This file outputs the <div id="bbpress-forums"> code at the top of your index page, then immediately after that it outputs the search field and the breadcrumbs.

    To remove the search box ONLY from your Forum Index page, just comment out the following lines of code:

    <div id="bbpress-forums">
        /* Comment these lines out to remove search from your Forum Index page.
        if ( bbp_allow_search() ) : ?>
    		<div class="bbp-search-form">
    			<?php bbp_get_template_part( 'form', 'search' ); ?>
    	<?php endif; */ ?>
    	<?php bbp_breadcrumb(); ?>

    This will ONLY disable the search box; if you want to remove the breadcrumbs as well, then you need to comment out (or delete) the bbp_breadcrum(); line as well.

    NOTE: The safest way to do this is to create a bbpress folder inside your theme, and save the modified content-archive-forum.php there (otherwise it’ll be overwritten the next time bbPress updates.)



    @consultjoseph @siparker Sorry it took me so long to respond to you guys.

    I am using the version of this plugin I put on Github in a beta test of a site I’m moving from Joomla to WordPress. I’m using WordPress 4.6.1 and bbPress and am using a child theme of Twentysixteen.

    The biggest thing is that with the version of the plugin I’m using, bbPress Settings need to be adjusted:

    1. Go into Forum Settings and set “Forum Root” to “forums”
    2. UN-check Forum Prefix – you do NOT want to prefix all forum content the Forum Root Slug
    3. Make sure that the Single Forum Slug for “Forum” is “forum”

    Next, go into Permalink Settings:

    1. Under Common Settings, select “Post Name”
    2. Save changes

    If you don’t set or RESET your permalinks, you will get 404s! But if you reset your permalinks after activating the plugin, everything will work.

    I expect to take my beta site live within a week or so; when I do I’ll provide a link to the permanent live site so you can see the bbPress URLs in action.



    Don’t know if anyone else has (or will have) this same problem, but I have a Category that has probably 60-70 forums, and I anticipate adding more in the future.

    Like the OP, I was also only showing the first 50 forums on the category index page.

    I used @casiepa ‘s filter but I had to fix the typography (I think that’s the right word?) Not sure because I’m still new to all this and completely self-taught, so there’s lots I don’t know but what I do know is the following code WORKS! (On bbPress 2.5.11-6121.)

    // filter to show more than 50 forums on the index page
    function casiepa_increase_forum_per_page( $args = array() ) {
       $args['posts_per_page'] = get_option( '_bbp_forums_per_page', 100 );
    return $args;
    add_filter( 'bbp_before_has_forums_parse_args', 'casiepa_increase_forum_per_page' );



    Alright, I probably didn’t do this in the best way, but I figured out how to “fork” your github code and create a separate branch but it’s under my username (I didn’t know if it’s okay to just go creating branches in someone else’s repository, so I just set up in my own):

    Again I need to make clear that I do not know what I’m doing – but whatever I did is working on my localhost and on my test site (which site will only be up long enough to test everything on an actual server, so no link to that site, sorry)

    I don’t know if I would still get the topic URLs forum/forum-name/ID-topic-name if I kept removing more code, to get it down to where we were only rewriting the topic URLs? I’d like to try that but I don’t know how much more I can remove before the plugin just stops working altogether.



    Yeah I’ll try to do that later today. Not sure I know how to use github, as your plugin is the first time I’ve been on it. 🙂 But hopefully I can figure it out.



    Thanks @siparker

    I’m actually good with forum/subforum/ID-topic-name

    (which for all purposes is the same as the Kunena forum/forumName/topicID-topic-name

    FWIW, I have bbPress set so the “Forums” slug is NOT pre-fixed, so my bbPress URL structure for any given forum is ‘forum/subforum-name’ without any ID, and I removed the lines in your plugin that assign an ID to anything other than the topic name, and everything still works for me.

    (It’s only when I try to remove ID from the topic-name part, that the URLs no longer work – and now I know why) 🙂



    @siparker @natesirrah Thank you both for your work on this plugin! Any news on where the current project stands? I’ve just used siparker’s github plugin and it seems to be work, but if there’s a better, improved version, I’d love to know about it and/or help test it.

    I’m working on migrating a site that I’ve had up for just over a year, from Joomla 3.4 to the current version of WordPress. I use Kunena forums, and by making some slight modifications to siparker’s plugin on github, I was able to set my bbPress URLs to match the structure Kunena uses, namely:


    (I don’t think they actually use forumName, topicName, etc., that was just the easiest way for me to write it out)

    so that when my forums are set up like this:

    Forum = Final Fantasy VII
    Topic = Cloud’s Limit Break

    I have, for example:


    I should tell you that the only experience I have with php is a couple of 4-hour courses on udemy (in other words, not that much…) Still, by very carefully changing or removing one line at a time, I was able to produce the desired result.

    One thing that didn’t quite work out, though, was forums within a top-level category. For example:

    Top Forum = Square Enix
    Child Forum = Final Fantasy VII

    The URL for the child forum is now


    and I want it to be


    The interesting thing is that the topic “Cloud’s Limit Break” still shows as


    which is the URL structure that I want, when someone clicks on a topic, so I’m happy with that.

    But I can’t seem to figure out how to remove the parent or top level forum from the forum URL.

    Everything I’m doing is on localhost, as I don’t want to change my site over to WordPress until I’ve got all the details worked out, and I’m brand new to web development so I’m not sure exactly how to share my code with you guys, or if I need to share it all or perhaps just a part of it? So if you can help me with that, I’ll be happy to share.

    Meanwhile to any bbPress devs following the thread, I want to say thank you for all that you do, and please consider making this permalink option part of the bbPress core!

    I have been wanting to move from Joomla to WordPress for months, as I tend to believe that WordPress is overall easier and better for me and my users, and one of the few things that’s prevented me from making the move was the lack of options in bbPress permalinks. I strongly agree that the URL for a topic should include the name of the forum that topic resides in. (Or at least, admins should be able to choose that option, if they want it.)

Viewing 8 replies - 1 through 8 (of 8 total)