johnmontfx (@johnmontfx)

Forum Replies Created

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

  • johnmontfx
    Participant

    @johnmontfx

    [Resolved]
    Oops…sorry…I just noticed the pluggable function is in BuddyPress and not bbPress.

    Still surprised I can’t access it, but not a bbpress problem 🙂


    johnmontfx
    Participant

    @johnmontfx

    Following up with research complete….New Relic is really awesome for this type of stuff.

    It does come down for the most part to the quantity of the forums/sub-forums. Most of the time spent was in the template calls for each sub-forum. However, it also appears a bit of the additional time is due to the Groups plugin which makes the SQL query a bit more complex.

    So I’ve decided to set my home page to be a view of recent topics (which, frankly, is a bit better anyway because it shows more activity of interest) and the performance is going to be much better for members.

    However, one hitch here is that I’d like to have a “forum home-like” page available for view for those that want it. With an additional requirement that it is under the /forums/ URL ‘subdirectory’ (due to various robot rules, etc). In other words, something like /forums/all or /forums/views/all . I can’t use the bbpress shortcode for a page because I can’t put the page under the /forums/ subdirectory. I looked into using views, but that doesn’t seem to work either.

    I’m probably missing something obvious (and I’ve done considerable googling), but it’s not seeming to be as easy as it sounds. Probably should start another thread…

    Thanks again for the insights…


    johnmontfx
    Participant

    @johnmontfx

    Hey folks thanks for responding — appreciate you checking in, Stephen E.

    I’m going to do some testing on the live site over the holiday weekend (lower traffic and all) to try and debug this so I have more concrete information. The site is private, but I’m more than happy to provide a login if you’d like to check after I do some more trouble shooting.

    We do have some users with quite a few forums visible on forum home due to how long they have been members. It can be a low of 10 — up to around 80 for our longtime members. The only data we show for each forum on the forum home is the forum name and freshness…

    I’ll report back next week — thanks again for the followups


    johnmontfx
    Participant

    @johnmontfx

    I’ve narrowed this down to the fact that it seems to be an issue with the display of subforums on the main forum index page. We have quite a few subforums so generating the list of forums and subforms takes a long time.

    I can’t easily cache this page because different logged in users see different forums based upon permissions. I would think that some of this would be handled with object caching, but this performance is horrendous compared to our previous vbulletin install. I love many of the features of bbpress, but having users wait four to ten seconds for a page load isn’t a good experience.

    Any suggestions on how I might improve performance (other than not displaying subforums on the home forums page)? I’m using xcache and have W3 Total Cache with object caching enabled.

    Breakdown


    johnmontfx
    Participant

    @johnmontfx

    I’ve also set it up so adding a button AND plugin for “code” are hooked in, but still no luck.

    Good idea to try some other plugins/buttons to try and debug this…


    johnmontfx
    Participant

    @johnmontfx

    Thank you for the response. I tried that as well, since I’m adding the “paste” plugin with the following code (with an array print for debugging):

    add_filter( 'bbp_get_tiny_mce_plugins', 'fx_tinymce_paste_plain_text' );
    
    function fx_tinymce_paste_plain_text( $plugins = array() ) {
        $plugins[] = 'paste';
        $plugins[] = 'code';
        print_r($plugins);
        return $plugins;
    }

    But what I get is the following — no buttons. (you can see the $plugins array contents):

    If I remove the “$plugins[] = code;” line — I get the buttons back:

    paste only

    I’m not seeing any errors in php.log — so I must be doing something wrong. I’m curious if it is because a code button can’t be there without the dropdown menu. Or maybe I need to show the quicktags part of the visual editor

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