• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 02:25:22 AM

News:

Join the Facebook Fan Page.


Smilies are alive !

Started by Webby, April 21, 2004, 09:42:04 AM

Previous topic - Next topic

Bichon

Is there anyway to add smilies without having to have them all named the same as the default ones.
Even a way to add more to other sets without having to add to the default ones every time.

YaBB and PHPBB you can do this with ease.

swash


Bichon

I see under
// Load smileys - don't bother to run a query if we're not using the database's ones anyhow.

Just add more lines or ?

Thanks for the tip eh!  :)

swash

Open Subs-post php. Write like this

array('code' => '::)', 'filename' => 'rolleyes.gif', 'description' => $txt[613]),
array('code' => ':.)', 'filename' => 'smiley6600.gif', 'description' => $txt[614]),
array('code' => '8O)', 'filename' => 'smitten.gif', 'description' => $txt[615]),
array('code' => ':3|', 'filename' => 'tickedoff.gif', 'description' => $txt[616]),
array('code' => ':~}', 'filename' => 'uglystupid2.gif', 'description' => $txt[617])


If u want to show this smileys in posted messages u have edit subs.php.

$smileysfrom = array('>:D', ':D', '::)', '>:(', ':)', ';)', ';D', ':(', ':o', '8)', ':P', '???', ':-[', ':-X', ':-*', ':\'(', ':-\\', '^-^', 'O0', '():-)', ':~}', 'oO', ':0)', ':0', ':i', 'x)', 'OO)', 'xx)', ':-1', 'O:P', ':oo)', ':.)', '8O)', ':3|');
$smileysto = array('evil.gif', 'cheesy.gif', 'rolleyes.gif', 'angry.gif', 'smiley.gif', 'wink.gif', 'grin.gif', 'sad.gif', 'shocked.gif', 'cool.gif', 'tongue.gif', 'huh.gif', 'embarrassed.gif', 'lipsrsealed.gif', 'kiss.gif', 'cry.gif', 'undecided.gif', 'azn.gif', 'afro.gif', 'police.gif', 'uglystupid2.gif', 'afro.gif', '2funny.gif', 'angel.gif', 'azn.gif', 'buck2.gif', 'coolsmiley.gif', 'crazy2.gif', 'idiot2.gif', 'knuppel2.gif', 'laugh.gif', 'smiley6600.gif', 'smitten.gif', 'tickedoff.gif');
$smileysdescs = array('', $txt[289], $txt[450], $txt[288], $txt[287], $txt[292], $txt[293], $txt[291], $txt[294], $txt[295], $txt[451], $txt[296], $txt[526], $txt[527], $txt[529], $txt[530], $txt[528], '', '', '', '', '$txt[617]', '$txt[600]', '$txt[601]', '$txt[602]', '$txt[603]', '$txt[604]', '$txt[606]', '$txt[607]', '$txt[609]', '$txt[610]', '$txt[611]', '$txt[614]', '$txt[615]', '$txt[616]');




Now open themes/default/language/post.english.php

Now u have to write text files for those icons. For example i edited post.turkish.php like this

$txt[612] = 'Polis';
$txt[613] = 'Gözleri Dönen';
$txt[614] = 'Kibar Gülme';
$txt[615] = 'Aşık';
$txt[616] = 'Maç Biletimi Verin';
$txt[617] = 'İğrenç Gerizekalı Hayvan Şey';




Good Luck...





Bichon

Thanks big time i will try it out

loldaolda

they are very nice. Adding them as my default smileys... thanks

oschikhof

No more new ones?  :'(
Everybody at my forum asks me if there will come new ones..
Unfortunetaly I am not as good as Webby to make them myself  :D

neogwen

hi do someone can post the correct modification to do in
subs.php
subs-post.php
pst.xxx.php (xxx:your language)

i'm not very good for such thing  :-[

Kraig K.

I have a couple of requests if I may.  How about a headbanger smiley, sorta like this, http://sillysoft.net/forums/images/smiles/smiley_headbanger.gif [nofollow]

And maybe a gag me smiley.  Like sticking fingers down throat.  I couldn't find an example of that one on the web.

Thanks!!

Webby

I haven't had the time to make any other smilies.......maybe in the near future ;)

Prasad007

wow!
my default set ;)
thank you!! :)

Prasad007

is there something wrong with the "emberassed" smiley
cuz it just shows the text "emberassed" instead of the image
whats wrong? how can this be fixed?

loldaolda

Quote from: Prasad007 on November 29, 2005, 11:05:11 PM
is there something wrong with the "emberassed" smiley
cuz it just shows the text "emberassed" instead of the image
whats wrong? how can this be fixed?

If I reccal right, there is only one "s" in this word... Just add 1 "s" to filename there...  :)

Teknomancer

The greatest smiley set i've seen... even beats phpBB's set by miles!! :)

But I HEAVILY MISS one smiley... a smiley for thinking.
My SMF Forum:

Prasad007

Quote from: loldaolda on November 30, 2005, 09:51:25 AM
Quote from: Prasad007 on November 29, 2005, 11:05:11 PM
is there something wrong with the "emberassed" smiley
cuz it just shows the text "emberassed" instead of the image
whats wrong? how can this be fixed?

If I reccal right, there is only one "s" in this word... Just add 1 "s" to filename there...  :)
alright thank you!

ybyap


mforum

Excelent !!!  Thanks a lot !

Burak


shen brood

Really cool smilies like it very much.. great work!

PopLife

Hey Marco, if you ever have a spare minute, could you please make a drooling smiley?

Advertisement: