Here are a couple of things we've done in various places that might be useful to you.
When a user uploads an avatar, a piece of metadata called icontime is set, which stores the UNIX epoch timestamp of the time they uploaded it. This is used for caching purposes; each profile icon shows up as {timestamp}.jpg, so that browsers can cache effectively.
You can use this to bring out the latest users who have uploaded avatars, as we do here on Community:
$newest_members = get_entities_from_metadata('icontime', '', 'user', '', 0, 20);
The above code will get the entities for the 20 most recent users. If you only wanted to bring out OpenID users, for example, you could set the subtype field (OpenID users have subtype 'openid'):
$newest_members = get_entities_from_metadata('icontime', '', 'user', 'openid', 0, 20);
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.