Display all posts made by a specific user in a specific thread

Started by Bloodsurfer, February 10, 2019, 09:07:55 AM

Previous topic - Next topic

Bloodsurfer

Hello.

I am looking for a way to display all posts made by a specific user in a specific thread.

There may be an already existing modification or some other easy way to get there, which I have not discovered yet.

I can achieve this by running simple SQL statements on the server of course, but then I get the messages only as unformatted text. I would like too see them in a normally formatted fashion like viewing a normal thread with BB code, avatar, time stamps etc.

What would be the easiest way to get there?

Kindred

well, there is no modifications existing, that I know about...


However, using SSI, you should be able to
a) make the query correctly (making direct database queries is a no-no -- in 99.99% of the cases where people do it, it is insecure)
b) have the output formatted in the standard SMF post-view.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bloodsurfer

Thanks for your suggestion. Which SSI function(s) could I use for this?

Arantor


Bloodsurfer

Quote from: Arantor on February 10, 2019, 11:33:50 AM
https://custom.simplemachines.org/mods/index.php?mod=4174 Maybe?

Not sure exactly what you're trying to achieve otherwise, more details might help here.

That is *exactly* what I was looking for. Perfect, thank you!

Advertisement: