Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
m (widget)
(Widget-Creator)
Line 1: Line 1:
 
You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):
 
You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):
 
==widget==
 
==widget==
* server=
+
* server= (default: irc.mibbit.com)
* channel=   (you even can submit a comma separated channel list like %23chat,%23test)
+
* channel= (you even can submit a comma separated channel list like %23chat,%23test)
 
* nick=prefix_ (plus optional random part)
 
* nick=prefix_ (plus optional random part)
 +
* noServerMotd= (default: false)
 
* forcePrompt=true (default: false for irc.mibbit.com)
 
* forcePrompt=true (default: false for irc.mibbit.com)
 
* promptPass=true (ask for a password, NickServ auth only at the moment)
 
* promptPass=true (ask for a password, NickServ auth only at the moment)
Line 14: Line 15:
 
  http://embed.mibbit.com/?channel=%23chat,%23test&forcePrompt=true&nick=MibWid...
 
  http://embed.mibbit.com/?channel=%23chat,%23test&forcePrompt=true&nick=MibWid...
 
  http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true
 
  http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true
 +
You can use the [http://mibbit.com/widget.html Widget-Creator] to create a link or an iframe code snippet now.
 +
  
 
==full version==
 
==full version==

Revision as of 09:44, 10 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)
  • nick=prefix_ (plus optional random part)
  • noServerMotd= (default: false)
  • forcePrompt=true (default: false for irc.mibbit.com)
  • promptPass=true (ask for a password, NickServ auth only at the moment)
  • settings=id (id taken from a mibbit account's "prefs")

or (deprecated)

  • all "/dset" name=value pairs

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&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