Difference between revisions of "Widget"

From Mibbit Wiki
Jump to: navigation, search
Line 43: Line 43:
The embeddable widget will soon support these params.
The embeddable widget will soon support these params.
[http://rsinfinity.net/mibbitform.php?server=irc.mibbit.com&channel=mibbit&nick=&pass=&force=&force_serv=on&force_chan= Example form]
[http://infectionirc.net/mibbitform.php?server=irc.mibbit.com&channel=mibbit&nick=&pass=&force=&force_serv=on&force_chan= Example form]
The form can be configured [http://rsinfinity.net/mibbitform.gen.php here]
The form can be configured [http://infectionirc.net/mibbitform.gen.php here]

Revision as of 22:27, 5 March 2008

The embedded widget is in alpha...


The basic URL is http://embed.mibbit.com/e/ Please make sure you use embed.mibbit.com and NOT www.mibbit.com.

iframe Example

<iframe width="600" height="380" scrolling="no" frameborder="0"
type /nick to change your Nick name, /help, /cs help,
/ns help, /ms help, or /os help for available commands

Do not use #'s in the urls! # Cuts off the query string and everything after it isn't included in the url. Instead, use the url escaped version of #, %23. It is okay to use #'s in the channel textbox in the Mibbit IRC Form explained below.

add these lines onto your web page to have your own chat there. Use any scripting language to avoid nick collisions, e.g.,

...&nick=group_<?php mt_rand(10000, 99999); ?>">

Default Preferences

  • channel = %23chat
  • chatOutputShowTimes = false
  • showJoinsParts = false
  • showAwaysBacks = false
  • chatOutputNickWidth = 90
  • userListWidth = 130
  • focusNewJoins = false

Then, just specify channel and optionally nick.

  • If you do not provide a nick, a random one will be chosen
  • If there is a nick collision, the user will be prompted to choose a new one (IE7 may have issues with prompt

You can override all of these in the URL, using params. You can also override autoAway. ,e.g., &autoAway=0 to disable (case matters)

Mibbit IRC Form

A form can be used to access the widget easily in a chat window. The form uses 2 following params that the embeddable widget does not yet support:

  • server =
  • pass =

The embeddable widget will soon support these params.

Example form

The form can be configured here