SMF 2.0.6
Hi,
I want add one more recent posts bar, but those recent posts are from one/two board only.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F9bumB%2F4db1b24479.png&hash=ee8041334b2a5223c3a01760ea72e8509f6041f2)
^ Screenshot shows that I made the second recent posts bar, but it's still from all board.
What code should I change? And I don't mind the server performance.
Thanks!
It's not clear what you want...
How did you get 2 "Recent Posts"? SMF creates one for you, with a configurable number to be shown.
You want to separate the recent posts per board, is that it?
I believe you can do that via the SSI...
http://www.simplemachines.org/community/ssi_examples.php
Lainaus käyttäjältä: margarett - kesäkuu 03, 2014, 05:27:14 IP
It's not clear what you want...
How did you get 2 "Recent Posts"? SMF creates one for you, with a configurable number to be shown.
You want to separate the recent posts per board, is that it?
Yes, that is, I want separate the recent posts only for a board.
Lainaus käyttäjältä: xKroniK13x - kesäkuu 03, 2014, 05:37:48 IP
I believe you can do that via the SSI...
http://www.simplemachines.org/community/ssi_examples.php
Oh, now I'm learn something new. :3
Then I use ssi_recentPosts(); and edit some style, and it works perfectly! Thanks!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F9hTrK%2Fb16e89c299.png&hash=5501db3e2016495b6e81470d04bc8e6dfed36355)