MyBB Community Forums

Full Version: Integrate IRC (Realtime Chat) With Your Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
One of the benefits of IcyBoard's new IRC (Internet Relay Chat) server is that you can now configure a chat room specifically for your forum. This has many advantages over the standard shoutbox. This tutorial will show how to set up the chat room using the page manager plugin and a free widget called Mibbit.

To begin, make sure the page manager plugin is installed and enabled. Click Configuration > Page Manager > Add New Page. Give it a name and url parameter (recommended to enter "chat"). For the page content, copy and paste the below HTML.

Quote:<iframe src='' style='height:600px; width:980px; border:0px' frameborder='no' scrolling='auto'></iframe>

Now, we need to configure your new chat box.
  1. The text that appears in red is the channel. A channel is the name of the room where your members will be joining. We recommend using the name of your forum for this. You will need to make sure nobody else is in it, then we will describe how you can register it and have complete control over it.
  2. The text in blue is the height/width of the widget. You will need to play around with this to make it match your theme/site's width.
  3. The text in green is the welcome text that is displayed to your members. It must be HTML-compliant. Just use letters/numbers and if you need a space, enter "%20" as seen in the example.

After saving the changes, your chat page should look similar to this:
[Image: 4krR6pw.jpg]

And after connecting, you will see something like this:
[Image: WiZI5E3.jpg]

Now, we will go over a few basic IRC commands and describe how you can register your nickname and channel so nobody else can hijack it.

First of all, pick a nickname you like that's not in use yet. You can change your nickname by entering /nick new_nickname. In IRC, any line that begins with a backslash is a command and when you push enter, nobody else will see it. Next, we need to register our nickname to prevent others from using it when you aren't logged in. The user "Nickserv" is the security bot which maintains nicknames. Tell it to register your nickname by typing /msg nickserv register password email_address. It will confirm registration if successful. Now, any subsequent time you return, you will need to log in to identify yourself by entering /msg nickserv identify password.

Next, we will want to register the channel so nobody else can hijack it as well. The user "Chanserv" is the security bot for channels. You can register your channel by typing /msg chanserv register #channel password channel description. Once registered, you will notice the user "Chanserv" will join. He will also give you the "modes" +oq, which means owner and operator. As the operator (mode +o), you can kick and ban people, as well as giving others operator status. To see a list of operators, click on a person's name in the user list.

Command Reference:
Change Nickname - /nick new_nickname
Register Nickname - /msg nickserv register password email_address
Login to Nickserv - /msg nickserv identify password
Register Channel - /msg chanserv register #channel password channel description
Joining Additional Channels - /join #channel

If you have your own client, or would like a non-web client, you can install mirc from and connect with the server and port 6667.
is it logic nickname in forum will be same in irc ???
(2012-10-14, 02:00 PM)try8yes Wrote: [ -> ]is it logic nickname in forum will be same in irc ???

No. The person an choose any nickname they want on the IRC.
This is a great tutorial. Thanks.
(2012-10-14, 02:02 PM)spork985 Wrote: [ -> ]
(2012-10-14, 02:00 PM)try8yes Wrote: [ -> ]is it logic nickname in forum will be same in irc ???

No. The person an choose any nickname they want on the IRC.

thanks i will try it..........
Bookmarked. Great tutorial thank you very much spork. Although there is a plugin that can do this. My only need for this is Mibbit doesn't work with freenode so is a good solution, unless it is an example.
Hi, thank you. This chat uses resources of the forum? I need a chat very light
The chat is not hosted by you so does not increase the load or use resources at all...
Quote:URI parameter *
This parameter will be used to point to your page. It is recommended to use alphanumeric characters only.

Would this be the default "chat"...? I now get access denied remark; might be I'm calling it wrongly?
Yes, that's correct, and it's working for me.
Pages: 1 2