Gossamer Forum
Quote Reply
Smilies
I've wanted to change/add tot he "smilies" available to a poster on the left side of the editor window for some time. I've added them to Markup and edited the "include_smilies_write.html" to include the new ones. They show up in Markup and on the side of the editor window but if you click on one to include in a post, you get the "red X of death" and looking at the properties, the URL shows as "undefined". You can copy and past the new smilies from the side into a post, but that's not really what I'm after. I've attached a copy of the include_smilies_write.html. Am I missing another place where I need to make changes or just not doing it right?

Any help would be appreciated.

Thanks,

Steve

Visit The Guitar Diner
Post deleted by hoefti In reply to
Quote Reply
Re: [Boomer] Smilies In reply to
Someone must be able to help?





Steve

Visit The Guitar Diner
Quote Reply
Re: [Boomer] Smilies In reply to
Hello Boomer

look in the fle "editor.js"

var Faces = {
':)' : image_url + '/smile.gif',
';)' : image_url + '/wink.gif',
':(' : image_url + '/frown.gif',
':P' : image_url + '/tongue.gif',
'cool' : image_url + '/cool.gif',
'blush' : image_url + '/blush.gif',
'angelic' : image_url + '/angelic.gif',
'crazy' : image_url + '/crazy.gif',
'mad' : image_url + '/mad.gif',
'shocked' : image_url + '/shocked.gif',
'laugh' : image_url + '/laugh.gif',
':/' : image_url + '/unsure.gif',
':|' : image_url + '/unimpressed.gif',
'sly' : image_url + '/sly.gif',
'pirate' : image_url + '/pirate.gif'
};


edit to:

Code:
var Faces = {
':)' : image_url + '/smile.gif',
';)' : image_url + '/wink.gif',
':(' : image_url + '/frown.gif',
':P' : image_url + '/tongue.gif',
'cool' : image_url + '/cool.gif',
'blush' : image_url + '/blush.gif',
'angelic' : image_url + '/angelic.gif',
'crazy' : image_url + '/crazy.gif',
'mad' : image_url + '/mad.gif',
'shocked' : image_url + '/shocked.gif',
'laugh' : image_url + '/laugh.gif',
':/' : image_url + '/unsure.gif',
':|' : image_url + '/unimpressed.gif',
'sly' : image_url + '/sly.gif',
'pirate' : image_url + '/pirate.gif'
'funnypost' : image_url + '/x-funnypost.gif'
};

Edit the file for more Smiles
You have to edit this to make other Smiles possible


greeting hoefti


in your basic editor the picture is indicated
Now you must edit the file to make it possible in the advance Editor
linktobuy Web Directory
Ratgeber Recht

Last edited by:

hoefti: Nov 12, 2003, 11:43 PM
Quote Reply
Re: [hoefti] Smilies In reply to
Thanks very much! I'll work on it tomorrow and see how badly I can screw up the editor.js file! Crazy



Steve

Visit The Guitar Diner
Quote Reply
Re: [hoefti] Smilies In reply to
Hoefti:

I've attempted to edit editor.js and every time I do and install it, the area you type in for the advanced editor disappears. I've attached the modified file and I have not done anything but add the smilies code text as you suggested. Can you see what I might have done wrong?

Thanks

Steve

Visit The Guitar Diner
Quote Reply
Re: [Boomer] Smilies In reply to
Hi Steve,

The problem is in the file here:

Code:
...
':/' : image_url + '/unsure.gif',
':|' : image_url + '/unimpressed.gif',
'sly' : image_url + '/sly.gif',
'funnypost' : image_url + '/x-funnypost.gif'
'iagree' : image_url + '/x-iagreeyes.gif'
'iloveyou' : image_url + '/x-iluffyou.gif'
'offtopic' : image_url + '/x-offtopic.gif'
'thatscrap' : image_url + '/x-thatscrap.gif'
'thedrama' : image_url + '/x-ohthedrama.gif'
'threadkiller' : image_url + '/x-threadkiller.gif'
...

You need to make sure that there is a ',' at the end of each smiley line except for the last one.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Smilies In reply to
Thanks Jason!

Visit The Guitar Diner
Quote Reply
Re: [Boomer] Smilies In reply to
Hi can anyone help me out on this one. I've added some new smilies and they work fine for me, no problems at all but they don't work for anyone else, they get the red X.

Can someone tell me where the editor.js file is that you've spoken about in this thread and I'll see if I can edit that - any ideas why it would work ok for me but not for other users?

Cheers
Sal
Quote Reply
Re: [SalB] Smilies In reply to
Hi, is there anyone at all who can just point me in the right direction. I just need to know where the editor.js is.

Please?

Cheers
Sal
Quote Reply
Re: [SalB] Smilies In reply to
It should be in /path/to/gforum/admin/templates/common/

Dave