Widget

From Mibbit Wiki
Revision as of 20:21, 4 March 2008 by IPwn (talk | contribs) (Added info about #s)
Jump to: navigation, search

The embedded widget is in alpha...

example

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"
 src="http://embed.mibbit.com/e/?channel=%23my_chat&nick=choose_one">
</iframe>
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.

  1. 's are okay in the channel textbox in the #Mibbit_IRC_Form.

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