Quote:
Originally Posted by findingpeace
This is great! Is there any way to get the # of Staff currently online? For example, in the block title "Staff Online (#)"
I imagine this must be a SQL query or plugin somewhere. Any help would really be appreciated!
|
I will see about integrating this into a future version but for now...
Edit the Forum Blocks PHP code...
find
Code:
$staffsarray = array('activestaff' => $activestaff);
return $staffsarray;
Near the bottom
and replace both lines with these 3 lines:
Code:
$nums = "($bp5i)";
$staffsarray = array('activestaff' => $activestaff, 'nums' => $nums);
return $staffsarray;
Then in the template block_staff_online_bop5
Find the 2nd instance of:
Code:
{vb:rawphrase bop5_staff_online}
and add
Code:
{vb:raw content.nums}
right after it, include a space between them.