Thought I'd pitch in. Here's a slightly modified tango.txt file to include more variations of smilies and some more emotes from the tango project. I also made the aliases more semantic (rather than :face-smile: it's just :smile:).# see http://tango.freedesktop.org to find more infos about the Tango-Icon Project face-angel :angel: 0:-) face-crying :cry: :'( :'-( face-devil-grin :devil: >:-) >:) face-monkey :monkey: :-(|) face-plain :plain: :-| :| face-sad :sad: :-( :( face-smile :smile: :-) :) face-wink :wink: ;) ;-) face-surprise :surprise: :O :-O face-grin :grin: :D :-D Here's a link to Tango 0.8 . Just extract it and go to the emotes folder, it has more emotes than is included with the extension. Copy over the ones you need into the correct extension sub-folder.
Oh, and another thing. I personally thought that the emotes included in the extension were too big, so you can copy over the medium sized emotes if you extract them from the link above. If you do that, you'll also want to change style.css to: #smileyBox img { margin: 0 5px; }
img.smiley { vertical-align: bottom; } That way the emotes will look like they are resting on the bottom of the line instead of floating to the top.
Yes, or even something similar to the newly updated Attachments expansion thingy which expands when required. Or an option to simply turn off in the add comments area.
Looks nice but i gan an error: Warning: fopen(/www/htdocs/w0064fdb/extensions/Smile/cache_tango) [function.fopen]: failed to open stream: Is a directory in /www/htdocs/w0064fdb/extensions/Smile/default.php on line 131 Cant write Cache
all files got full permission (777) what shall i do?
yes, it has.. the plugin works fine, but i get this error message.. E: okay, i deleted all that tango stuff, created my own smileys.txt now it works fine. thanks :)
another problem here.. when i activate the smile extension i get a "Warning: Invalid argument supplied for foreach() in [...]/vanilla/extensions/Smile/default.php on line 178". i swear i did not touch anything. is there hope?
thanks.. hadnt noticed that before. btw im a big fan of your work ^^
can anyone help with my smile problem? line 178 is the bad one.. as a php noob i cant spot an "invalid argument". do u see a potential problem here? 176 function Smile(&$Context) { 177 $this->Context = &$Context; 178 foreach( glob( dirname( __FILE__ ) . '/*.txt') as $cfgFile) { 179 $setName = basename( $cfgFile, '.txt' ); 180 $this->smileyCollection[] = new SmileyCollection( $setName ); 181 }
sorry if that was obvious :] it seems like my hoster doesnt allow remote chmod. is there another way to change the permissions or will i have to change the hoster?
(unfortunately i cant find a free one that allows remote mysql access.. i already pay for webspace without database)
Hmm, I've started getting this as well. I wonder if it's something that's changed in Vanilla 1.1.4? I didn't notice it before I upgraded, but that doesn't mean it wasn't happening...
Hey, I'm getting this error. Warning: fopen(/home/ablehous/public_html/extensions/Smile/cache_tango) [function.fopen]: failed to open stream: Is a directory in /home/ablehous/public_html/extensions/Smile/default.php on line 131 Cant write Cache
I see that some other people have had the same error, but there wasn't any kind of solution posted. Has anyone seen this? How did you fix the error
It seems that cache_tango is supposed to be a file, nor a directory. The plugin also is supposed to auto-create it, but it was failing with 775 perms - doing "chmod 777 Smile/" manually made it create the cache ok.
Download the file above, drop the icons in the tango directory, and paste these in tango.txt format (note back up originals!) airplane :airplane: angel :angel: O:-) angry :angry: :-X bad :bad: :nok: :not-ok: beer :beer: bowl :bowl: boy :boy: :man: :male: brb :brb: cake :cake: camera :camera: car :car: cat :cat: cigarette :cigarette: clock :clock: coffee :coffee: coins :coins: computer :computer: confused :confused: :-? console :console: crying :crying: :cry: cyring :crying: :cry: devil :devil: dog :dog: dont-know :dont-know: :idk: drink :drink: embarrassed :blush: :emberrassed: eyeroll :eyeroll: :roll: film :film: fingers-crossed :fingers-xd: :fingers-crossed: foot-in-mouth :foot-in-mouth: :footmouth: girl :girl: :woman: :female: glasses-cool :cool: :glasses-cool: glasses-nerdy :nerd: :nerdy: :glasses-nerdy: good :good: :ok: :fine: handcuffs :handcuffs: highfive :highfive: hug-left :hug-left: :hugleft: hug-right :hug-right: :hugright: island :island: kiss :kiss: :-* lamp :lamp: laugh :laugh: love :love: :heart: love-over :heartbroken: :heart-broken: :brokenheart: :love-over: mail :mail: mobile :mobile: :cell: moon :moon: msn :msn: musical-note :music: :song: :musicalnote: :musical-note: neutral :neutral: :-| party :party: phone :phone: pizza :pizza: plate :plate: present :present: question :question: ?:-) quiet :quiet: rain :rain: rainbow :rainbow: rose :rose: rose-dead :rose-dead: :deadrose: rose-dead :rose-dead: :rosedead: :rosewilt: sad :sad: :unhappy: :nothappy: :depressed: :-( sarcastic :sarcastic: :sarcasm: secret :secret: sheep :sheep: shock :shock: sick :sick: sleepy :sleepy: :ZZZ: smile :smile: :-) snail :snail: soccerball :soccerball: :soccer: star :star: sun :sun: teeth :teeth: :grrr: :teeth: thinking :thinking: :-/ thunder :thunder: tongue :tongue: :razz: :-P turtle :turtle: umbrella :umbrella: vampire :vampire: wink :wink: ;-)
This WP plugin seems to include a whole slew of nice tango icons... http://munashiku.slightofmind.net/wordpress-plugins/tango-smileys-extended I think 202 icons is a few too many, and his icons are actually TOO SMALL for my taste (16x16) but whisper me if you're interested anyhow in the 202 descriptions.
Tested this extension in FF3/IE7/Opera9/Safari/Chrome in Windows. It works well everywhere, except IE, where inserting many smilies in a row, repeat-click on the many icons, could at times put the cursor in the wrong place and insert smiley code in existing smiley code (related to loss of focus of the text-area and "smartness").
Solution: comment-out the code that corrects the cursor position for IE post-insertion and it works as desired.
Open func.js in /extensions/Smile/ Find /* correct cursor position */ range = document.selection.createRange(); if (insText.length == 0) { range.move('character', -eTag.length); } else { range.moveStart('character', aTag.length + insText.length + eTag.length); } and change to /* correct cursor position range = document.selection.createRange(); if (insText.length == 0) { range.move('character', -eTag.length); } else { range.moveStart('character', aTag.length + insText.length + eTag.length); }*/
Comments
Smile, Emoticons, IPB2.2, 2007-02-23_14-47-52.rar
- Spam
- Abuse
0 · Insightful Awesome LOL ·Thought I'd pitch in. Here's a slightly modified tango.txt file to include more variations of smilies and some more emotes from the tango project. I also made the aliases more semantic (rather than :face-smile: it's just :smile:).
# see http://tango.freedesktop.org to find more infos about the Tango-Icon Projectface-angel :angel: 0:-)
face-crying :cry: :'( :'-(
face-devil-grin :devil: >:-) >:)
face-monkey :monkey: :-(|)
face-plain :plain: :-| :|
face-sad :sad: :-( :(
face-smile :smile: :-) :)
face-wink :wink: ;) ;-)
face-surprise :surprise: :O :-O
face-grin :grin: :D :-D
Here's a link to Tango 0.8 . Just extract it and go to the emotes folder, it has more emotes than is included with the extension. Copy over the ones you need into the correct extension sub-folder.
Oh, and another thing. I personally thought that the emotes included in the extension were too big, so you can copy over the medium sized emotes if you extract them from the link above. If you do that, you'll also want to change style.css to:
#smileyBox img {
margin: 0 5px;
}
img.smiley {
vertical-align: bottom;
}
That way the emotes will look like they are resting on the bottom of the line instead of floating to the top.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Warning: fopen(/www/htdocs/w0064fdb/extensions/Smile/cache_tango) [function.fopen]: failed to open stream: Is a directory in /www/htdocs/w0064fdb/extensions/Smile/default.php on line 131
Cant write Cache
all files got full permission (777) what shall i do?
- Spam
- Abuse
0 · Insightful Awesome LOL ·Posted: Friday, 29 June 2007 at 10:33AM
- Spam
- Abuse
0 · Insightful Awesome LOL ·E: okay, i deleted all that tango stuff, created my own smileys.txt now it works fine.
thanks :)
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·when i activate the smile extension i get a "Warning: Invalid argument supplied for foreach() in [...]/vanilla/extensions/Smile/default.php on line 178". i swear i did not touch anything.
is there hope?
- Spam
- Abuse
0 · Insightful Awesome LOL ·Posted: Thursday, 12 July 2007 at 9:03AM
- Spam
- Abuse
0 · Insightful Awesome LOL ·can anyone help with my smile problem?
line 178 is the bad one.. as a php noob i cant spot an "invalid argument". do u see a potential problem here?
176 function Smile(&$Context) {177 $this->Context = &$Context;
178 foreach( glob( dirname( __FILE__ ) . '/*.txt') as $cfgFile) {
179 $setName = basename( $cfgFile, '.txt' );
180 $this->smileyCollection[] = new SmileyCollection( $setName );
181 }
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Obvious things to check, you have got your Smile dir with the correct permissions so it can create its cache files?
- Spam
- Abuse
0 · Insightful Awesome LOL ·it seems like my hoster doesnt allow remote chmod. is there another way to change the permissions or will i have to change the hoster?
(unfortunately i cant find a free one that allows remote mysql access.. i already pay for webspace without database)
- Spam
- Abuse
0 · Insightful Awesome LOL ·thanks in advance :)
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Warning: fopen(/home/ablehous/public_html/extensions/Smile/cache_tango) [function.fopen]: failed to open stream: Is a directory in /home/ablehous/public_html/extensions/Smile/default.php on line 131
Cant write Cache
I see that some other people have had the same error, but there wasn't any kind of solution posted. Has anyone seen this? How did you fix the error
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Found this set of 82 icons (24x24 pixels): http://addons.miranda-im.org/details.php?action=viewfile&id=3585
Download the file above, drop the icons in the tango directory, and paste these in tango.txt format (note back up originals!)
airplane :airplane:angel :angel: O:-)
angry :angry: :-X
bad :bad: :nok: :not-ok:
beer :beer:
bowl :bowl:
boy :boy: :man: :male:
brb :brb:
cake :cake:
camera :camera:
car :car:
cat :cat:
cigarette :cigarette:
clock :clock:
coffee :coffee:
coins :coins:
computer :computer:
confused :confused: :-?
console :console:
crying :crying: :cry:
cyring :crying: :cry:
devil :devil:
dog :dog:
dont-know :dont-know: :idk:
drink :drink:
embarrassed :blush: :emberrassed:
eyeroll :eyeroll: :roll:
film :film:
fingers-crossed :fingers-xd: :fingers-crossed:
foot-in-mouth :foot-in-mouth: :footmouth:
girl :girl: :woman: :female:
glasses-cool :cool: :glasses-cool:
glasses-nerdy :nerd: :nerdy: :glasses-nerdy:
good :good: :ok: :fine:
handcuffs :handcuffs:
highfive :highfive:
hug-left :hug-left: :hugleft:
hug-right :hug-right: :hugright:
island :island:
kiss :kiss: :-*
lamp :lamp:
laugh :laugh:
love :love: :heart:
love-over :heartbroken: :heart-broken: :brokenheart: :love-over:
mail :mail:
mobile :mobile: :cell:
moon :moon:
msn :msn:
musical-note :music: :song: :musicalnote: :musical-note:
neutral :neutral: :-|
party :party:
phone :phone:
pizza :pizza:
plate :plate:
present :present:
question :question: ?:-)
quiet :quiet:
rain :rain:
rainbow :rainbow:
rose :rose:
rose-dead :rose-dead: :deadrose:
rose-dead :rose-dead: :rosedead: :rosewilt:
sad :sad: :unhappy: :nothappy: :depressed: :-(
sarcastic :sarcastic: :sarcasm:
secret :secret:
sheep :sheep:
shock :shock:
sick :sick:
sleepy :sleepy: :ZZZ:
smile :smile: :-)
snail :snail:
soccerball :soccerball: :soccer:
star :star:
sun :sun:
teeth :teeth: :grrr: :teeth:
thinking :thinking: :-/
thunder :thunder:
tongue :tongue: :razz: :-P
turtle :turtle:
umbrella :umbrella:
vampire :vampire:
wink :wink: ;-)
This WP plugin seems to include a whole slew of nice tango icons... http://munashiku.slightofmind.net/wordpress-plugins/tango-smileys-extended
I think 202 icons is a few too many, and his icons are actually TOO SMALL for my taste (16x16) but whisper me if you're interested anyhow in the 202 descriptions.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Solution: comment-out the code that corrects the cursor position for IE post-insertion and it works as desired.
Open func.js in /extensions/Smile/
Find
/* correct cursor position */and change torange = document.selection.createRange();
if (insText.length == 0) {
range.move('character', -eTag.length);
} else {
range.moveStart('character', aTag.length + insText.length + eTag.length);
}
/* correct cursor positionrange = document.selection.createRange();
if (insText.length == 0) {
range.move('character', -eTag.length);
} else {
range.moveStart('character', aTag.length + insText.length + eTag.length);
}*/
- Spam
- Abuse
0 · Insightful Awesome LOL ·