• Resolved jakob6787

    (@jakob6787)


    Hi,

    thanks for your great work with this Plugin.

    I tried adding a page that showed recently added topics which worked fine.

    Your plugin worked wonderfully and sorted all topics according to their votes, but of course these should be sorted according to their creation date.

    is there a way to switch this function off for individual pages?

    First of all: I would like a page that does not have its own forum.

    Thanks for your work

    Jakob

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author natekinkead

    (@natekinkead)

    Hi @jakob6787,

    There is a way to change the sorting on an individual “forum” basis. Go in the admin area to edit the forum and you’ll see a meta box with some settings that will be specific to that forum.

    I hope that solves your need! Let me know. Thanks.

    Thread Starter jakob6787

    (@jakob6787)

    `Hello @natekinkead,
    Thank you for your quick reply.
    I already know this attitude, that’s why I wrote
    “First of all: I would like a site that doesn’t have a forum of its own.”
    in the last sentence. (I know you can get it wrong, sorry)

    I use bbpress and like to have a classic wp page on which all posts are displayed via shortcode. These posts should then be sorted according to the creation date and not according to votes.

    Is that or something like that possible?

    Plugin Author natekinkead

    (@natekinkead)

    @jakob6787 , so even that shortcode that displays posts, is not specific to any forum?

    If that’s the case, then maybe using this hook would help. Instead of checking the $forum_id, you could check the current page ID…

    add_filter( 'bbp_voting_allowed_on_forum', 'allowed_voting_forums', 10, 2 );
    function allowed_voting_forums( $allowed, $forum_id ) {
        if( get_the_ID() == 123 ) $allowed = false;
        return $allowed;
    }

    Will something like this work for you?

    Thread Starter jakob6787

    (@jakob6787)

    @natekinkead , that’s exactly what i meant.

    Thread Starter jakob6787

    (@jakob6787)

    @natekinkead , everything is working now.
    Thanks a lot for your help and your time.

    Plugin Author natekinkead

    (@natekinkead)

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Recently added topics’ is closed to new replies.