Shop Mobile More Submit  Join Login
dAmn - Privclass Order by electricjonny dAmn - Privclass Order by electricjonny
First of all, I don't know much about JavaScript. But I wanted to upload this because I find it kind of useful :)

Basically, this changes changes how the privclass order is set, and lets you change it with a command

:bulletblack: /order

By default, this will order people in the privclasses based on when they came into that privclass. But you can type /order and hit enter to reorder them based on alphabetical order, like it is by default.

Anyone who runs a featured chat and wants to see a list of people based on when they got to the waiting privclass will find this pretty useful, for example.

Anyone who knows JavaScript can look at this script, find the line where I comment where it sets the order by join date by default, and comment that line out, and you'll have it set to alphabetical order like before. I just find join time better. But in large rooms, it can be hard to find a particular user.




I want to say that I did not write this alone. I had a lot of help with this, since I don't know a lot of JavaScript and how to write code.

So I'd like to give a special thanks to ~bentomlin and ~ManjyomeThunder since they helped me figure out a lot of this script, and `doofsmack, who wrote the original script :thanks:



Feel free to modify this or change it around to suit your own needs :)



To Install

First, you must have Firefox and have the Greasemonkey extension installed.

Then go to this site and click the green Install button at the top right. Then reload the chat page and you should have the new /orderalpha and /orderjoin commands.

I hope you find this useful :)
Add a Comment:
 

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

:icon1lovedrew:
1LoveDrew Featured By Owner Apr 5, 2011  Hobbyist General Artist
That website LOVES to give "500 Server Errors" and such...
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 6, 2011  Hobbyist Photographer
Yeah, it does that, but who knows what the problem really is.
Reply
:icon1lovedrew:
1LoveDrew Featured By Owner Apr 6, 2011  Hobbyist General Artist
I'll bet that it's because they don't update their servers like they're supposed to.
Reply
:iconpebcak:
pebcak Featured By Owner Jan 17, 2010
:thumbsup:
Reply
:iconlazybutt:
lazybutt Featured By Owner Jan 3, 2010
Thanks so much for this, Jon! This will become extremely helpful when it comes to hosting chat events. :D
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 3, 2010  Hobbyist Photographer
You're welcome :aww:

And yeah, the featured chat type events are mainly what I had in mind here. It's almost essential for featured chats =P

But then I also just like to see the order based on when people enter the chat rooms, so I have it set based on when they got there by default :slow:
Reply
:iconlazybutt:
lazybutt Featured By Owner Jan 3, 2010
:giggle: I actually remember you talking about this script waaay back at one of the critique events in #seniors. Oh well, glad I have it now!
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 4, 2010  Hobbyist Photographer
Haha yeah, I remember that :giggle:
Reply
:iconreaper-x:
Reaper-X Featured By Owner May 11, 2009
Oooh,I'm immortalized in a pretty interesting concept. It seems like a pretty cool setup, taking the guesswork out of things for the sake of a nicely flowing interview. Could possibly even work well enough for certain 'event's in dAmn involving the showcasing of thumbs. Like "critique night".
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 11, 2009  Hobbyist Photographer
Thanks :)

Yeah, this is pretty good if you want to have people do things based on when they join.
Reply
:icon2dazed:
2dazed Featured By Owner May 7, 2009  Hobbyist Artisan Crafter
Sweet! This will come in handy soon! :heart:
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 7, 2009  Hobbyist Photographer
I'm glad you like it :aww:
Reply
:iconmanjyomethunder:
ManjyomeThunder Featured By Owner May 4, 2009
Nice, glad to see you got it working, definitely something I'll be using in the future.
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Thanks :)

Yeah I liked the button, but there was an issue since the button text changed for all rooms but the order only changed for the one room you clicked it in. So I needed it to update all rooms when clicked, or have the button text only change for the rooms you pressed it in.

So I figured a /command would be easier. The only downside is it's a tad hard to figure out what order a room is in, but it's not too hard if you look at the order and just see if it's alphabetical or not. The only bug I've noticed is there's some odd things happening if you move people into/out of privclasses and use the order command. It seemed to reverse on me, so I might look into that if I see it happening a lot.
Reply
:iconnorke:
Norke Featured By Owner May 4, 2009  Professional Digital Artist
That's awesome! I never thought about this. I'll install it when I get home.

I could suggest a little extention though :D When we do a critiquenight or a featured chat or something, we promote people to a certain group. (lot's of big chats work that way I guess) Is it possible to have a /ordergroupjoin perhaps? :D I don't think dA stores that kind of information though, but maybe you have an idea for it.
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Hmm, what would that do exactly? Right now, by default, this will list people based on when they join or when they were put into a different privclass. So if you put someone into Asking or WaitingToAsk, they'll be at the very bottom.

(Although I just noticed that it does strange things if you switch the order around after promoting... not quite sure why it does that :confused:)

Anyway, I hope this will work for you, and I hope you like it :)
Reply
:iconnorke:
Norke Featured By Owner May 4, 2009  Professional Digital Artist
Aha, lol, this is what I get asking without testing first :D I'll look into it first.
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Haha, hope it does what you want :D
Reply
:icondczed:
DCZed Featured By Owner May 4, 2009
So beautifully organised! Fantastic :D
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Haha, I'm glad you like it :)
Reply
:icondczed:
DCZed Featured By Owner May 4, 2009
It makes my OCD very happy indeed :iconteheplz:
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
:lol:
Reply
:iconvayde:
Vayde Featured By Owner May 4, 2009
This is so funky lol
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Hehe yeah, it's sort of strange at first. But I've had something like this for a while. It was never adjustable though. And it can be sort of annoying in big rooms when you want to hover over a username since it's hard to find usernames with it in join order. So I thought, why not make it adjustable without having to disable the script and refresh?

But I sort of prefer it in join order by default, that's why you have to /orderalpha to change it back to normal =P
Reply
:iconvayde:
Vayde Featured By Owner May 4, 2009
I like it because it kind of rewards people for their dedication to the chats; with large rooms really only the upper or upper-ends of privclasses get "featured" or are able to be seen. There's nothing wrong with that but some might argue it gives more prominence to names starting with letters found earlier in the alphabet. Kind of like if google ordered its ads based on an alphanumeric system rather than search patterns or something lol

I have it just for the novelty to see who has been in the longest, since I do like to have them in order to locate people quickly, but either way it's funky :D
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Haha yeah, it's a tad unfair that the A usernames show up at the top.
Reply
:iconvayde:
Vayde Featured By Owner May 4, 2009
As a V, I can sympathise ;p
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
:giggle:
Reply
:iconshadowed-light-waves:
shadowed-light-waves Featured By Owner May 3, 2009   General Artist
Wow!! How cool!! :wow:
Aaah! I'm gonna install it right now so I can play around with it! :star:



Reply
:iconelectricjonny:
electricjonny Featured By Owner May 3, 2009  Hobbyist Photographer
Haha, I hope you like it :D

Just note that on rooms with a lot of people in them can sometimes take a few seconds to resort them :)
Reply
:iconshadowed-light-waves:
shadowed-light-waves Featured By Owner May 4, 2009   General Artist
WOW!! :excited: This is AWESOME!! 8D

I was going to ask you if it would work as soon as I got into the channel -- but I figured I'd just wander in and see for myself! dance:

And I guess if there are multiple privclasses, it just orders each one of those individually? 8D That's what it looks like. How fun! I like this!



Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Hehe yeah, it's sorted by join time as soon as you enter. Then you can /orderalpha in a room to switch to the normal alphabetical order. And yeah, since you don't want to move people out of privclasses, it's sorted by join time only for each privclass =P
Reply
:iconshadowed-light-waves:
shadowed-light-waves Featured By Owner May 4, 2009   General Artist
Er... minus emote fail. **:dance:



Reply
:iconelectricjonny:
electricjonny Featured By Owner May 4, 2009  Hobbyist Photographer
Haha =P
Reply
:iconpilandok:
pilandok Featured By Owner May 3, 2009  Hobbyist Writer
wow thanks for this, Its really helpful jonny
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 3, 2009  Hobbyist Photographer
I'm glad you like it :)
Reply
:iconpilandok:
pilandok Featured By Owner May 4, 2009  Hobbyist Writer
^^ helped me alot.
Reply
:iconinuyasha1771:
Inuyasha1771 Featured By Owner May 3, 2009
AWESOME! I used to spend hours and hours organizing privclasses, we had nearly 80 and I endedu p managing everybody and everything myself. Then people wanted to be moved, leaving mpty privclass numbers..bleh. This looks pretty ueful though, I think more custom privilege group type of stuff could definitely be useful to a lot of people
Reply
:iconelectricjonny:
electricjonny Featured By Owner May 3, 2009  Hobbyist Photographer
Thanks :)

I hope you like it :D
Reply
Add a Comment:
 
×




Details

Submitted on
May 3, 2009
Image Size
144 KB
Resolution
375×970
Link
Thumb
Embed

Stats

Views
3,365
Favourites
26 (who?)
Comments
39
Downloads
61

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×