Hi,
I'm trying to add a comple of template files that will allow me to produce a list of some (but not all) of the users on my site. The idea is that there will be a three-column list of players, with photos nd their position (achieved by using the AIM field, so I don't have to add a custom field); choosing a player will take the user to a page with a bigger picture, description, and any recent blog posts.
The second part of this seems to be working fine, but getting the list of users is a lot harder!
If I use Kaf's code (http://guff.szub.net/source/page-authors.php), then the result is a blank page. Adding $wpdb->show_errors(); at the top tells me that it fails because I'm sorting on a non-existent column. So I looked at http://codex.wordpress.org/Author_Templates, which has some user information fields, but these don't work either; I can sort the list by ID or display_name, but nothing else seems to work.
I'm reasonably sure that I understand how to exclude certain users (based on the ID), but how do I build my list of users, sorted by lastname? If I can't do the sort, the list isn't going to be much use.
Gary