• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Complex smilies are broken :(

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to insert a new similey into my forum

for the raised eyebrow smiley, but what ends up happening in the posts is it still displays the smiley just like: /

It's also true for any other smilies where another smiliey is included as part of the larger smiliey.

As another example,

wont work either.

ps: heh looks like something might be broke with the code tag too.. That shouldn't be a smiley in there


[originally posted on jforum.net by TheDruidXpawX]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, that happens because you already have a smilie with the code " ". As " / " has almost the same sequence of chars, you will in fact get problems with them, as JForum process the text in the order the smilies were added to the system.

So, to workaround it, you will have to create a different code. There isn't much I can do about.

About the smilies in the the code tag: I remove the basic ones, but jus a small portion. To remove all smilies would require a considerably usage of system resources for *each* message. But if you have any suggestion, let me know

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe as a solution to the first problem, could they be sorted and parsed in order of size instead of order they were added? Alternatively, could their ordering be changed through the UI?
[originally posted on jforum.net by TheDruidXpawX]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It will not be a real solution, but just an ugly workaround, that gets very very hard to manage as your number of smilies grow.

Anyway, if you want to, you could delete the smilie, add the new one and then re-add

Rafael
[originally posted on jforum.net by Rafael Steil]
 
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic