CMS MADE SIMPLE FORGE

Smileys

 

[#1661] Have Smileys discern between ^_^ and ^_^;;

avatar
Created By: Jan Biel (cerno)
Date Submitted: 2007-07-29 18:35

Assigned To:
Resolution: None
State: Open
Summary:
Have Smileys discern between ^_^ and ^_^;;
Detailed Description:
I built a custom smiley set since I didn't really like the prebuilt ones
(contact me if you want to see, I believe it's a worthy addition).

Anyway I realized that the current module cannot discern between two text
smileys if one is contained on the other.

When I define ^_^ and ^_^;; then only the first one gets recognized so I get
[IMG1] and [IMG1];; instead of [IMG1] and [IMG2].

One way to solve this would be to replace the text in the order of the smiley
definition. That way first all ^_^ are replaced and then all ^_^;; smileys.

I have to admit that I have no idea about the internals of the module so I don't
really know how difficult/ineffective such an implementation would be.

Would be nice though.

Cheers,
Cerno

History

Comments
avatar
Date: 2007-09-01 15:49
Posted By: Tobias Kretschmar (tobik)

The smileys are replaced in the sequence they are listed in the .lst file. Just
put the smiley definition ^_^;; above ^_^ and it should work.

You can send me your smiley set. I will add it to the module. 

BTW: I did some polishing to the MSN set. Try the latest SVN.