Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Dwev on April 16, 2021, 09:51:24 AM

Title: How to exclude boards in an URL?
Post by: Dwev on April 16, 2021, 09:51:24 AM
I want to construct a URL that excludes certain boards.

In this case it will start with https://xxxx-xxxx.com/index.php?action=unanswered but that one shows all boards with unanswered posts.

I'm pretty sure that there's a way to exclude them by adding something after the URL above, doesn't somebody know how to do this?

Thanks in advance.
Title: Re: How to exclude boards in an URL?
Post by: Aleksi "Lex" Kilpinen on April 16, 2021, 09:56:18 AM
Something like /index.php?action=unread;boards=1,2,4,5 might work.
Though, this doesn't work by excluding boards, it works by only including the specific boards mentioned.
Title: Re: How to exclude boards in an URL?
Post by: Kindred on April 16, 2021, 11:39:37 AM
<?php ssi_recentTopics($num_recent = 8, $exclude_boards = null, $include_boards = null, $output_method = 'echo'); ?>