• Welcome to Simple Machines Community Forum. Please login or sign up.
September 24, 2021, 01:14:46 AM

News:

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


How to exclude all boards but include one in SSI.php

Started by Thephatrican, August 21, 2008, 12:40:17 AM

Previous topic - Next topic

Thephatrican

August 21, 2008, 12:40:17 AM Last Edit: August 21, 2008, 12:54:27 AM by Thephatrican
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.

Halo 3 Community
[nofollow]

Thephatrican

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.

Halo 3 Community
[nofollow]

Advertisement: