Skip to:
Content
Pages
Categories
Search
Top
Bottom

Not displaying proper freshness for each subforum.

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

    Moderator

    sorry, but helpers on here do not have the time to look for differences between two screens.

    Can you specify which bit of what screen is wrong.

    and while you are at it, can you do the tests in

    Before Posting

    and then come back.

    @frostentangle

    Participant

    Not sure why my post is not getting added when I click submit.

    @frostentangle

    Participant

    Forum homepage here: https://www.fantasyfootballbackers.co.uk/forums/

    Parent page: https://www.fantasyfootballbackers.co.uk/forums/daily-fantasy-football-strategy/

    The difference is that on the forum homepage, on the Freshness column, the values for each subforum “Beginners Forum” and “Expert Strategy” are not reflected properly while when you go to the Parent page (by clicking “Daily Fantasy Football Strategy” on the forum homepage) it will show that the values for Freshness are properly reflected.

    Hope that makes sense.

    Thanks!

    @robin-w

    Moderator

    ok, so is it the same with plugins disabled and default theme as per

    Before Posting

    and how is your forums page constructed – eg shortcodes, bbpress.php file etc.

    @frostentangle

    Participant

    Yes I tried disabling all plugins except the bbpress plugin itself. I also switched to a default theme but no luck.

    I have the forum slug set as ‘forums’ and I used the bbpress.php file for the template. I tried creating a page named “Forums” with the URL https://www.fantasyfootballbackers.co.uk/forums/ and removed the file bbpress.php but the issue still remains. Currently it is using the bbpress.php template.

    @robin-w

    Moderator

    Currently it is using the bbpress.php template

    which you got from where, and have put where?

    @frostentangle

    Participant

    Not sure where it was from but its inside the root of the theme’s folder. Here’s the contents of the file: http://pastebin.com/PRed1TWZ

    @robin-w

    Moderator

    ok, I don’t think you have the standard index template

    Have you got in your theme the following file

    wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php

    where %your-theme-name% is the name of your theme

    or have you amended

    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    @frostentangle

    Participant

    I found it.

    Yes, you’re right I have customized the a few templates including the one you mentioned above.

    It was a new template I created specifically for the forum homepage ‘content-archive-forum.php’.

    I added a $subforum->ID parameter to bbp_forum_freshness_link function and bbp_get_forum_last_active_id to fetch the specific freshness for each subforum.

    Thanks!

    @robin-w

    Moderator

    so presume you are fixed?

    @frostentangle

    Participant

    Yep. Thanks for pointing me on the right direction.

    @robin-w

    Moderator

    great !

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