Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Thephatrican on August 21, 2008, 12:40:17 AM

Title: How to exclude all boards but include one in SSI.php
Post by: Thephatrican on August 21, 2008, 12:40:17 AM
I am using the ssi_recentTopics() and currently have it set to <?php ssi_recentTopics($num_recent 5,$include_boards 5.0,  $exclude_boards null); ?>

Now, in order to exclude all other boards what will I have to change the value that is currently 'null'? I don't wish to have to update this page everytime I add a new board to my forum so if there is an easy way, I'd love to know.

EDIT (8/21/08 12:53am -EST)- I changed the original code - It is now <?php ssi_recentTopics($num_recent 5$exclude_boards null$include_boards 5$output_method 'echo'); ?> The code before wasn't in the right order >_> I still have the same problem though.

EDIT 2 - Actually fixing the order did wonders. I don't need help anymore.
Title: Re: How to exclude all boards but include one in SSI.php
Post by: Thephatrican on August 21, 2008, 12:55:04 AM
Sorry for double post, but problem solved. I don't want people looking at the posts and see zero and think it's not solved.