Customizing SMF > SMF Coding Discussion

Smileys Descriptions-character

(1/1)

robo47:
the " currently makes problem when it is in a description for a smiley, because when it's not escaped, the editfield for the smiley only shows the description until the first " in the description and the other problem, connected to that, is that the output of this passage:


--- Code: --- <script language="JavaScript" type="text/javascript"><!--
var smileys = [
[
[":morrisch","morrisch.gif","Morrisch"],
[":carty","carty.gif","Carty"],
[":heul","heul.gif","Fallen's Heul-Smiley"],
[":doh","doh.gif","doh"],
[">:(","angry.gif","Angry"],
["^-^","azn.gif","Azn"],
[":tony","aufsmaul.gif","Thrasher Toni"],
[":banana","00001656_2.gif","Banana******1"],
[":cumshotkai","blowjob.gif","voll ins Auge!"],
[":toob2","Crowngri.gif","Toob The King"],
[":kleemann","plane.gif","The pilot"],
[":woini","git.gif","Woini rockxx"],
[":schuster","bluebang.gif","Headbanging"],
[":violent","violent-smiley-010.gif","Gewalt ist eine Lösung"]],
[
[":sebsn","******_2.gif","seb "the middle finger""], <<----- here is the prob i think, after editiing seb "the middle finger"   to seb the middle finger  it worked.
[":saufen","alk.gif","....ist auch eine Lösung"],
[":ast","ast.gif","ast"],
["O0","afro.gif","Afro"],
[":toob","badair.gif","Gasmaschine"],
[":julius","wos_armee_007.gif","Unser Julius als Soldat"],
[":baschdl","sport-smiley-021","Baschdl"],
[":mosh","mosh.gif","*mosh*"],
[":maniac","knuffi.gif","flauschiSeb"],
[":P","tongue_new.gif","äläbätsch"],
[":O","tzzz.gif","meinsmile"],
[":ex-fear","c_band2.gif","ex-fear rockz www.ex-fear.com"],
[":kotz","kotz.gif","kotz"]],
[
[":muppel","beer.gif","BIIIIIIIIIERRRRR!!!!1111111"],
[":banana2","17564562143f68d77591bf7.gif","Banana****** #2"],
[":mods","anniemacht.gif","Alle Macht den Mods"],
[":massel","Fuehrer.gif","Der Führer Massel"],
[":respect","288.gif","Respect!!!"],
[":female","mixed-smiley-030.gif","Frauen ....."],
[":tony2","autofahrer.gif","Toni The Driver"],
[":noob","mixed-smiley-019.gif","NOOOOOBBBB!!!"],
[":alk","aschildi_2_2.gif","Der Alk Smiley"],
[":mosh2","mosh2.gif","*mosh²*"],
[":starwars","175.gif","Star Wars"],
[":hidden","mixed-smiley-002.gif","Toiletdiver"]]];

--- End code ---

shows me an java-error in the internet-explorer and the pop doesn't show when i click on the more link.

i edited the smiley via phpmyadmin and it worked.


         

[Unknown]:
 * You can now use smileys with quotes in their description in the smiley popup... (Post.php, Post template)

--> SMF Coding Discussion

-[Unknown]

Navigation

[0] Message Index

Go to full version