Latest Members

dangibas - April 11, 2008 - 07:02

The Latest Members module creates a block that you can use to show the latest members pictures (user pictures) on your site. You can also configure the block to show the number of pictures that you prefer. The default number of new user pictures is 6.

The Latest Members module does something similar as the Avatar Gallery module but with a different approach: it doesn't make use of an image map, simply a themeable set of user pictures.

Once you enable the Latest Members module, you can go to "administer » site building » blocks » latest members" where you can configure the number of latest users to show in block.

The module output can be customized by overriding the theme_latest_members() function.

<?php
/**
* @param $accounts
* array of user pictures
*/
function theme_latest_members($accounts) {
 
$output = '<div class="latest-members">' . implode(' ', $accounts) . '</div>';
  return
$output;
}
?>

Initial development was done by dangibas - www.hygen.net and completely rewritten by toemaz according to the Drupal coding standards.

Releases

Official releasesDateSizeLinksStatus
5.x-1.12008-May-147.49 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.