Display User Attributes on Members List

Permalink
I'm building a single page (members.php) that lists all the Users' attributes in a table, with the column headings being the attribute key names.

I've been using this:
$uaks = UserAttributeKey::getPublicProfileList();


However it only gets me half there. Is there a way to get the attributes that should only be displayed on the members list (since this seems to be a setting you can make in the Dashboard in User Attributes)?

Proteus
 
Proteus replied on at Permalink Reply
Proteus
Or, put it another way: I want to list all the attribute names for User Custom Attributes.
Proteus replied on at Permalink Best Answer Reply
Proteus
Figured it out myself:

$uaks = UserAttributeKey::getMemberListList();


This is what was needed. It was hiding in user.php in the core, of course.
mibookscom replied on at Permalink Reply
Hi, could you please explain how exactly you got the attribute titles to be displayed in the member list? Im a complete n00b and cant figure it out!! Excuse my tardiness :)
Thanks!