Skip to:
Content
Pages
Categories
Search
Top
Bottom

I want the freshness in days

  • @webgardens

    Member

    Apparently everybody wants the freshness to be displayed in months, days – I, however would like it to be displayed in days only.

    I have been looking around quite a bit now and trying to change the code, but so far I managed just to mess up the page ….

    Any ideas?

    Thanx

    V.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @lynq

    Participant

    It looks as though it is just grabbing the freshness from get_post_field and assigning it to $last_active and then returning the following filter:

    return apply_filters( 'bbp_get_forum_last_active', $last_active, $forum_id );

    So you might need to try and catch the data on the way into the database and manipulate it there, then save it to the database.

    Good luck!

    @webgardens

    Member

    Thanx Lynq, but I think there might be a solution that doesn’t involve handling the DB data.

    Any other ideas … I know many people had the opposite problem, maybe I could reverse your solution?

    @lynq

    Participant

    Do you have a link to your forum at all so I can see the months issue? I am only getting days on my forum (because it is fairly new).

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