Log in

View Full Version : Sorting Memberlist by Last Name


jpapadpapa
03-20-2008, 03:08 PM
I need to find a way to:

List member last names on the memberlist
Put the last name category first in the memberlist, rather than the username first
Sort the memberlist alphabetically by members' last names


I have added last names as a custom profile field (field20), but if I add custom profile fields on the memberlist via the CP, then they all show up and I don't want everything there...just last names (and possibly first, as well).

I also found the following thread, which I thought might be helpful. But, I changed the code (as best I could, since this question was asked of an older version), and it did not seem to do anything.

https://vborg.vbsupport.ru/showthread.php?t=67922

Thanks in advance for any help you can give me!:)

--------------- Added 1206029781 at 1206029781 ---------------

I just read the link within the link I sent that gives me the impression that I can't put just the last name at the front of the list, since I have more than one custom variable.

Any other help would be appreciated.

Shawn Yue
03-20-2008, 03:17 PM
Try This Link

https://vborg.vbsupport.ru/showthread.php?t=124580

Maybe It Will Help You

jpapadpapa
03-20-2008, 04:51 PM
Thank-you! I don't know how I missed this, but it is exactly what I need!! Hope it works for me.

--------------- Added 1206040302 at 1206040302 ---------------

Okay, I did get a column to appear for "last name", but I still need it to automatically sort by last name, rather than username, so that when you click on a letter, it sorts by the last names alphabetically.

Is there any way to do this? I am dealing with a local group of newbies who know one another by their real names and so this needs to be as simple as possible!