Problems with Smilies
-
Hi all
I installed WordPress yesterday – and it really works fine – only the smilies are driving me nuts :(. I wanted to add more smilies – I followed this instructions https://tamba2.org.uk/wordpress/smilies/ – and now every time I wanted to add a new article, there is this “header ist already sent” mistake. I know there must be something wrong with my code – but I just can’t find it :(. Could anyone help me please – I am really desperate.That’s my code:
// if the config file does not provide the smilies array, let's define it here
if (!isset($wpsmiliestrans)) {
$wpsmiliestrans = array(
' :)' => 'smile.gif',
' :D' => 'biggrin.gif',
' :-D' => 'biggrin.gif',
':grins:' => 'biggrin.gif',
' :)' => 'smile.gif',
' :-)' => 'smile.gif',
':lol:' => 'lol.gif',
' :(' => 'traurig.gif',
':sad:' => 'sad.gif',
':kicher:' => 'kicher_huepf.gif',
':wein:' => 'wein.gif',
':heul:' => 'heul.gif',
':geknickt:' => 'geknickt.gif',
':neutral:' => 'neutral.gif',
':hmpf:' => 'hmpf.gif',
' :-/' => 'hmpf.gif',
':roll:' => 'augen_roll.gif',
':shock:' => 'shocked.gif',
':grr:' => 'wut.gif',
':tob:' => 'wuetend.gif',
':tot:' => 'tot.gif',
':kopfstand:' => 'kopfstand.gif',
':schaem:' => 'blush.gif',
':???:' => 'fragezeichen.gif',
' :p' => 'zunge.gif',
':gaehn:' => 'gaehn.gif',
':zzz:' => 'zzz.gif',
':herzauge:' => 'herz_auge.gif',
':herz:' => 'herz.gif',
':wolke:' => 'wolke.gif',
':fluegel:' => 'fluegel.gif',
':engel:' => 'engel.gif',
':teufel:' => 'teufel.gif',
' }:-)' => 'teufel.gif',
':telefon:' => 'telefon.gif',
' =)' => 'smile.gif.gif',
' =D' => 'biggrin.gif',
':musik:' => 'musik.gif',
':party:' => 'party.gif',
':xmas:' => 'xmas.gif',
' :P' => 'zunge.gif',
' 8-|' => 'shocked.gif',
' B-)' => 'smile.gif',
' B-D' => 'biggrin.gif',
':flenn:' => 'heul.gif',
);
}
die();
// sorts the smilies' array`Hugs Tina
- The topic ‘Problems with Smilies’ is closed to new replies.