It would be great to provide a page listing all users who are currently DJs.
This would and show a list with user name, profile picture if enabled, and that person's programs.

I've had a look at doing this myself, and fallen at the first hurdle: I can't get an extra item to appear on the /station/ page. I'm adding an item to station_schedule_menu but it doesn't show.
Also, which module should this be in? I assumed the programs list page was in the program module, but it's in schedule module, so I'm not sure where to put this.
I'd appreciate pointers on the SQL query to pull out users who have programs too :)

Comments

drewish’s picture

Component: Programs » Schedule

i think you should try to do it using views. it might be some work to add some new new fields but it'd really improve the views support...

joachim’s picture

I don't think it's possible to get a view to show a list of users.

There's usernode/nodeprofile modules that do node-type things with users, but I have given up trying to understand how to use them, and I imagine you don't want station to have an extra dependency.

mattrock’s picture

My technique:

  1. Set up your needed field information per user using the stock profile module. This lets you capture the needed metadata when the user creates the account. We use this for real name and cell #.
  2. Set up your menu item to table view this profile information with the Members module.

It's a pretty simplistic setup, but when it comes to metadata, I like simple.

drewish’s picture

Version: 5.x-1.0 » 5.x-2.x-dev

i've come around, this is something that the station module should provide...

joachim’s picture

Views2 for D6 will be able to provide queries on tables other than node -- in other words, it should be able to create this.

drewish’s picture

yeah, it might be best to just wait for that...

drewish’s picture

Version: 5.x-2.x-dev » 6.x-2.x-dev

now that i'm doing it in view2 and the djs are userreferences this should be easy enough.

cookiesunshinex’s picture

Status: Active » Closed (fixed)

Shouldn't this be closed?

1. Setup a role called DJs
2. Setup your programs using the DJs that have registered on your site.
3. Add the DJs role to the relevant usernames.
4. Create a view using fields User:Picture, and User:Name, and any other fields you have added to your profiles such as Profile:City.
5. Use the Filter User:Roles=DJs

The only thing that I would like to see, but it is a very very low priority is auto complete only from the DJ role when creating a program.