You can't use $post on your custom page unless you include a query that reads data into $post.
You might want to take a look at memberlist.php, it's a little complicated but it displays a list of members along with various user fields, depending on how the options are set (each custom field has a "show in member list" setting, and in the main admincp settings there's an option for which fields to display).
|