News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How to exclude more than 1 topics from recent?

Started by likemike, January 24, 2011, 03:26:25 PM

Previous topic - Next topic

likemike

Hi,

I want to exclude more than 1 topics from ''ssi_recentTopics''

<?php ssi_recentTopics($num_recent 8$exclude_boards null$include_boards null$output_method 'echo'); ?>

Is there a way to input more than 1 topic number in  $exclude_boards = null ?

Thanks.

Kindred

you want to exclude TOPICS or BOARDS?

exclude_boards *ONLY* works for boards...    use a comma separated list/array


<?php  ssi_recentTopics(8, array(2,3,8), null, 'echo'); ?>
Сл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."

likemike

Ohh, BOARDS, it is. Sorry my bad.

array(b1,b2) is what i was looking for .

Thank you very much.

Aleksi "Lex" Kilpinen

Since it's been a while, and I see this is probably solved - I'll mark it accordingly. If there is something you need further assistance with, feel free to mark the topic not solved, or open a new topic regarding the current issues. Thank you :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: