Is there any way to sort the quakelive chat by the name of the player or the clantag?
Printable View
Is there any way to sort the quakelive chat by the name of the player or the clantag?
No. It used to be sorted by player name but something broke it. I don't know what. I cry every time I have to use the chatlist now though.
I just found and installed the following script but it doesnt work for me.
http://userscripts.org/scripts/show/123706
(I'm using qlprism)
Does it work for you?
It doesn't seem to work on FireFox with Scriptish.
EDIT :
Replace A with B in the script's source and thank Drayan.
A (wn's original) :
contentEval(function() {
alert("Roster sorting has been corrected on quakelive.com.\n"
"Please disable/remove Quake Live Roster Sorter.");
return;
// RosterItem's UI_PlaceInGroup always appends the new item to the list,
// so we grab the last item and find its proper position by comparing the
// player names (the text node under ".player_name").
quakelive.mod_friends.UI_SortRoster = function(groupType) {
var $items = $("#im-" + groupType + " > div.itemlist > div.rosteritem")
, $newItem
, newName;
if ($items.length < 2) {
return;
}
$newItem = $items.last();
newName = $newItem.find("span.rosteritem-name > span.player_name").contents().filter(function(){re turn this.nodeType == 3}).text().toLowerCase();
$items.each(function() {
if (newName < $(this).find("span.rosteritem-name > span.player_name").contents().filter(function(){re turn this.nodeType == 3}).text().toLowerCase()) {
$newItem.insertBefore($(this));
return false;
}
});
}
});
B (Drayan's fix) :
contentEval(function() {
// RosterItem's UI_PlaceInGroup always appends the new item to the list,
// so we grab the last item and find its proper position by comparing the
// player names (the text node under ".player_name").
quakelive.mod_friends.UI_SortRoster = function (groupType) {
var $items = $("#im-" + groupType + " > div.itemlist > div.rosteritem");
if ($items.length < 2) {
return
}
var $newItem = $items.last();
var newName = $newItem.find("span.rosteritem-name > span.player_name span").text().toLowerCase();
$items.each(function () {
if (newName < $(this).find("span.rosteritem-name > span.player_name span").text().toLowerCase()) {
$newItem.insertBefore($(this));
return false;
}
})
}
});
It works
I dont know drayan, but I am grateful to you and him! A lot of players might benefit from this!
I attached the full "fixed" script.
QLPrism Users need to go to "Mangage User Script" and "Edit" and replace the code manually.
No problem. If you don't know Drayan, you might be interested on his work :
https://userscripts.org/users/469998/scripts
Now i know. I have used the message beep script already :)
im more grateful for drayans friend-invite+add script. it functions like something you'd expect a pro subscription to offer you to begin with.
install ql prism! it has everything that was mentioned and more.
QLPrism basically just has every QL-related userscript in it though that adds functions. It's not anything special other than it includes IRC for easier access. Everything else in it it just for lazy people. (The in-game benefits aren't actually noticeable user-to-user, so it all depends)
it stopped my fps lags @ mid on certain maps, it runs smoother, the user interface is better - and overall its more detailed so imo its better than the browser login by far.