![]() |
"Members who have read thread" question
Is there a way to display the "members who have read this thread" in alphebetical order rather than random order?
|
There isn't, but you could add a plugin to sort them. Using hook showthread_whoread_list, you could use code something like this:
PHP Code:
(but I haven't tested it at all). |
Kevin, that in fact does correctly sort by username, however it does not ensure that all but the last name has a trailing comma. :)
|
Quote:
|
I briefly tried earlier, but will give it a better go tonight when I am in for the night. :D
|
If you replace this ;
PHP Code:
With this ; PHP Code:
I *think* it will sort out the commas for you. |
This is what I wound up doing, only executing the sort if the user can see the data and I wanted a case-insensitive sort as well:
PHP Code:
--------------- Added [DATE]1435563569[/DATE] at [TIME]1435563569[/TIME] --------------- I have created a product based off of the ideas in this thread here (thank you Kevin and Paul for your contribution :)): Sort Who Read Thread Users That product will allow you to sort the users either by userid, username, or dateline. :) |
All times are GMT. The time now is 05:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|