Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of dylancasey
    dylancasey
    Participant

    @dylancasey

    Yes, I do want group forums — it’s what I used previously. (I never used site-wide forums.)

    So, I confirmed that I have the boxed checked in the Settings > Forums pane as shown in the link you provided. Indeed, when I don’t have it checked, none of the forums show up. (Which makes sense to me, given that I only have forums associated with groups.)

    Still, the problem from the update exists — the group forum activity is not being picked-up properly within the forums, though I can see that the activity is still there when looking under “activity”. Seems like something is messed-up in the query to the DB or the DB itself when I added bbpress 2.3.

    Any other thoughts?

    -Dylan

    Avatar of dylancasey
    dylancasey
    Participant

    @dylancasey

    I am trying to do exactly this: change the order of the posts displayed for a topic in a forum. I understand that I can do this by setting the ‘order’ parameter to DESC in bp_has_forum_topic_posts. What is eluding me is how to properly over-ride the function on my functions.php (or bp-custom.php) so as to just change the passed arguments.

    I’ve tried adding the following to my functions.php file (an it doesn’t work):

    function my_bp_has_forum_topic_posts($args) {
    $args = 'order=DESC';
    return $args;
    }
    add_filter( 'bp_has_forum_topic_posts','my_bp_has_forum_topic_posts');

    Thanks for the help in advance.

    Avatar of dylancasey
    dylancasey
    Participant

    @dylancasey

    Sean,

    I have a very similar question to yours — I’m trying to modify the order of the tabs in the Groups navigation, rename some of them, and get rid of some of them. I, too, am running BP 1.6.1.

    I can help in one respect — you need to enclose the code in your bp-custom.php file in the php brackets:
    <?php

    YOUR CODE

    ?>

    In the meantime, I would appreciate (from anyone) help with these customizations of the BP menus. Did something change in 1.6 to affect this? Much of the help out there concerns v1.5.

    Thanks in advance,
    Dylan

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