is there any unacceptable characters in the code? like for example I am using ":->" for my smug.gif smiley. In phpbb, it is not working probably because of the ">" character. after series of testing, it looks like that the following characters are not usable. "/", "\", ">", "<", " " ", would it be the same in this chat?easygo wrote:br0nks wrote:hello, i have problem with that chat..
i mean, how can i add a some more emoticons?
can someone tell me step by step how to do it?
thanks so much!
Yeah, why not! First upload a new image file into chat/img/emoticons/.
Then open the script file chat/js/config.js in your text editor
and find the following code or array ::
Here you can add the new file similar to the other values.Code: Select all
// Defines the list of emoticon files associated with the emoticon codes: emoticonFiles: new Array( 'smile.png', 'sad.png', 'wink.png', 'razz.png', 'grin.png', 'plain.png', 'surprise.png', 'confused.png', 'glasses.png', 'eek.png', 'cool.png', 'smile-big.png', 'crying.png', 'kiss.png', 'angel.png', 'devilish.png', 'monkey.png', 'idea.png', 'important.png', 'help.png', 'error.png', 'warning.png', 'favorite.png' ),
Now add a new emoticon code using this array (you will find it directly above)
Note that related entries should be in the same placeCode: Select all
// Defines the list of allowed emoticon codes: emoticonCodes: new Array( ':)', ':(', ';)', ':P', ':D', ':|', ':O', ':?', '8)', '8o', 'B)', ':-)', ':-(', ':-*', 'O:-D', '>:-D', ':o)', ':idea:', ':important:', ':help:', ':error:', ':warning:', ':favorite:' ),
regarding the order in both arrays.
That's all! Hope it helps.