API - XOOPS 2.5.11 Beta 2
By monxoops.fr
function.xoStats.php File Reference

Functions

 smarty_function_xoStats ($params, &$smarty)
 

Function Documentation

◆ smarty_function_xoStats()

smarty_function_xoStats (   $params,
$smarty 
)

Smarty plugin

File: function.xoStats.php Type: function Name: xoStats Purpose: XOOPS Members Statistics Author: Lio MJ liomj.nosp@m.83@g.nosp@m.mail..nosp@m.com Examples: <{xoStats}> Latest Member : <{$latestMemberUname}>
Total Posts : <{$totalPosts}>
Total Users : <{$totalUsers}>
Total Online : <{$totalOnline}>
New Users Today : <{$newUsersToday}>
New Users Yesterday : <{$newUsersYesterday}>

These are the names of all the values that will be assigned for Smarty $latestMemberName - name of newest member $latestMemberUname - uname of newest member $latestUid - uid of newest member $totalOnline - total members online $totalPosts - total posts by all members $newUsersToday - number of members registered today $newUsersYesterday - number of members registered yesterday $totalUsers - total number of members

Parameters
array$params
\Smarty$smartySmarty instance
Returns
void