Fantastic module. As Members evolves, would it be possible to implement hooks? I have a feature request with the Station Module for two features.

  1. Add a hook to create a members list for all hosts
  2. Add a field to Members to display associated programs

Hooks to allow for both of these options akin to views would be infinitely useful.

CommentFileSizeAuthor
#2 members-hooked.patch42.95 KBdgtlmoon

Comments

dgtlmoon’s picture

Yeh i wish there was some kind of hook for buddylist module so you could see who was your existing buddy/sort by buddy or not

How i wish drupal pushed on with users as nodes then it would be just a matter of creating a `view`

dgtlmoon’s picture

Version: 5.x-1.x-dev » 4.7.x-1.x-dev
Component: User interface » Code
Status: Active » Needs review
StatusFileSize
new42.95 KB

Here is my initial patch to achieve just this

- it allows for some hooks from other contrib/ modules to return the fields they support
- automatically creates a LEFT JOIN to merge data with
- at the least, you must be able to merge your new set of data based on a 'uid' for each row

this patch allows you to

- add fields from the profile module to the display columns
- add fields from any other module (buddylist example contrib module is included)
- be able to search on those fields
- be able to sort by those fields

it also supports the ajax autocomplete where those fields are of type 'textfield', see the included profile contrib module for an example

unfortunately, initially this is written for drupal-4.7, but im sure it would not take much to upgraded it

dgtlmoon’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

Have supplied a new patch for 5.x for this functionality along with search

http://drupal.org/node/200826

wmostrey’s picture

Status: Needs review » Closed (duplicate)

Wow, thanks so much for this! I'm looking into it soon

Marked as a duplicate of http://drupal.org/node/200826