Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add a “last poster” column in the listing of forums

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

  • _ck_
    Participant

    @_ck_

    topic_time is meant to be used in topic loop, not a forum loop so it doesn’t know the last topic id.

    You could get around this by passing the last topic id in the topic_time however you’d have to do a custom query to determine the last topic in a forum, as it’s not stored/available by default.

    I think I’m going to make this into a plugin “forum_last_poster”

    update: I seem to have finally made it work!


    _ck_
    Participant

    @_ck_

    I’ve now made this into a full plugin:

    http://bbpress.org/plugins/topic/forum-last-poster/

    Once you install it, you’ll be able to use your code above, but change the part of the function that says topic to forum, ie. forum_time()

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

You must be logged in to reply to this topic.