The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Profile Fields -- How To Sort In Memberslist?
Hey guys.
I have added several text-based Profile Fields and I would like my users to be able to sort them alphabetically via the Members List, just like the User Name does by default. How would I go about doing this? Thanks. |
#2
|
|||
|
|||
When you edit a profile field, you can change the order of the fields.
|
#3
|
|||
|
|||
I see this is an old thread. I figured I would search before starting a new one, however, this doesn't really answer the question.
I don't want to change the display order as they appear on the memberslist, I want the users to be able to click the Custom Category Field (as a link), and have it sort ASC, DESC - just like the username Category field. Explaination In the template: memberlist There is a line that sets the username as a sortable category. Code:
<td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=username&pp=$perpage$usergrouplink">$vbphrase[username]</a> $sortarrow[username]</td> memberlist_results_header Default: Code:
<td class="thead" nowrap="nowrap">$customfield</td> Code:
<td class="thead" nowrap="nowrap"> <a href="$sorturl&order=ASC&sort=$customfield&pp=$perpage$usergrouplink">$customfield</a> $sortarrow[customfield] </td> Code:
http://blah/blah/forums/memberlist.php?&order=ASC&sort=Location&pp=30 Is there anyway to do this easily without writing new code into the memberslist.php? and if not, a little help on the code would be great. |
#4
|
|||
|
|||
shameful bump. Can anybody help with this?
|
#5
|
|||
|
|||
Another very shameful bump.
Any insight, even if not a solution would GREATLY help. Thank you to anybody who tries to tackle this problem. |
#6
|
|||
|
|||
I'll bump this too - as I am trying to figure this out myself.
--------------- Added [DATE]1205270874[/DATE] at [TIME]1205270874[/TIME] --------------- I found this a while ago - I tried to use this mod, but it made my member list page wider to the point it didn't look right. Maybe this will work for the rest of you. https://vborg.vbsupport.ru/showthread.php?t=124580 |
#7
|
|||
|
|||
Very cool. Thank you very very much.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|