Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Multiple Recent Posts

Aloittaja PokémonS, kesäkuu 02, 2014, 01:50:38 AP

« edellinen - seuraava »

PokémonS

SMF 2.0.6

Hi,
I want add one more recent posts bar, but those recent posts are from one/two board only.





^ 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!
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

margarett

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?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

xKroniK13x


PokémonS

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!

きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Advertisement: