Deviant Login Shop  Join deviantART for FREE Take the Tour
×

:icontachy-on: More from Tachy-on


More from deviantART



Details

Submitted on
March 29, 2007
Link
Thumb

Stats

Views
18,106
Favourites
796 (who?)
Comments
335
×
This is an introductory tutorial on topics concerning the Chat Network.  

Lesson 1



So, you've created your first chatroom and you're a bit confused on how it all works?  These two lessons will attempt to take some of the mystery out of using and managing your chatroom.

Note that most of the commands mentioned in this article can be done by accessing your Chatroom Settings (a link to this is located in the bottom right of your chat screen).  Most people prefer to use the commands though since not everything can be done by using the Chatroom Settings, and for the most part you can do things faster and easier by using the command.


First Steps



When you first create your chatroom you'll notice that you are put into the "Guests" privclass.  The first thing you should do is to type this command in the text box where you normally type:

/promote username Founders

Where "username" is your deviant username.  This will put you into the "Founders" privclass.  Don't worry about what that means right now, you'll learn what these privclass are for later on in this lesson.

The next thing you probably want to do is to change the "topic" and "title" of your chatroom.  See the following faq that explains how to do this:

FAQ #513: How do I change the title (or topic) on the top of my chatroom?


Understanding Privilege Classes



A privilege class (privclass) is a way of organizing your chatroom into different "groups" of users.  Each group can then be given certain privileges that apply to all the users that are a member of that privclass.

The standard privclasses in a newly created channel are:

Founders - Typically the creator of the chatroom.
Operators - The "moderators" that help run the chatroom.
Members - The regular attendees of the chatroom.
Guests - Everyone who is not a member of any other privclass (new people)
Banned - Users who have been barred from the chatroom for one reason or another.

The default privileges are set up so that Founders have the most privileges in the room, followed by the Operators, and so on, with the Banned group having the least privileges (users in the Banned privclass can't even join the chatroom).

To move people around the different privclasses you use the /promote  or /demote command.  You use /promote when you want to move the user up in the list and /demote when you want to move them down.

Assuming lolly was in the Guests privclass, typing:

/promote lolly Members

would move lolly into the Members group.

Typing:

/demote lolly Guests

would move him back down into Guests.

The Guest privclass is special.  Any user that joins a chatroom who doesn't belong to any other privclass will automatically be a member of the Guest privclass. This gives the Guest privclass some unique properties, but I'll talk more about this in a future article.


Understanding Privileges



Anyone can view the privileges assigned to  privclasses in a chatroom by typing the following command into the text box where you usually chat:

/admin show privclass

Entering the above command and pressing enter will give results similar to this:
  • 99 Founders:
    • +admin +kick +topic +title promote=99 demote=1 +images +smilies +emoticons +thumbs +avatars +websites +objects
  • 75 Operators:
    • +kick +topic +title promote=75 demote=1 +images +smilies +emoticons +thumbs +avatars +websites +objects
  • 50 Members:
    • +topic +title promote=50 demote=25 +images +smilies +emoticons +thumbs +avatars +websites +objects
  • 25 Guests:
    • images=5 smilies=5 emoticons=5 thumbs=5 avatars=5 websites=5 objects=5
  • 1 Banned:
    • -join
You can change the default privileges by using the /admin update privclass command.  To use this command, you either have to be in a privclass with the +admin privilege, or be the original creator of the chatroom.

Let's take a look at each privilege in detail to see what effect each has.  For each I will also supply an example of how to change the privilege for a given privclass.

order
That number to the left of each privclass name is known as it's "order" value.  For example, the default order value of the Members privclass is 50.  Privclasses with higher order values are displayed closer to the top of the chatters list.  By default, the Founders privclass has the highest order number (99), so it always appears at the top of the listing. This "order" value also has significance with the "promote" and "demote" privileges.

It can be set using "order=#" where # is a  number between 2 and 99.

Example:

/admin update privclass Guests order=60

Running this command would give the Guest privclass an order value of 60 which would move it between the Operator and Members privclasses in the chatters list.


join
This describes whether members of the privclass can join the chatroom. It can be set to "+join" for can join, and "-join" for cannot join.  The "Banned" privclass by default has this set to "-join".

Example:

/admin update privclass Members -join

The result of running this command would be that users in the Members privclass can no longer join the chatroom.

title
This describes whether members of the privclass can change the title by using the /title command. It can be set to  "+title" for they can, and "-title" for they cannot.

The title is the area above the chat window at the very top where you can post information about the chatroom.  There is very little difference between the "title" and the "topic" (see below), but typically the title is used for information that rarely changes (links to the chatroom rules for example).

Example:

/admin update privclass Operators -title

The result of running this command would be that users in the Operators privclass can no longer change the title.

topic
This describes whether members of the privclass can set the topic using the /topic command. It can be set to  "+topic" for they can, and "-topic" for they cannot.

The topic is the area of the chat screen displayed below the title.

Example:

/admin update privclass Guests +topic

The result of running this command would be that users in the Guests privclass can now change the topic.

promote
This describes which level members of the privclass can promote other users to using the /promote command. You can either use the level value or the name of the privclass to set this (eg: "promote=50" or "promote=Members")

Example:

/admin update privclass Operators promote=Founders

This would allow users in the Operators privclass to promote users to the Founders privclass.

demote
This describes which level members of the privclass can demote other users to by using the /demote command..  As with promote, you can use either the level number or the name of the privclass to set this.

Example:

/admin update privclass Guests demote=1

This would allow users in the Guests privclass to demote users to the Banned privclass.

images
This describes whether the members of the privclass may post images. "+images" means they can, and "-images" means they cannot. You can also use "images=#" with # being a value between 0 and 99 to set how many images they can post on one line.   

Example:

/admin update privclass Guests images=1

This would allow users in the Guests privclass to display only one image at a time.

FYI: To display an image in chatroom, use the normal HTML code . To view the embedded image, you must hover your cursor over the link and click the Maximize icon next to the url.

smilies
This describes whether the members of the privclass may use smilies. "+smilies" means they can, and "-smilies" means they cannot. You can also use "smilies=#" with # as a value between 0 and 99 to set how many smilies they can post on one line.  

Example:

/admin update privclass Members +smilies

This would allow users in the Members privclass to display unlimited smilies on one line.

FYI: Smilies are the basic emotes including :), :D, ;), etc.

emoticons
This describes whether the members of the privclass may use emoticons. "+emoticons" means they can, and "emoticons" means they cannot. You can also use "emoticons=#" with # as a value between 0 and 99 to set how many emoticons they can post.  

Example:

/admin update privclass Guests emoticons=1

This would allow users in the Guests privclass to post only one emoticon at a time.

FYI: Emoticons are all the emotes (that aren't smilies) thatcan be found here.

thumbs
This describes whether the members of the privclass may use thumbnails (with the special :thumb: code). +thumbs means they can, and -thumbs means they cannot. You can also use thumbs=# with # as a value between 0 and 99 to set how many thumbs they can post.   

Example:

/admin update privclass Guests -thumbs

This would disallow any users in the Guests privclass from posting any thumbnails.

FYI: all custom emoticons that aren't part of deviantART's official emote pack are rendered in dAmn as thumbnails (example: zikes).

FYI: FAQ #511: How do I post thumbnails of my art on the Chat Network or Forums?


avatars
This describes whether the members of the privclass may post avatars (with the :icon: code). +avatars means they can, and -avatars means they cannot. You can also use avatars=# with #as a value between 0 and 99 to set how many avatars they can post.  

Example:

/admin update privclass Guests +avatars

This would allow any users in the Guests privclass to post unlimited avatars on one line.

FYI: :iconusername: will display a user's avatar.

websites
This describes whether the members of the privclass can post websites. +websites means they can, and -websites means they cannot. You can also use emoticons=# with #as a value between 0 and 99 to set how many websites they can post.  

Example:

/admin update privclass Guests -websites

This would disallow any users in the Guests privclass from posting websites.

FYI: If you wanted to post the google.com website, you'd write <iframe src="www.google.com" height="100" width="100"></iframe>

objects
This privilege is not currently implemented.

kick
This describes whether members of the privclass may use the /kick command. Use "+kick" for can, and "-kick" for cannot.

Example:

/admin update privclass Members +kick

This would allow any users in the Members privclass to kick other users from the channel. Generally, you can only kick users that are lower than you in the order list. (* There are exceptions to this as we'll see in a future article)

msg
This describes whether members of the privclass can send messages to the chat. If you want a privclass to be silenced (much like the +m command in IRC) then you may use -msg which will mute the group. If you want members of the group to be able to chat and send messages, use +msg.

Example:

/admin update privclass Members -msg

This would mute any user in the Members privclass.

admin
This describes whether members of the privclass can manage the chatroom by updating/creating/removing privclasses and privileges. Use +admin for they can, and -admin for the cannot. The default is -admin.

Example:

/admin update privclass Operators +admin

This would give users of the Operators privclass the ability manage the chatroom.

FYI: this privilege should only be enabled for trusted privclasses and typically is only given to the Founder privclass. (by default, the creator of the chatroom always has +admin privileges no matter what privclass they are in)



Summary



In this lesson you've learned about basic chatroom concepts.

In the next lesson we'll be taking the concept of privclasses one step further.  We'll learn how to create additional privclasses and learn some common strategies for setting up privileges.

Lesson 2 can be found here.


Assignment



Your assignment for this class is to apply what you've learned to your own chatroom.  Change a few privileges for a privclass and see how it changes the behavior.  You might want to make a copy of the privclasses with the /admin show privclass command beforehand in case you make a mistake and can't remember how to get back to where you were.
Add a Comment:
 
:iconrainbowpuppieslps:
RainbowPuppiesLPS Feb 2, 2014  Hobbyist Traditional Artist
How do you make a chat room?
Reply
:iconkawano-katsuhito:
I have noticed in a friend's chatroom that the "Chatroom Settings" can be accessed to by anybody who has joined, even if you are not the original creator or founder of the chatroom. Pressing it shows all the options and the "change settings" button fully available, so it seems that anybody could change all the chatroom configuration, including privclasses and the different privileges for each type of user, very easily. 

Of course I haven't even considered trying to check out whether or not it is actually possible to do this if you haven't got admin privileges - but the fact itself that that button is freely accessible is, in my opinion, a VERY serious safety issue.

 
Reply
:iconparishah:
Excuse me...how can you kick someone?

Reply
:iconeeveeishawesome:
How do I make it to where instead of the usernames it just shows there icons?
Reply
:iconmissmanz:
MissManz Dec 13, 2013  Student Traditional Artist
This is way too much to read. I just want a chatroom for myself and my best friend. Just for the two of us...
Reply
:iconrozensouseiseki:
rozensouseiseki Nov 29, 2013  Hobbyist General Artist
what's an html code? how do I get one? I don't understaaaaand... *sobs in corner*
Reply
:iconexpressyourpic:
am i in the chatroom right now...please tell me
Reply
:icongrimreaper245456:
How do you make a rank in chatroom like founder to Epic Person?
Reply
:icondennorfangirl:
how do you type in a chat room? I can't seem to do anything!
Reply
Add a Comment: