Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Gobo - helmikuu 19, 2006, 07:29:38 IP

Otsikko: Newest Replies Block - How?
Kirjoitti: Gobo - helmikuu 19, 2006, 07:29:38 IP
Hi I use SMF 1.1RC2 bridged with Mkportal

And I would like to know how I can create a block which would display the "latest 5 replies" to any post without repeating them over and over (if more than one reply for a post was recieved)

Features I would like it to have are:
- Each new thread started gets listed in it
- As new threads come the older ones get knocked downwards
- If any thread recieves a new reply it is bonked to the top of the block again

Its basically something like the Top X replies thingie in vB

Preview:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg153.imageshack.us%2Fimg153%2F8438%2Fshv0023fy.jpg&hash=1305cf3b67160d82b0ee0f0701edc0bda1064230)

Please some one help me with this