I was wondering if anyone had a php code to show the Total Members bit on an external site and update every time a new member registered.
look in SSI.php file in the forum root dir for a function called ssi_boardStats() which will give you something like:
Total Members: 26486
Total Posts: 340267
Total Topics: 39557
Total Categories: 9
Total Boards: 67
call the function like:
require_once 'path/to/SSI.php';
$stats = ssi_boardStats();
echo 'Total Members:', $stats['members'];
Quote from: Saleh on September 18, 2005, 08:50:04 AM
look in SSI.php file in the forum root dir for a function called ssi_boardStats() which will give you something like:
Total Members: 26486
Total Posts: 340267
Total Topics: 39557
Total Categories: 9
Total Boards: 67
call the function like:
require_once 'path/to/SSI.php';
$stats = ssi_boardStats();
echo 'Total Members:', $stats['members'];
That would only work if it's on the
same website, not an external website.
yeah, I thought he meant external as outside the forum directory! :-\
man, I should read and think more carefully!
yeh I ment outside the forum directory.
Thanks for your help