News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

ssi_whosOnline and hidden users in userlist

Started by Owdy, March 21, 2008, 08:44:36 AM

Previous topic - Next topic

Owdy

I use that in my index.template like this:

if ($context['user']['is_logged'])
{
require_once('/var/www/fs1/0/public_html/foorumi/SSI.php');
$array = ssi_whosOnline('array');

$newarray = array();
foreach ($array['users'] as $user)
  $newarray[] = $user['link'];

echo implode(', ', $newarray);
}
echo '


In 1.1 it worked fine. Now, hidden users doesnt show italicized. That works fine in ssi_examples.php page, but not in forum. Any ideas why?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

niko

Would this work?


$array = ssi_whosOnline('array');
echo implode(', ', $array['list_users_online']);
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Advertisement: