I add a Emotion Icon([>_<]) in Admin, And add it in the "include_smilies_write.html" and "editor.js" file . Now I use advance editor to add it to my post. But when I switch to basic editor, It shows that "(img) http://86.0.191.8:88/images/nugget.gif (/img)",but not [>_<], But when I use the default Emotion Icon like [ : ) ] ,it 's good . Is there some other file to modify , or it's a bug ?
Jul 28, 2002, 8:04 PM
User (422 posts)
Jul 28, 2002, 8:04 PM
Post #2 of 10
Views: 3970
Do you use a relative path ("/images") or a absolute path(http://yoursite.com/images") to your images directory? I got a similar problem with emoticons in french version when I used a relative path. If you use relative path, change it for a absolute path.
Hope that helps!
François
Hope that helps!

François
Aug 1, 2002, 2:43 PM
Staff / Moderator (2198 posts)
Aug 1, 2002, 2:43 PM
Post #5 of 10
Views: 3925
The current implementation does not allow this to work properly. The problem comes from GForum/Convert.pm, which is the module responsible for converting HTML into Forum Markup. Basically, the smile, frown, etc. icons are hard-coded in the file rather than being pulled from the icons in the config file. The solution isn't so great - it caused problems when we created the french version, and as a result, the GForum/Convert.pm that comes with the french version is not the same as the one with the english version.
I've added this to my list of things to change, because you are definately right - it should be able to handle new smiley face tags properly when switching from advanced to basic.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
I've added this to my list of things to change, because you are definately right - it should be able to handle new smiley face tags properly when switching from advanced to basic.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Aug 1, 2002, 5:47 PM
Staff / Moderator (2198 posts)
Aug 1, 2002, 5:47 PM
Post #7 of 10
Views: 3899
The icons [<_<], [>_<], etc. will work in the basic editor if they are put in manually. The only problem is when translating the advanced editor output (which is HTML) into Forum Markup - only the default [smile], etc. icons are translated; the rest are left as [img ...] tags.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Aug 2, 2002, 2:51 AM
User (117 posts)
Aug 2, 2002, 2:51 AM
Post #8 of 10
Views: 3888
I have tested, I siwich to basic editor, and input [<_<] in manual(but I think it's the same as click icon to insert a code [<_<]), But it cannot translate to the valid markup but the charactor [<_<]. The othes like [:o], [-_-], [!] translate good and show the icon, but only [<_<] and [>_<].
Aug 2, 2002, 3:06 PM
Staff / Moderator (2198 posts)
Aug 2, 2002, 3:06 PM
Post #9 of 10
Views: 3870
Hi,
I tracked down this problem - because it doesn't allow HTML, the HTML is escaped in advanced. You need to put the HTML escaped version of the tag in, or <_> and <_< instead of <_> and <_<. I've added this to list of things to be fixed in the future so that when you enter <_< it is automatically escaped.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
I tracked down this problem - because it doesn't allow HTML, the HTML is escaped in advanced. You need to put the HTML escaped version of the tag in, or <_> and <_< instead of <_> and <_<. I've added this to list of things to be fixed in the future so that when you enter <_< it is automatically escaped.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com