user list

Creating a list of users (16)

This is an update of the old and outdated article "Drupal member list" which was written for Drupal 4.7 and Drupal 5 when it was just released. This article applies to Drupal 5 and 6.

Continue reading »

A big step for the members module (7)

The members module went through some big changes recently. Apart from some bug fixes the following features were added:

  • Weighted fields!
  • Blocks
  • Improved menu settings
  • Page/block header and footer

I'm currently working on adding some more fields like the amount of nodes created, amount of comments, amount of [content type] nodes, ... This would make it very easy to create a customizable block that displays the Top 5 posters or Top 10 bloggers for instance. After that filters and arguments will be added. Exciting times!

Continue reading »

Taking user listing one step further (2)

In a previous article I lamented about the lack of a decent user list module for Drupal, upon which jadwigo and myself migrated walkah's members module to Drupal 4.7 and Drupal 5. Alas, the functions offered are nowhere near as versatile and flexible as the ones the views module offers for listing nodes. Until now. Taking user listing one step further I upgraded the members module to include functionalities such as:

  • Multiple members pages, each with their own settings
  • Menu items and direct, user-set urls
  • Set the amount of users per page
  • Access control per role

In the weeks to come the following options will be added:

  • Blocks
  • Improved menu settings
  • Page header and footer
  • Multiple arguments
  • More user fields: amount of comments, amount of nodes started, ...
  • More fields options: their order, option to link to the user page or the user gallery, their flickr page, ...
  • Communication with, for instance, mass_contact to mail the selected users

I will be starting with adding extra fields like amount of comments and with the blocks. A block with "top 10 posters" for instance is currently solved with code snippets. Being able to do this with a module would be a lot more user-friendly. I've already had the question to back-port these new features to the 4.7 version but my main goal is to get all this in the Drupal 5 version before Drupal 6 launches, and to kickstart it ready for Drupal 6.

To quote walkah: "Rock."

Continue reading »

Drupal members list (15)

*Update Aug 25, 2008* This article only applies to Drupal 4.7. It has been updated for Drupal 5 and Drupal 6 in the article "Creating a list of users".

In my search for a module to display a sortable list of users, I came across a number of options. The profile module (Drupal 4.7 core) grants a simple list of users, sorted on the date they last visited. The user_list module grants more options, better theming options and an API, but does not include the fields created by the profile module for instance. The members module does all this, and allows listing by role. This module has no version for Drupal 4.7 or Drupal 5 though, so I upgraded it myself.

The upgrade itself was pretty easy, only for once change: Since Drupal 4.7 'authenticated user' role is assigned to anyone who is currently logged in. This role id is not inserted into the users_roles table anymore. When selecting this role, you basically select all registered users. So after implementing this, I had a nicely working version of the members module for Drupal 4.7. Thanks to jadwigo, there is also a version for Drupal 5.0!

*Update Mar 19, 2007* Walkah has added these versions to the drupal members project.

Continue reading »
Syndicate content