The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a mod out there that allows you to sort the memberlist by location or a custom field? I've created a dropdown menu for people to select their state or province but it is not sortable from the members list. There was a mod for 3.8 that called custom profile field sorting or something like that. I've looked at it but it doesn't appear that it would work for VB4.
If there's not a mod, does anybody know how you would manually edit the memberslist template to add it to a particular field? |
#2
|
||||
|
||||
![]()
What's the link to the vB3 version?
|
#3
|
|||
|
|||
![]()
Here's an experiment I tried:
hook location: "memberlist_fetch", in memberlist.php, line 596 Code:
if($_GET['sortbyloc'] == 'sort') { $sqlsort = 'userfield.field10'; } so add "&sortbyloc=sort" to the memberlist URL and I think it'll work. This is lousy programming but it gets you started |
#4
|
|||
|
|||
![]()
This is the one I used for 3.8.
https://vborg.vbsupport.ru/showthread.php?t=124580 --------------- Added [DATE]1416420878[/DATE] at [TIME]1416420878[/TIME] --------------- Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|