Skip to:
Content
Pages
Categories
Search
Top
Bottom

My forum topics are not shown


  • gplana
    Participant

    @gplana

    Hi.

    I have a site with WordPress+bbPress 2.0

    Today I tryied to upgrade bbPress from 2.0 to 2.4 and all our forum topics are not shown now.
    I have a custom theme.

    I’m not sure if I have done well this bbPress upgrade: I just deactivate current bbPress rename bbpress folder to _bbpress to maintain old version just in case, download new bbPress from site and upload and uncompress, so now both versions of bbPress appears on WordPress administrator: 2.0 deactivated and 2.4 activated.

    I tryied to rename premalinks of forum and topics as I read this could fix this issue, but not on my case.

    Any help?

    Thank you.

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

  • Xevo
    Participant

    @xevo

    Try removing bbpress and uploading 2.4 manually via ftp.

    Make a database backup before removal though.


    gplana
    Participant

    @gplana

    Thank you for your answer. I tryied what you suggested but same result.
    Maybe is due to an incompatibility with my theme?

    My main forum customized page have this to show all topics:

    	<?php if ( bbp_has_topics($args) ) : ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/loop',       'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    	<?php else : ?>
    		<?php bbp_get_template_part( 'bbpress/feedback',   'no-topics' ); ?>
    	<?php endif; ?>
    

    I make a print_r($args) and it has an empty array. I also tryied to remove $args argument from bbp_has_topics but same result (no topics message displayed).
    Maybe in bbPress 2.4 bbp_has_topics() is not the right function to start a loop?

    I can see forum topics from wp-admin, so I’m sure topics are there.

    Thank you.

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

You must be logged in to reply to this topic.