Function ssi_boardNews
Show the latest news, with a template... by board.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at SSI.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at SSI.php
null|integer |
$board = null |
The ID of the board to get the info from. Defaults to $board or $_GET['board'] if not set. |
null|integer |
$limit = null |
How many items to show. Defaults to $_GET['limit'] or 5 if not set. |
null|integer |
$start = null |
Start with the specified item. Defaults to $_GET['start'] or 0 if not set. |
null|integer |
$length = null |
How many characters to show from each post. Defaults to $_GET['length'] or 0 (no limit) if not set. |
string |
$output_method = 'echo' |
The output method. If 'echo', displays the news items, otherwise returns an array of info about them. |
|array
|
Displays the news items or returns an array of info about them, depending on output_method. |