Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show latest reply author name


  • Rivaldo08
    Participant

    @rivaldo08

    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

    @robin-w

    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

    @rivaldo08

    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

    @robin-w

    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

    @rivaldo08

    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

    @robin-w

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


    Robin W
    Moderator

    @robin-w

    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

    @rivaldo08

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


    Robin W
    Moderator

    @robin-w

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


    Rivaldo07
    Participant

    @rivaldo07

    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

    @robin-w

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


    Rivaldo07
    Participant

    @rivaldo07

    Great. This is so much appreciated. Thank you!


    Robin W
    Moderator

    @robin-w

    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