Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show latest reply author name

  • @rivaldo08

    Participant

    Hello!

    Sorry if this question has been asked before, but I couldn’t find the solution anywhere.

    I got a little problem. I’ve got a widget, that shows the five latest topics with replies – but it shows the topic author rather than the author of the latest reply. How do I get it to show the author of the latest comment?

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

    Moderator

    This is the ‘(bbpress) recent topics’ widget?

    and you have it set with topics with recent relies – yes?

    That widget doesn’t allow for the reply author.

    It could be copied to a functions file, renamed and then edited to do so. If you are reasonable with coding, I will explain further.

    @rivaldo08

    Participant

    Oh yes, sorry about that – yes it is!

    I don’t know if I’m reasonable. I understand HTML/CSS and basic PHP 🙂

    @robin-w

    Moderator

    sorry, have now just looked at this again

    Isn’t this just the ‘latest replies’ widget that you need to use, or how does your request differ?

    @rivaldo08

    Participant

    Yes and no.

    That widget shows every reply, so if topic 1 is really active, it shows the last five persons who wrote in that topic – i just want to know who wrote the latest reply in one topic

    Topic 1 – last reply by XXX
    Topic 2 – last reply by ZZZ
    Topic 3 – last reply by XYZ

    So what I want is like a merger between the two widgets. I want to show the latest topics (based on the latest replies) and the author of the latest reply.

    @robin-w

    Moderator

    yes I’ve thought before that that would be good, I’ll take a look

    @robin-w

    Moderator

    ok, I’ve just finished coding a ‘latest activity’ widget that should do what you want.

    I’ve added it to my bbp-style-pack

    https://wordpress.org/plugins/bbp-style-pack/

    which you can load to the site and just use (there’s lots of other stuff in there), or if you’re code savvy, you can fork it form includes/widgets.php into your functions file

    Hope you enjoy it !

    @rivaldo08

    Participant

    Wow, thank you so much! It works perfectly! Amazing!

    @robin-w

    Moderator

    Hey great = glad you like it, and a useful addition, so thanks for raising it

    @rivaldo07

    Participant

    Oh, one thing. How do I get it to link to the latest reply and not the first post in the topic?

    @robin-w

    Moderator

    oops, yes I should code it to go to that, I’ll do an amend !

    @rivaldo07

    Participant

    Great. This is so much appreciated. Thank you!

    @robin-w

    Moderator

    now amended and in Version 1.9 together with hide avatar and shorten freshness options

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