Skip to:
Content
Pages
Categories
Search
Top
Bottom

Incomplete list of forums

Viewing 5 replies - 1 through 5 (of 5 total)
  • @robin-w

    Moderator

    suggest you try:

    Repair Forums

    Dashboard>tools>forums>repair forum and run one at a time

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    @webbud65

    Participant

    I’ve done it all.
    It looks more like a problem with pagination or display limit because I have 101 forums regions and only 49 or 50 are displayed.
    Perhaps a change in script on the forum bbpress loop or a hidden option in the settings panel?
    What do you think?

    @robin-w

    Moderator

    ok, I think you might need to change a parameter.

    Try the following filter in your functions file

    function bbp_increase-forums-per-page( $args = array() ) {
    $args['posts_per_page'] = get_option( '_bbp_forums_per_page', 150 );
        return $args;
    }
    add_filter( 'bbp_before_has_forums_parse_args', 'bbp_increase-forums-per-page' ); 

    Come back and let us know if that worked.

    @webbud65

    Participant

    Désolé, je n’avais pas vu la réponse.
    C’est bien ça, le problème est résolu.
    Juste une erreur dans le code fourni (_ à la place de -).
    Le code rectifié :

    function bbp_increase_forums_per_page( $args = array() ) {
    	$args['posts_per_page'] = get_option( '_bbp_forums_per_page', 150 );
        return $args;
    }
    add_filter( 'bbp_before_has_forums_parse_args', 'bbp_increase_forums_per_page' ); 

    Merci beaucoup !

    @robin-w

    Moderator

    Thank you for the correction – I obviously wrote it too fast !

    Great, glad that you are working!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar