Guest Posted April 20, 2011 Report 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
Tom Posted April 20, 2011 Report 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
Administrators Nabeel Posted April 20, 2011 Administrators Report Posted April 20, 2011 Tom's right, it returns the list of pilots Quote
nabpp Posted November 3, 2012 Report 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
nabpp Posted November 3, 2012 Report Posted November 3, 2012 pleas forget my last comment sorry i was about freak. Quote
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.