Jump to content
WebFlake
  • 0

How to get users online in footer?


poon

Question

2 answers to this question

Recommended Posts

  • 0

This should be the bottom part of the boardindextemplate

 
<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">
<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</h4>
<p class='statistics_brief desc'>
{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
<if test="onlineListEnabled:|:$this->settings['allow_online_list']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}' title='{$this->lang->words['online_link']}'>({$this->lang->words['online_link']})</a></if>
</p>
</if>
<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
<br />
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
</p>
</if>
</div>
  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...