![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
Is there a way to display the "members who have read this thread" in alphebetical order rather than random order?
No members have liked this post.
|
#2
|
||||
|
||||
There isn't, but you could add a plugin to sort them. Using hook showthread_whoread_list, you could use code something like this:
(but I haven't tested it at all). The following members like this post: MarkFL
|
#3
|
||||
|
||||
Kevin, that in fact does correctly sort by username, however it does not ensure that all but the last name has a trailing comma.
![]() No members have liked this post.
|
#4
|
|||
|
|||
Originally Posted by MarkFL
Oh, OK, do you know how to fix it? I just typed it in without even checking to see if it had typos or anything. ![]()
![]() No members have liked this post.
|
#5
|
||||
|
||||
I briefly tried earlier, but will give it a better go tonight when I am in for the night.
![]() No members have liked this post.
|
#6
|
||||||||
|
||||||||
If you replace this ;
With this ;
I *think* it will sort out the commas for you.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. |
#7
|
||||
|
||||
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:
I used usort() so that the keys would not be preserved, otherwise you wouldn't know which is last after the sort. ![]() --------------- Added 29 Jun 2015 at 07:39 --------------- 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. ![]() Last edited by MarkFL; 29 Jun 2015 at 03:12. |
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Real "read/not read" threads and "new messages in forum" highlighting v1.2 | JohnWoo | vBulletin 3.0 Full Releases | 43 | 16 Sep 2006 03:54 |
Real "read/not read" threads and "new messages in forum" highlighting 1.1 | JohnWoo | vBulletin 2.x Full Releases | 30 | 22 Mar 2004 00:10 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 08:16.