Fantastic module. As Members evolves, would it be possible to implement hooks? I have a feature request with the Station Module for two features.
- Add a hook to create a members list for all hosts
- Add a field to Members to display associated programs
Hooks to allow for both of these options akin to views would be infinitely useful.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | members-hooked.patch | 42.95 KB | dgtlmoon |
Comments
Comment #1
dgtlmoon commentedYeh 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`
Comment #2
dgtlmoon commentedHere 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
Comment #3
dgtlmoon commentedHave supplied a new patch for 5.x for this functionality along with search
http://drupal.org/node/200826
Comment #4
wmostrey commentedWow, thanks so much for this! I'm looking into it soon
Marked as a duplicate of http://drupal.org/node/200826