Guest Posted April 20, 2011 Report Share Posted April 20, 2011 I understand StatsData users online feature, but is there a way to list the identities of those users for those that are logged into the webstie? Thanks! Quote Link to comment Share on other sites More sharing options...
Tom Posted April 20, 2011 Report Share Posted April 20, 2011 <?php $usersonline = StatsData::UsersOnline(); foreach($usersonline as $pilot) { ?> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" width="16" height="11" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a><br /> <?php } ?> That shows [Flag] Firstname Surname for each person 1 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 20, 2011 Administrators Report Share Posted April 20, 2011 Tom's right, it returns the list of pilots Quote Link to comment Share on other sites More sharing options...
nabpp Posted November 3, 2012 Report Share Posted November 3, 2012 when i added this code in my site in the layout.tpl file it completely made it so my site did not show a thing a completely blank page help please??? Quote Link to comment Share on other sites More sharing options...
nabpp Posted November 3, 2012 Report Share Posted November 3, 2012 pleas forget my last comment sorry i was about freak. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.