User:Ed smildE/Emoticons

From Homestar Runner Wiki

Jump to: navigation, search

// Link to this script here. // If you are a forum user, feel free to edit anything you want in this script. /* This is a sample file describing a set of emoticons. If you create a file

  like this and put it up on the web, other people can enter it into their
  phpBB Auxiliary Emoticons user script (on the setUrl line) and load your
  entire emoticon set. Here's a few things you need to know:
  
  1. If all of your emoticons' URLs start with the same thing (i.e. they're
     all on the same server, or in the same directory), set baseUrl to that. If
     they're on different servers, make baseUrl empty like this:
    
          baseUrl: ,
    
  2. The icons section describes each emoticon. Each icon has two parts, the
     name (before the colon) and the filename (after the colon), which must
     both be surrounded by single-quotes ('apostrophes'). Each icon must have
     a unique name, and names should be simple, easy to remember, and should
     not contain spaces.
  3. The baseUrl and an icon's filename (the part after the colon) will be
     combined to link to the image. In the example data below, if the user
     chooses the "yarr" emoticon, the baseUrl and the filename which follows
     "yarr" will be combined like this:
    
          yarr.png
    
     ...which is the image URL the browser will attempt to load.
    
  4. If your icons on are on different servers, you must make baseUrl empty
     (see 1.) and the filename for each icon (after the colon) must be a
     complete URL beginning with http://, like this:
     
          'yarr' : 'http://example.com/icons/yarr.png',
          
  5. Every line in the icons section (excepting "icons: {" and "}") should end
     with a comma.
     
  6. You may name this file whatever you want, but I recommend that the
     filename ends with .json. Note that in order to use it (and to let others
     use it), you will have to upload it to the internet somewhere. If you do
     not have that capability, you may also define an icon set by editing the
     Greasemonkey user script. To open the user script, go to
     Tools > Manage User Scripts..., click on "phpBB auxiliary emoticons," and
     then click on the Edit button. You may have to configure your system to
     open .js files with a text editor such as Notepad.
     
  Below is the actual data that will be read by the browser. If you do not
  need these instructions anymore, you may delete everything before
  "data = {".
  
  -- Jordan Running, a.k.a. InterruptorJones
  • /

data = {

 baseUrl: ,
 
 icons: {
   'toastpaint' : 'http://www.swirlee.org/emoticons/set1/toastpaint.gif',
   'jibbly'     : 'http://www.swirlee.org/emoticons/set1/jibbly.gif',
   'lech'       : 'http://www.swirlee.org/emoticons/set1/lech.png',
   'yarr'       : 'http://www.swirlee.org/emoticons/set1/yarr.png',
   'yay'        : 'http://www.swirlee.org/emoticons/set1/yay.gif',
   'shy'        : 'http://img127.imageshack.us/img127/6932/embarassed9rt.gif',
   'devastated' : 'http://www.homestarrules.com/forum/images/smiles/devastated.gif',
   'eh'         : 'http://www.homestarrules.com/forum/images/smiles/ehsmily.gif',
   'sad'        : 'http://www.swirlee.org/emoticons/dumpus/ss_sad.png',
   'angry'      : 'http://www.swirlee.org/emoticons/dumpus/ss_angry.png',
   'narroweyes' : 'http://www.swirlee.org/emoticons/dumpus/ss_narroweyes.png',
   'smile'      : 'http://www.swirlee.org/emoticons/dumpus/ss_smile.png',
   'wha'        : 'http://www.swirlee.org/emoticons/dumpus/ss_wha.png',
   'wistful'    : 'http://www.swirlee.org/emoticons/dumpus/ss_wistful.png',
   'yawn'       : 'http://www.swirlee.org/emoticons/dumpus/ss_yawn.png',
   'marshie'    : 'http://img146.imageshack.us/img146/5091/marshie1ix.gif'
   
   
 }

}

Personal tools