This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-04-22 15:19:22

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

It screwed up my Scratchblocks! And my browser! You need to fix it!


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#27 2012-04-22 16:38:14

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

funelephant wrote:

GeonoTRON2000 wrote:

funelephant wrote:


Experience

Anyways, where can I get JavaScript?

Lol... GET javascript.  It's built in.  To make a userscript like this, you would make a .user.js file with the code inside.
The code for this would be:

Code:

// ==UserScript==
// @name           Scratch Forums Bonus Smiley Pack
// @namespace      GeonoTRON2000,ssss,funelephant,Scratch
// @description    Adds extra smileys to the Scratch fora.
// @version        1.0.0.6
// @include        http://scratch.mit.edu/forums/viewtopic.php*
// @include        http://scratchers.punbb-hosting.com/viewtopic.php*
// @include        http://misc.punbb-hosting.com/viewtopic.php*
// @include        http://geonotron.net84.net/forums/viewtopic.php*
// ==/UserScript==


var urls = ["http://img827.imageshack.us/img827/4270/hateface.png", "http://img842.imageshack.us/img842/6083/smileycool.png", "http://img690.imageshack.us/img690/5747/coolunsure.png", "http://img208.imageshack.us/img208/8605/coolgrin.png", "http://img585.imageshack.us/img585/3046/epicgrinbig.png", "http://img29.imageshack.us/img29/8610/halfdeadbig.png", "http://img827.imageshack.us/img827/1411/uplinefunelephant.png", "http://img688.imageshack.us/img688/2348/updot.png", "http://img96.imageshack.us/img96/6263/epicfailx.png", "http://img32.imageshack.us/img32/2875/bumpb.png"];
var thishtml = document.body.innerHTML;

thishtml = thishtml.replace(/&gt;:-\(/g, "<img width='16' height='16' src='"+urls[0]+"' />");
thishtml = thishtml.replace(/8\)/g, "<img width='16' height='16' src='"+urls[1]+"' />");
thishtml = thishtml.replace(/8\\/g, "<img width='16' height='16' src='"+urls[2]+"' />");
thishtml = thishtml.replace(/8L/gi, "<img width='16' height='16' src='"+urls[2]+"' />");
thishtml = thishtml.replace(/8D/g, "<img width='16' height='16' src='"+urls[3]+"' />");
thishtml = thishtml.replace(/XD/g, "<img width='16' height='16' src='"+urls[4]+"' />");
thishtml = thishtml.replace(/xD/g, "<img width='16' height='16' src='"+urls[4]+"' />");
thishtml = thishtml.replace(/ XP/gi, " <img width='16' height='16' src='"+urls[5]+"' />");
thishtml = thishtml.replace(/\^_\^/g, "<img width='16' height='16' src='"+urls[6]+"' />");
thishtml = thishtml.replace(/\^\.\^/g, "<img width='16' height='16' src='"+urls[7]+"' />");
thishtml = thishtml.replace(/PX/gi, "<img width='16' height='16' src='"+urls[8]+"' />");
thishtml = thishtml.replace(/Xd/g, "<img width='16' height='16' src='"+urls[8]+"' />");
thishtml = thishtml.replace(/:bump:/g, "<img width='28' height='32' src='"+urls[9]+"' />");


document.body.innerHTML = thishtml;

I knew it's built in, where do I put the code?

In notepad.  Save it as filename.user.js


http://i.imgur.com/BAEgGDL.png

Offline

 

#28 2012-04-22 16:40:12

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

funelephant wrote:

It screwed up my Scratchblocks! And my browser! You need to fix it!

Fixed.  Sorry about that, it was the PX smiley, which is now no longer case insensitive.


http://i.imgur.com/BAEgGDL.png

Offline

 

#29 2012-04-22 18:05:30

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

:bump:


http://i.imgur.com/BAEgGDL.png

Offline

 

#30 2012-04-22 21:36:28

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

soon I'll have a full page full of :bump:s... oh, well.


http://i.imgur.com/BAEgGDL.png

Offline

 

#31 2012-04-22 22:45:31

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

GeonoTRON2000 wrote:

soon I'll have a full page full of :bump:s... oh, well.

I know a program designed for making smileys. I used to use this ages ago... Took a while to find on Google lol.  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#32 2012-04-22 22:49:58

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

nathanprocks wrote:

GeonoTRON2000 wrote:

soon I'll have a full page full of :bump:s... oh, well.

I know a program designed for making smileys. I used to use this ages ago... Took a while to find on Google lol.  tongue

The fun of this is to make your OWN smileys.  Not to use some automated program.


http://i.imgur.com/BAEgGDL.png

Offline

 

#33 2012-04-23 03:32:15

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

GeonoTRON2000 wrote:

nathanprocks wrote:

GeonoTRON2000 wrote:

soon I'll have a full page full of :bump:s... oh, well.

I know a program designed for making smileys. I used to use this ages ago... Took a while to find on Google lol.  tongue

The fun of this is to make your OWN smileys.  Not to use some automated program.

Well you should at least make them the same size as the forum smileys.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#34 2012-04-23 09:59:53

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

nathanprocks wrote:

GeonoTRON2000 wrote:

nathanprocks wrote:


I know a program designed for making smileys. I used to use this ages ago... Took a while to find on Google lol.  tongue

The fun of this is to make your OWN smileys.  Not to use some automated program.

Well you should at least make them the same size as the forum smileys.

They are.  They're 16x16.  I just use HTML to shrink them instead of doing it in my image editor because it makes them look better.


http://i.imgur.com/BAEgGDL.png

Offline

 

#35 2012-04-23 10:31:12

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

:bump: XD


http://i.imgur.com/BAEgGDL.png

Offline

 

#36 2012-04-23 10:43:54

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

Test: 8D

Last edited by puppetadventurer (2012-04-23 10:44:20)


3

Offline

 

#37 2012-04-24 11:18:15

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

Can you allow them for

http://programming.punbb-hosting.com


http://i49.tinypic.com/2re4ied.png

Offline

 

#38 2012-04-25 21:23:49

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

Would it be possible to just replace the smilies with the img codes automatically


http://i46.tinypic.com/6yd4c0.png

Offline

 

#39 2012-04-29 20:45:40

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

Test:    >:-(


http://i47.tinypic.com/rrqe13.gif

Offline

 

#40 2012-04-29 21:21:17

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

lallaway12 wrote:

Can you allow them for

http://programming.punbb-hosting.com

Yes.  I'm on it...

Laternenpfahl wrote:

Would it be possible to just replace the smilies with the img codes automatically

Yes.  It's easier to copy and paste if I use an array, though.


http://i.imgur.com/BAEgGDL.png

Offline

 

#41 2012-04-30 10:24:06

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

Moved to the GT, scratch section.
http://geonotron.net84.net/forums/viewt … 6&t=13
Great discussion guys.
http://img585.imageshack.us/img585/3046/epicgrinbig.png

Last edited by GeonoTRON2000 (2012-04-30 10:25:05)


http://i.imgur.com/BAEgGDL.png

Offline

 

#42 2012-04-30 14:49:19

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

>:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile


http://i47.tinypic.com/rrqe13.gif

Offline

 

#43 2012-04-30 18:37:19

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

poemon1 wrote:

>:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile  >:-(  smile

Interesting...


http://i.imgur.com/BAEgGDL.png

Offline

 

#44 2012-05-01 10:44:00

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

add this one!
http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif


http://pekkit.net/banners/pekkit.png

Offline

 

#45 2012-05-02 18:21:18

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

funelephant wrote:

Ah. Thanks! Now the ^_^ smiley works!  smile

Also, where can I get Javascript to make a code?

Here's a tutorial.

1. Type your code. Try something small, like:

Code:

// ==UserScript==
// @include http://scratch.mit.edu/
// ==/UserScript==
ALERT("Hello, World!");

That code makes a message box.

2. Rename code: filename.user.js . *make sure show extensions are on*
3. Download 'GreaseMonkey.'
4. install (if not already installed) mozilla FireFox.
5. Drag your script into firefox, when it starts up.
6. Reload the page.

Code:

// @name      <name>
This is the name of your userscript

Code:

// @namespace <namespace>
Makes a namespace.

Code:

 // @description     <desc...>
sets your description

and

Code:

 
// @include <url>
is what webpages you want your script to apply to.

http://i47.tinypic.com/rrqe13.gif

Offline

 

#46 2012-05-02 18:26:21

shiguy101
Scratcher
Registered: 2010-11-17
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

how do you install it?

Offline

 

#47 2012-05-02 23:12:50

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

For chrome, just click the link.
For firefox, download the greasemonkey add-on, then click the link.


http://i.imgur.com/BAEgGDL.png

Offline

 

#48 2012-05-02 23:19:55

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Bonus Smiley Pack for Scratch and your forums!!!

:meow: added.


http://i.imgur.com/BAEgGDL.png

Offline

 

#49 2012-05-03 18:55:23

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

:meow:
:meow:
:meow:
:meow:
:meow:
!!!!!!!!!!


http://pekkit.net/banners/pekkit.png

Offline

 

#50 2012-05-07 04:41:57

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Bonus Smiley Pack for Scratch and your forums!!!

sorry to bother you my forum has moved to


http://lallaway12f.punbb-hosting.com


http://i49.tinypic.com/2re4ied.png

Offline

 

Board footer