News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SSI would like the "re: " back

Started by Webby, May 13, 2004, 10:18:01 AM

Previous topic - Next topic

Webby

Hi there.

Maybe this has been asked before, but I can't find it.

I have the lastes 10 posts on my main page, and since SMF it doesn't show the "re: " when there is a reply in the post. I would like to see whether it is a reply or a new post (then it shouldn't show a "re: " ofcourse....).

How can this be done ?

[Unknown]

Are you using recentTopics or recentPosts?

-[Unknown]

Webby

Good question !

<?php ssi_recentTopics(); ?>

;)

[Unknown]

That would be the problem them, use recentPosts...

-[Unknown]

Webby

Well, that works, BUT now it will show 4 replies instead of 1 reply in 1 topic....The way it was with yabbse was a mix between these 2 options. It would not show multiple replies in 1 table.

It shows :

Re: Topics by Webby
Re: Topics by SuperDude
Re: Topics by Danny

Re: Other topic by Someone
Re: Yet another Topic by Someoneelse

Where I want it to be :

Re: Topics by Webby
Re: Other topic by Someone
Re: Yet another Topic by Someoneelse
Re: Room for another by Aperson
Re: Just a topic by Me

Do I explain myself right like this ;) ?

[Unknown]

Why do you want Re: then?  You could add it on manually, I guess...

-[Unknown]

Oldiesmann

I'm not sure why you would want this. recentTopics() displays the names of the most recently created and/or posted-in topics. recentPosts() shows the most recent posts (duh)... Because SMF uses a linear post view instead of a threaded post view, when you reply to a topic it doesn't know (or care) whether you're replying to the first message in the topic or the last one. It's just marked as a reply to the topic of the original post.
Michael Eshom
Christian Metal Fans

Webby

I want it because then I can see when there is a NEW topic, or a REPLY to a topic. It makes it just a bit more clear.
But if this can't be done.....?

Spaceman-Spiff

yea, i like the YaBB SE way too
so, if someone change the subject of their post, not using "Re: original subject", it will be shown too

Webby

So I'm not alone in this :)

What should be altered in the code ?

Advertisement: