Smiley Packs (phpBB pak packages) for Drupal

I have collected, and packaged Smileys / Smilies / Emoticons from Tango, Yahoo, Google, and a few other sources(they are not necessarily licensed with GPL). Instructions are pretty much same for Drupal users, extract the package into packs directory inside the Smileys module's folder. If you have any suggestion or a package request, leave a comment, or use the contact form.

52 Comments

on my 6x site, ive noticed

on my 6x site, ive noticed the smileys when activated via the filter, like to break from inline. meaning, i could have a smiley partway through a paragraph and suddenly its displayed on the left most edge and all the rest of the paragraph is to the right of it. this has happened with even the example smileys included, not just the custom ones ive made Erm

not sure if its something ive done wrong or if its something in the module itself, but i figured id toss it out into the open instead of reporting it as a bug when it very well may just be my ignorance.

I have never experienced such

I have never experienced such a problem on any smileys installation, nor has anyone yet reported in the smileys' issues queue. Most likely it's specific to your theme's styling.

Could be simple answer

It sounds like a css issue to me, check your styles for img tags and make sure there are no conflicting classes that match the smilies. Start simple, then go through to the more difficult issue(is it browser related, css related, table related, module related, core related)

For some reason it isn't

For some reason it isn't working for me: http://slightlyunstable.org/node/227

I get the smile select box but when I submit the page it hasn't tranformed. Do you know why?

Your domain's server doesn't

Your domain's server doesn't seem to have any website content. I'll be glad to help out if it occurs again.

I had the same problem...

Hello!

I had the same issue as the one found at http://slightlyunstable.org/node/227 and, after a bit of fiddling, worked out that I'd forgotten to alter the input formats to include Smileys. So the Smiley module was sitting there but the input format settings wouldn't let it do its job!

Hope this helps! Joking

-- Kioma

go to your admin panel > site

go to your admin panel > site config > input options and edit whatever default language youre using to use smileys.

I have the same smiley issue

I have the same smiley issue as roboticaust, my theme has a float: left defined for all images ... it breaks the smiley. If I take out the float left smiley and images in posts work OK, images in stories don't work right though. I'll go and specify float: left in the images for stories ... unless someone else has a better solution. I'm not a CSS master and I can't get it to work thru CSS for me ...

You may use

img.smiley-content {
  float: none;
}

Hope that helps Thumb Up

Nice, but ... It would be

Nice, but ...
It would be nice to include copyright/license info into those collections.

Nice idea!

Nice idea! I'll include the license in them when I next time put some work into this. Smile

Hey ! Thanks for this module,

Hey !

Thanks for this module, very usefull indeed! Hopefully you will keep developing this!

I will indeed! Thanks for the

I will indeed! Thanks for the encouragement Smile

CCK

Is there a way to use this in a CCK field? I would like a dropdown menu of the smileys for a user to choose from on a blog post.

Thanks and keep up the good work Smile

(No subject)

Devil Smile

Errors in postgres

Hi.
I'm using drupal 6.8 running on the postgreSQL database. And I have a bunch of errors while trying to install module or import smileys. I can implement a fix to this issue. Can you provide me a way to submit fix?

"Smileys" issue queue

Hi Ruslan Smile

The smileys project page provides the necessary issue links. To submit an issue go to http://drupal.org/node/add/project-issue/smileys.

http://drupal.org/project/issues/smileys provides a list of existing issues. It's good to check if an issue has already been reported.

The smileys you're using here

Great mod!
I must be missing something really obvious... but where are the smileys you're using here at this site? I don't see them in the paks or the default mod install. Thanks.

Facies emoticons for Adium

...were downloaded from http://www.adiumxtras.com/index.php?a=xtras&xtra_id=5765 Thumb Up

A lot more smileys for 6.x release of the module are available here. Love

Thanks

Thanks for the link. I like this set best. Smile Thumb Up

converting adium icons to phpbb pak for drupal 5 version

Hi all,

In case anyone is still using the Drupal 5 version of this module, here's a recipe to convert the adium emoticons to phpbb for use with this module. You'll need Notepad++, and you'll need to open the .plist file, and then do the following search and replaces (sans quotation marks):

(extended mode)
s: "\t"
r: "" (empty)

s: ""
r: "" (empty)

s: ""
r: " " (space)

s: "\n"
r: "" (empty)

(regular expression mode)
s: "([^<]+)Equivalents([^<]+) Name([^<]+) "
r: "\1=+:\3=+:\2\n"

Then, you delete the first and last lines, which are xml stuff left over from the plist file, and save it as a .pak file.

For example, if you do this on the "Emoticons.plist" file that comes with the Facies pack (the one used on this site), you will get the following - which, if saved as a .pak file and placed in the same folder as the icons, within the packs folder of the module, will let you import all these emoticons onto your site:

angel.png=+:Angel=+:O:) O:-) o:-) o:) (A) (a) :angel
angry.png=+:Angry=+:&gt;:o &gt;:-o &gt;:O &gt;:-O :-@ :@ :angry
beer.png=+:Beer=+:(B) (b) *DRINK* :beer
blush.png=+:Blush=+::$ :-$ :blush
bomb.png=+:Bomb=+:@= :bomb
boy.png=+:Boy=+:(Z) (z) :boy
brb.png=+:brb=+:brb (brb) :brb
cigarette.png=+:Cigarette=+:(ci) :cigarette
coffee.png=+:Coffee=+:(C) (c) :coffee
confused.png=+:Confused=+::S :s :-S :-s :? :-? :confused
cool.png=+:Cool=+:8) 8-) B-) B) b-) b) (H) (h) :cool
cry.png=+:Cry=+::'( :'(( :(( :'-( :'-(( :-(( :cry
devil.png=+:Devil=+:]:&lt; ]:-&lt; (6) >:devil
dont_know.png=+:I don't know=+::^) ^) ??? :dunno
eat.png=+:Eat=+:(pl) :eat
erm.png=+:Erm=+::\ :-\ :-/ :/ :erm
evil.png=+:Evil=+:&gt;:D &gt;:-D :evil
girl.png=+:Girl=+:(X) (x) :girl
headphones.png=+:Headphones=+:[:} [:-) [:-} [:) :headphones
imac.png=+:iMac=+::imac
iphone.png=+:iPhone=+:(mp) :iphone
joking.png=+:Joking=+::)) :-)) *JOKINGLY* :joking
kiss.png=+:Kiss=+::* :-* (K) (k) :kiss
kissed.png=+:Kissed=+:(K) (k) *KISSED* :kissed
kissing.png=+:Kissing=+::**: *KISSING* (}) ({) :kissing
lol.png=+:lol=+::-D :D :-d :d :lol
love.png=+:Love=+:(L) (l) *IN LOVE* :love
macbook_pro.png=+:MacBook Pro=+::mbp (co)
macbook.png=+:MacBook=+::mb
macbook_white.png=+:MacBook White=+::mbw
macbook_black.png=+:MacBook Black=+::mbb
macbook_air.png=+:MacBook Air=+::mba
martini.png=+:Martini=+:(D) (d) :martini
money.png=+:Money=+:$) $-) (mo) :money
nerd.png=+:Nerd=+:8-| 8| :-| .| :nerd
party.png=+:Party=+:&lt;:o) :party
pirate.png=+:Pirate=+:P-[ p-[ P-| p-| P[ p[ P| p| :pirate :aye :arr
pizza.png=+:Pizza=+:(pi) :pizza
rose.png=+:Red Rose=+:@}->- @}->-- @>->-- @>->- :rose
rose_wilted.png=+:Wilted rose=+:(W) (w) :wiltedrose
sad.png=+:Sad=+::( :-( :sad
scared.png=+:Scared=+:=:O =:o =:-O =:-o :scared
sick.png=+:Sick=+::! :-! +o( :sick
silent.png=+:Silent=+::X :-X :-x :x :-# :# :silent
sleep.png=+:Sleep=+:|) |-) *TIRED* :sleep
smile.png=+:Smile=+::) :-) =) :smile
stop.png=+:Stop=+:*STOP* :stop
surprized.png=+:Surprized=+::O :-O :-o :o :-0 :0 :surprized
thinking.png=+:Thinking=+:*) *-) :thinking
thumb.png=+:Thumb Up=+:(Y) (y) *THUMBS UP* :thumbup :y
thumb_down.png=+:Thumb Down=+:(N) (n) *THUMBS UP* :thumbdown :n
tongue.png=+:Tongue=+::P :-P :-p :p :tongue
vampire.png=+:Vampire=+::[ :-[ :vampire
vicious.png=+:Vicious=+:&gt;:) &gt;:-) :vicious
wine.png=+:Wine=+:(wn) :wine
wink.png=+:Wink=+:;) ;-) :wink

Thanks

Thanks for providing this how to. Works great Thumb Up

Another way to do this conversation

First i want to use Notepad++ script to do this conversation, but Notepad++ dont's support replace macros.
Then i got this xslt solution. This way is more efficient if you need to do this many times.

This solution is very simple:
step 1 - save this xslt to a local file, i.e. plist2pak.xsl;
step 2 - add one line to the second linte of your .plist file

<?xml-stylesheet type="text/xsl" href="plist2pak.xsl" ?>

yes, just after this line below:
<?xml version="1.0" encoding="UTF-8"?>

step 3 - change your .plist file's extension to .xml. for example: change "Emoticons.plist" to "Emoticons.plist.xml"
step 4 - use any web browser to open "Emoticons.plist.xml", then you get the result.

contents of plist2pak.xsl:
--------------------------

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" />
  <xsl:output indent="yes" />
  <xsl:param name="filename">filename</xsl:param>
  <xsl:template match="plist">
    <html>
      <head>
        <title>
          <xsl:value-of select="$filename" />
        </title>
      </head>
      <body>
        <xsl:apply-templates mode="root" />
      </body>
    </html>
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="dict" mode="root">
    <xsl:apply-templates mode="list" />
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="dict" mode="list">
    <xsl:apply-templates mode="dict" />
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="dict" mode="dict">
    <xsl:value-of select="string" />
	<xsl:text disable-output-escaping="yes">=+:</xsl:text>
	<xsl:apply-templates select="array" mode="array" />
    <br />
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="dict" mode="array">
    <xsl:apply-templates mode="dict" />
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="key" mode="root">
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="key" mode="list">
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="key" mode="dict">
    <xsl:value-of select="." />
	<xsl:text disable-output-escaping="yes">=+:</xsl:text>
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="key" mode="array">
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="array" mode="root">
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="array" mode="dict">
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="string" mode="array">
    <xsl:value-of select="." />
    <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
  </xsl:template>
  <!-- -->
  <!-- -->
  <xsl:template match="integer" mode="list">
  </xsl:template>
</xsl:stylesheet>

Attachments weren't showing

Attachments weren't showing for some reason. I have rebuilt permissions and they are now available here: http://myzonelabs.com/node/3#attachments Thumb Up

Hello, Sir. Thank you for

Hello, Sir.
Thank you for this great addition to drupal. A pack like this was very appreciated.

I have a question though: It doesn't seem to be adding a (CSS) class to the images – not the ones I'm setting up anyways. If that had been done, it would have been easier to customize these smileys.

See, if you have an image inside a paragraph and use the CSS-property: "vertical-align: middle;", it will place the icons centered with respect to the surrounding text.

It would also be nice to set a different title and alt on the image.

Ok, enough crisisism, very well done – thank you!

Cool smilies thanks for

Cool smilies thanks for sharing!

What needs to be done to use...

What needs to be done to use any of the PhP and Adium Smilies as I would be willing to lend a hand to maintain more awesome packs as there are some really great developers out there providing even more sick looking smilies.

No packs visible

Hi, I have no errors loading the smiley module nor it apply to my site. The default example pack works perfect. When i add any of the packs listed on this site, they just dont appear under admin/settings/smileys ?? I've extracted them to the modules/smileys/packs/ folder.

You need to import them

Goto admin/settings/smileys/import and import the package you extracted. Then you can find them on the list page and play with them.

KoLbastı

Thanks for that article. I read all of them.

Thank you for writing

good

Very useful website, wants to see much more on it! Go on!

Hello

I have a question though: It doesn't seem to be adding a (CSS) class to the images – not the ones I'm setting up anyways. If that had been done, it would Blog have been easier to customize these smileys.

Option to Import missing

Hi Gurpartap,

I don't have the option to import new smileys on my site at admin/settings/smileys/import

I've only got the option to uninstall the Example Pack.

I'd like to have these Smile Wink Tongue Joking Cool Nerd Sad Surprized Eat Devil Angel Party Thinking Thumb Up guys added.

Any suggestions?

Smileys

I have upgraded from 4.7.x to 5.16 and I cannot get the smileys to work. I tried the smileys_import module to get the sample pack and I've clicked install and it never imports them. I should say it imported them into the smileys table but they do not appear in the List function and they do not get substituted in nodes or comments.

I've even tried removing the smileys_import module and adding the same smileys manually with a new path under files/images/smileys/{images}.png and no luck. I'm forcing filtered HTML input filter for all users. Seems I'm stuck.

Help?

documentation

i can't find any documentation to this module, can you tell me how to use this module in my site

thanks in advance

Read the README.txt?

It's just like any other Drupal module. If you know how to install one, smileys is a breeze. For adding more smileys, etc., read the README.txt

Good packs,but i don't use drupal now

LOL,Good packs,but i don't use drupal now!
Please check my new site powered by jommla and give me some suggestions,thanks!telecomleads.org

Where is the download link?

Where is the download link?

Drupal.org

private messages

I just started with the smileys and i like it a lot. I can use them througout my site but not with the private messages. Do you have a workaround so i can use it with the messages? Or do i need to implement another module for messaging?

great work!

wow, this is great... thank

wow, this is great... thank alot Wine

No dobra... to spróbujemy

No dobra... to spróbujemy kilka buziek użyć lol i zobaczymy czy tekat się przesuwa.

Thank You!

Thanks you Gurpartap for this awesome module. I have added it to IEdie.org

Joking

Huh?

Huh? Confused

IEdie is a work in progress.

IEdie is a work in progress. It's a project to try and get rid of Internet Explorer 6 and maybe even IE7, once and for all.

What about smileys module in

What about smileys module in it? Tongue

Most probably the footer is compelling. Heheh.

Down with IE6 and 7. They

Down with IE6 and 7. They both can burn in Devil !

Smileys issue

Im using your smileys module on my site but...
I get the box, popup and all.. I can seletec the codes too
But the smileys don't show up after submitting, it's just the codes that are displayed

Check the INSTALL.txt or the

Check the INSTALL.txt or the Smileys module's documentation page.

You have to enable the smileys filter to be able to see images instead of acronyms/codes.

Smileys with Chat Room

Is there a way to integrate smilyes with Chat Room Module??

Post new comment

Smileys
:);):P*JOKINGLY*8)8-|:(:O(pl)]:&lt;O:)&lt;:o):thinking(Y)
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <del> <code> <ul> <ol> <li> <small> <br> <img> <h2> <h3> <h4>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options