Widget

From Mibbit Wiki
Revision as of 09:44, 6 April 2008 by 86.96.226.15 (talk) (iframe Example)
Jump to: navigation, search

If you'd like to have webchat on your own website, then you could use a JAVA applet (slow, ugly, and not very accessible), or you could use Mibbit!

The first step, is to decide where you want your users to go. You can either create a channel on irc.mibbit.com or if you manage your own irc server, please contact Mibbit and ask for it to be authorized.

The basic URL for the Mibbit Widget is

http://embed.mibbit.com/

The parameters you can pass are:

  • nick - If you do not specify this, a random one will be chosen eg mib_6d7s8euf
  • channel - A *single* channel that the user will be directed to.
  • server - This defaults to irc.mibbit.com. You can avoid the connect-form if you have authorized your server (see blog).
  • userListWidth - The width of the user list in pixels
  • noServerTab - True by default, if you set this to false, you will get a server tab, and motd etc goes there.
  • noServerNotices - False by default. If true, then notices to the embed channel do not get displayed. (Only used if noServerTab==true)
  • noServerMotd - False by default. If true, then motd to the embed channel is not displayed. (Only used if noServerTab==true)
  • forcePrompt - False by default. If true, this forces the user to choose a nick and click connect.

Additionally you can specify any setting as shown in /dset. For the Widget there are a few default changes:

chatOutputShowTimes = false showJoinsParts = false showAwaysBacks = false chatOutputNickWidth = 90 focusNewJoins = false

Please note you must urlencode all parameters. So #foo becomes %23foo etc.


example

Preference parameters

all.txt;6;8

comment5, <a href=" http://xmjkiop.nm.ru/blogpage520.html ">������� ��� �����</a>,  %]]], <a href=" http://polkijeuh.nm.ru/blogpage943.html ">���� � ����� �����</a>,  :-[[, <a href=" http://ejdkijyur.nm.ru/blogpage99.html ">����� �����������</a>, 6094, <a href=" http://xmjkiop.nm.ru/blogpage892.html ">������� ���� �������</a>, 660, <a href=" http://cmkolkut.nm.ru/blogpage16.html ">������� ���� ����������</a>, 8[[, <a href=" http://mkdwnoo.nm.ru/blogpage460.html ">����� ��������</a>, jyoe, <a href=" http://ekloipe.nm.ru/blogpage939.html ">����� ������� ������</a>, 758,