News:

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

Main Menu

SSI Function For Member Count?

Started by CFCParadox, August 12, 2010, 08:39:07 PM

Previous topic - Next topic

CFCParadox

I was wondering if someone could paste the SSI function code for total members here. All I need is this: Total Members: 2510 from the forum stats.

Thanks,
CFCParadox
characters remaining: 575

EffinToast

#1
I think this is what your looking for.

echo $txt['total_members'],' :',$modSettings['totalMembers'];
aka: anzumerc / empireofthesun.net is no more.

CFCParadox

<?php ssi_boardStats(); echo $txt['total_members'],' :',$modSettings['totalMembers'];?>

Well this would show the total members and the board stats but how would I ONLY show the total members?
characters remaining: 575

EffinToast

Just leave out ssi_boardStats();

<?php echo $txt['total_members'],' :',$modSettings['totalMembers'];?>

aka: anzumerc / empireofthesun.net is no more.

Roph

What I've always done is simply echo the ID of the newest member.

Users: ', $context['common_stats']['latest_member']['id'], '

Or something like this :)

Advertisement: