Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
(widget: channel%20key)
m (widget)
Line 2: Line 2:
 
==widget==
 
==widget==
 
* server= (default: irc.mibbit.com)
 
* server= (default: irc.mibbit.com)
* channel= (you even can submit a comma separated channel list like %23chat,%23test%20key)
+
* channel= (you even can submit a comma separated channel list like %23chat,%23test%20keyNotSecretAnymore)
 
* nick=prefix_ (plus optional random part)
 
* nick=prefix_ (plus optional random part)
 
* forcePrompt=false (false works only on approved servers like irc.mibbit.com)
 
* forcePrompt=false (false works only on approved servers like irc.mibbit.com)

Revision as of 17:52, 19 May 2008

You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):

widget

  • server= (default: irc.mibbit.com)
  • channel= (you even can submit a comma separated channel list like %23chat,%23test%20keyNotSecretAnymore)
  • nick=prefix_ (plus optional random part)
  • forcePrompt=false (false works only on approved servers like irc.mibbit.com)
  • promptPass=true (ask for a password, NickServ auth only at the moment)
  • noServerTab= (default: true)
  • noServerNotices= (default: false)
  • noServerMotd= (default: false)
  • customprompt=Welcome%20To%20MyChat
  • customloading=maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...
  • settings=id (id taken from a mibbit full account: "prefs")

or

  • all "/dset" name=value pairs (deprecated)

examples (just right-click and open in a new window for testing):

http://embed.mibbit.com/?forcePrompt=true&promptPass=true&settings=7ca12664887d4b6e7a0fa6552f9e0de6 
http://embed.mibbit.com/?channel=%23chat,%23test&noServerTab=false&forcePrompt=true&nick=MibWid...
http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true

You can use the Widget-Creator to create a link or an iframe code snippet now.

full version

these will only result in a pre-filled connect form:

  • server= (both server and channel must be provided!)
  • channel= (you even can submit a comma separated channel list like %23chat,%23test)
  • nick= (if empty a random nick like "mib_3Zh5F4" will be presented)

example:

https://www.mibbit.com/?server=irc.freenode.net&channel=%23mibbit,%23test