Homestar Runner Wiki Forum
http://forum.hrwiki.org/

Dynamic forum emoticons (v0.9b SUCKS LESS EDITION)
http://forum.hrwiki.org/viewtopic.php?f=1&t=8575
Page 1 of 8

Author:  InterruptorJones [ Mon May 29, 2006 4:51 am ]
Post subject:  Dynamic forum emoticons (v0.9b SUCKS LESS EDITION)

Some of you who follow the Emoticons thread already know about this, but now I feel it's ready for me to bring it to the masses. I've created a Greasemonkey script that adds basically unlimited emoticon capability to this and other phpBB-powered forums. It's called...

phpBB Auxiliary Emoticons (pAU)

UPDATE: Version 0.9b is now available for download. See this post for more details or click above to install.

WARNING: If you have have a previous version of the script installed and have made any changes to it, they will be overwritten. I no longer recommend or support making changes to the script itself.


Here are instructions for using it:
  1. Download and install Firefox
  2. Install the Greasemonkey extension and reboot Firefox
  3. Click here and install the script by clicking on the "Install" button in the upper-right corner
  4. When you're typing a message here, you should see a new emoticon (incidentaly, this one: Image). Put your mouse over it and a whole list of new emoticons will pop up. Click on one to add it to your message.
Yes, you have to have Firefox to use the script. Here's a screenshot:

Image

It's still a little rough, but I've designed it to be easy for most people to create their own emoticon sets for themselves and others to use. For some instructions on creating an emoticon set, see this file.

I would love to see some people make some cool new emoticon sets for this. Some ideas: Teen Girl Squad, Cheat Commandos, Old-Timey (1936), forumers, etc.

Emoticon sets:
Here's a few emoticon sets. If you've made a unique one and would like to see it on this list, post a reply to this thread.If you have any questions, post them below, though I don't have a lot of time for support (but someone else might come along and help you). If you think you've discovered a genuine bug, please post it and I'll fix it ASAP. Image

If you previously installed another version of this script, please use the link above to upgrade to the newest version (NOTE: any changes you made will be lost).

For those interested in such things, here's a ChangeLog:

v0.9b - 21 June 2006
  • Added Options dialog
  • Ability to use a (theoretically) unlimited number of emoticon sets simultaneously
  • Improvements and fixes to cursor placement when "extra spaces" option is enabled
v0.5 - 28 May 2006
  • Created system for loading emoticon sets remotely for sharing (see sample.json).
  • Improved insertion handling to remember cursor location and scroll position.
  • Added option to customize special characters, e.g. ^^smile^^ or !smile!.
v0.3 - 28 May 2006
  • First public release.

Author:  Exhibit A [ Mon May 29, 2006 4:57 am ]
Post subject: 

ImageImageImageImageImage

Me likey.
Also, when did we get the Senor Cardgage emoticon?
:senor:

Author:  InterruptorJones [ Mon May 29, 2006 5:02 am ]
Post subject: 

Exhibit A wrote:
Also, when did we get the Senor Cardgage emoticon?
:senor:


Wednesday.

Edit: I've created a new emoticon set from everyone's favorite blog, Strong Sad's Lament. Here they are:

Image Image Image Image Image Image Image

You can use them yourself by editing the user script (Tools > Manage User Scripts...) and putting the following URL:

http://swirlee.org/emoticons/dumpus.json

...on the line that starts with "var setUrl = ".

Author:  DS_Kid [ Mon May 29, 2006 6:01 am ]
Post subject: 

InterruptorJones wrote:
Edit: I've created a new emoticon set from everyone's favorite blog, Strong Sad's Lament. Here they are:

Image Image Image Image Image Image Image

You can use them yourself by editing the user script (Tools > Manage User Scripts...) and putting the following URL:

http://swirlee.org/emoticons/dumpus.json

...on the line that starts with "var setUrl = ".


Yep, the pwn meter is still up in the thousands, when on average it should be staying down in its given 10 scale. You have saved many forumers from having their emoticons rejected from the official list.

*lights off an illegal firework to celebrate*

Author:  Speckeldorf [ Mon May 29, 2006 1:35 pm ]
Post subject: 

Do I replace sample.json with dumpus.json? (on the setURL line) Because when I do, the originals go away.

EDIT: Are you even supposed to use both at the same time? Anyway, I just stuck the files from dumpus.json into the script, removed some stuff, and now I can use both! Yaaayy...ImageImage

Author:  DS_Kid [ Mon May 29, 2006 1:54 pm ]
Post subject: 

Speckeldorf wrote:
Do I replace sample.json with dumpus.json? (on the setURL line) Because when I do, the originals go away.


I'm not sure, since I never fully understood how Javascript worked, since it took me awhile to find out how to make the Mario emoticon I made to show up on the forum (it just said :mario run: when I hit "preview"). So, I just made the following syntax, even though I'm using the NWFC Wiki server for all of the emoticons:
Code:
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/mariorun.gif[/img]'      : 'mariorun.gif',


It's not the best, but I'm pretty sure that could work out for all of them.

Author:  Speckeldorf [ Mon May 29, 2006 1:58 pm ]
Post subject: 

DS_Kid wrote:
Speckeldorf wrote:
Do I replace sample.json with dumpus.json? (on the setURL line) Because when I do, the originals go away.


I'm not sure, since I never fully understood how Javascript worked, since it took me awhile to find out how to make the Mario emoticon I made to show up on the forum (it just said :mario run: when I hit "preview"). So, I just made the following syntax, even though I'm using the NWFC Wiki server for all of the emoticons:
Code:
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/mariorun.gif[/img]'      : 'mariorun.gif',


It's not the best, but I'm pretty sure that could work out for all of them.


So.. where do I put that code?

Author:  DS_Kid [ Mon May 29, 2006 2:01 pm ]
Post subject: 

Quote:
So.. where do I put that code?


I put it with the default icons under "baseUrl". So, mine looks like:

Code:
  baseUrl: 'http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/',
 
  icons: {
    // if you're using icons on more than one server you must put the full URL
    // for each below, e.g.:
    //   'yarr' : 'http://example.com/yarr.gif',
    'toastpaint' : 'toastpaint.gif',
    'jibbly'     : 'jibbly.gif',
    'lech'       : 'lech.png',
    'yarr'       : 'yarr.png',
    'yay'        : 'yay.gif',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/mariorun.gif[/img]'      : 'mariorun.gif',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_smile.png[/img]'      : 'ss_smile.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_sad.png[/img]'        : 'ss_sad.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_angry.png[/img]'      : 'ss_angry.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_narroweyes.png[/img]' : 'ss_narroweyes.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_wha.png[/img]'        : 'ss_wha.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_wistful.png[/img]'    : 'ss_wistful.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_yawn.png[/img]'       : 'ss_yawn.png',
  }
};

Author:  InterruptorJones [ Mon May 29, 2006 2:11 pm ]
Post subject: 

Er.. no. DS_Kid's code is very wrong. Like makes me cry wrong. (No offense, dude.)

All you have to do to swich emoticon sets is change the line that starts with "var baseUrl = ".

By default the file says this:

Code:
var setUrl = 'http://swirlee.org/emoticons/sample.json';


Just replace that line with this one:

Code:
var setUrl = 'http://swirlee.org/emoticons/dumpus.json';


Unless you're making your own custom emoticon set, that's the only line you need to change.

And for the record, DS_Kid, if you're making your own custom emoticon set, you never need to use the [img] tag anywhere.)

Author:  Speckeldorf [ Mon May 29, 2006 2:14 pm ]
Post subject: 

DS_Kid wrote:
Quote:
So.. where do I put that code?


I put it with the default icons under "baseUrl". So, mine looks like:

Code:
  baseUrl: 'http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/',
 
  icons: {
    // if you're using icons on more than one server you must put the full URL
    // for each below, e.g.:
    //   'yarr' : 'http://example.com/yarr.gif',
    'toastpaint' : 'toastpaint.gif',
    'jibbly'     : 'jibbly.gif',
    'lech'       : 'lech.png',
    'yarr'       : 'yarr.png',
    'yay'        : 'yay.gif',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/mariorun.gif[/img]'      : 'mariorun.gif',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_smile.png[/img]'      : 'ss_smile.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_sad.png[/img]'        : 'ss_sad.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_angry.png[/img]'      : 'ss_angry.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_narroweyes.png[/img]' : 'ss_narroweyes.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_wha.png[/img]'        : 'ss_wha.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_wistful.png[/img]'    : 'ss_wistful.png',
    '[img]http://nwfcwiki.org/forum/images/smiles/HR%20Wiki/ss_yawn.png[/img]'       : 'ss_yawn.png',
  }
};


I see.

Mine looks like this:
Code:
data = {

  // If you want to use icons on more than one server, change this to:

  //   baseUrl: '',

  baseUrl: '',

 

  icons: {

    // If you're using icons on more than one server you must put the full URL

    // for each below, e.g.:

    //   'yarr' : 'http://example.com/yarr.gif',

    // NOTE: Make sure every line in this section has a comma at the end

    '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',
    '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',

  }

};


And it works fine. But I'm still wondering if there's an easy way to add them just by adding another URL.

EDIT: Oh look, it's IJ. Hi! Anyway, is there an easy way to make both sets appear at the same time?

Author:  InterruptorJones [ Mon May 29, 2006 2:17 pm ]
Post subject: 

Everybody: If you're making your own custom emoticon sets, please read sample.json. All of it. It will help, I promise. Speckeldorf's code is correct, btw.

Speckeldorf wrote:
EDIT: Oh look, it's IJ. Hi! Anyway, is there an easy way to make both sets appear at the same time?


Currently, no, but in the future I'm going to make it easy to use multiple emoticon sets at the same time and I'm going to eliminate all (well, most) of this file-editing nonsense.

Author:  Speckeldorf [ Mon May 29, 2006 2:21 pm ]
Post subject: 

InterruptorJones wrote:
Everybody: If you're making your own custom emoticon sets, please read sample.json. All of it. It will help, I promise. Speckeldorf's code is correct, btw.

Speckeldorf wrote:
EDIT: Oh look, it's IJ. Hi! Anyway, is there an easy way to make both sets appear at the same time?


Currently, no, but in the future I'm going to make it easy to use multiple emoticon sets at the same time and I'm going to eliminate all (well, most) of this file-editing nonsense.


Aww. Maybe for now, we (meaning someone, or me) should make a compilation emoticon set of everyone's emoticons, and it can be easily loaded into the original script.

Author:  InterruptorJones [ Mon May 29, 2006 2:24 pm ]
Post subject: 

Speckeldorf wrote:
Aww. Maybe for now, we (meaning someone, or me) should make a compilation emoticon set of everyone's emoticons, and it can be easily loaded into the original script.


If you're up to it, I say go for it.

Author:  Speckeldorf [ Mon May 29, 2006 2:29 pm ]
Post subject: 

InterruptorJones wrote:
Speckeldorf wrote:
Aww. Maybe for now, we (meaning someone, or me) should make a compilation emoticon set of everyone's emoticons, and it can be easily loaded into the original script.


If you're up to it, I say go for it.


H'okay. Before I do anything wrong, would it be part of the emoticons thread in Suggestions or a new thread in A&C?

EDIT: A&C it is. See you there.

Author:  DS_Kid [ Mon May 29, 2006 2:38 pm ]
Post subject: 

InterruptorJones wrote:
Er.. no. DS_Kid's code is very wrong. Like makes me cry wrong. (No offense, dude.)


None taken. I've tried to learn programming, but I can't seem to find the time to sit down and read the tutorials. :)

IJ wrote:
And for the record, DS_Kid, if you're making your own custom emoticon set, you never need to use the [img] tag anywhere.)


Yeah, I just figured that out. Thanks for taking the time to educate me on the subject. I just figured out how to get my Mario emoticon to work; I just had to put an underscore in instead of a space (I should never be on a computer at 2 AM...).

Yay, the circle is completed! Image

Image Image Image Image Image Image Image Image Image Image Image Image Image

Edit: I guess it'd be a good idea if I upgraded to version .4, as well. :P

Author:  Speckeldorf [ Mon May 29, 2006 2:59 pm ]
Post subject: 

I made the compilation emoticon thread. It's over there.

Author:  ed 'lim' smilde [ Mon May 29, 2006 3:58 pm ]
Post subject: 

I have one right here:
http://edsmilde.googlepages.com/arglbl.json
It currently contains:
ImageImageImageImageImageImageImageImage
ImageImageImageImageImageImageImage
ImageImageImageImageImage

Author:  Speckeldorf [ Mon May 29, 2006 6:21 pm ]
Post subject: 

ed 'lim' smilde wrote:
I have one right here:
http://edsmilde.googlepages.com/arglbl.js
It currently contains:
ImageImageImageImageImageImageImageImage
ImageImageImageImageImageImageImage
ImageImageImageImageImage


Eh? I was adding some of those to mine (dunno why), but Teff and Ace and Mandy and Ex. A(?) weren't in the file.

EDIT: I added some.
ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Oh, and I didn't add the teffacemandyexa because then people would be sad that they didnt have an emoticon of themselves.

Author:  ed 'lim' smilde [ Mon May 29, 2006 7:20 pm ]
Post subject: 

Oh, I see, I uploaded the current version to
http://edsmilde.googlepages.com/arglbl.json
BTW, the last one (Image) is Douglas. Those four were done by Somm-1.

Author:  The Experimental Film [ Mon May 29, 2006 7:28 pm ]
Post subject:  ...

Any chance we could toss in one-r yar...?

Author:  ed 'lim' smilde [ Mon May 29, 2006 7:32 pm ]
Post subject:  Re: ...

The Experimental Film wrote:
Any chance we could toss in one-r yar...?
HAAAAAHAHAHAHAH AHAHHAHAHAHAHA HAHAHAHAHA AHHAHAHAHAHAHAHAHAHAHAHAHA AHHAHAHAHHAHAHAHA AHAHHAAHAHHAHAHAHAHHAAAAAAAAHAHAHA AHAHA HAHAHAHHAAA HAHAAHAHAHAHAAAA!!!!!!
EDIT: Actually, TEF, when you install it you can customize it how you want, so it'd be pretty easy to add the 'yar'. (But there aren't any versions for the interneck exploder.)

Author:  The Experimental Film [ Mon May 29, 2006 7:33 pm ]
Post subject:  Re: ...

ed 'lim' smilde wrote:
The Experimental Film wrote:
Any chance we could toss in one-r yar...?

HAAAAAHAHAHAHAH AHAHHAHAHAHAHA HAHAHAHAHA AHHAHAHAHAHAHAHAHAHAHAHAHA AHHAHAHAHHAHAHAHA AHAHHAAHAHHAHAHAHAHHAAAAAAAAHAHAHA AHAHA HAHAHAHHAAA HAHAAHAHAHAHAAAA!!!!!!

**shoots self in face**

Author:  ModestlyHotGirl [ Mon May 29, 2006 7:33 pm ]
Post subject: 

So I installed Greasemonkey, but when I clicked the link for the script I got this error:

Image

What should I do?

Author:  ed 'lim' smilde [ Mon May 29, 2006 7:35 pm ]
Post subject: 

ModestlyHotGirl wrote:
So I installed Greasemonkey, but when I clicked the link for the script I got this error:

Image

What do I do?

EDIT: Hang on, I'ma try to post a bigger one so you can actually read it.
Just uninstall the 'fullscreenhomestarrunner' extension. And the 'flash seekbar' one if you have it. You can replace those both with Phlip's thing.

Author:  ModestlyHotGirl [ Mon May 29, 2006 7:39 pm ]
Post subject: 

Okay, thanks, Ed! It worked. Image

Author:  Cybernetic Teenybopper [ Mon May 29, 2006 8:25 pm ]
Post subject: 

Any particular place where those of us without Firefox/Greasemonkey could find these and use these? They're really neat, but I have neither of the above, so...

Author:  ed 'lim' smilde [ Mon May 29, 2006 9:11 pm ]
Post subject: 

Cybernetic Teenybopper wrote:
Any particular place where those of us without Firefox/Greasemonkey could find these and use these? They're really neat, but I have neither of the above, so...
Afraid not, but both of those are free to download.

Author:  Einoo T. Spork [ Mon May 29, 2006 9:15 pm ]
Post subject: 

Whenever I try to install Greasemonkey I get this message:

Quote:
Software installation is currently disabled. Click Edit Options... to enable it and try again.


NO MATTER WHAT I DO IN THE PREFERENCES AREA, IT STILL GIVES ME THIS MESSAGE.

Author:  ed 'lim' smilde [ Mon May 29, 2006 9:19 pm ]
Post subject: 

If you go to about:config, is xpinstall.enabled set to true?

Author:  Einoo T. Spork [ Mon May 29, 2006 9:20 pm ]
Post subject: 

ed 'lim' smilde wrote:
If you go to about:config, is xpinstall.enabled set to true?


No, but I fixed it. Thanks. Jeez, why doesn't it just TELL you that?

Page 1 of 8 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/