General Community > Scripting Help

PHP / SSI help ?

(1/2) > >>

KrisiS:
Hello,

Can someone please explain to me how I can achieve this SSI on a php page? (it's just photoshopped in the picture)
I have tried reading the faq's and searching regarding SSI but I just don't really understand what to do.

Any help is much appreciated.
Thanks

KrisiS:
I managed to get bits of this working but can someone tell me how to exclude multiple pirvate boards from being posted?

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

What do I change the $exclude_boards = null to ?

vbgamer45:
Change it to like
array(1,2)


That would ignore board id 1 and board id 2

KrisiS:
Thanks for the reply.

I have managed to exclude 1 board with this:
<?php ssi_recentPosts($num_recent = 3, $exclude_boards = 9.0); ?>

but I cant get it to exclude multiple boards as it returns an error

Any ideas?


vbgamer45:
Do this instead
<?php ssi_recentPosts(3, array(9)); ?>

Multiple example
<?php ssi_recentPosts(3, array(9,7,8,6,5,4,3,2,1)); ?>

Navigation

[0] Message Index

[#] Next page

Go to full version