Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

get_board_stats

Usage: array get_board_stats ()
Purpose: Returns board statistics.
Availability: IPB SDK 1.0

Returns an array of information on the board.

Information is returned in the following array structure:

Array (
      [total_replies] => 23
      [total_topics] => 73
      [mem_count] => 22
      [last_mem_id] => 23
      [last_mem_name] => helloall
      [most_count] => 4
      [most_date] => 1062780584
)


User Contributed Notes

Renegade
I find the easyest way to do this is to use a new var (stats)

$stats = $SDK->get_board_stats();

this will use the function get_board_stats.

then you can simply echo them out.

echo 'There are'.$stats['total_topics'].' topics.';

etc..

hth..

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net