• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Like it says in the instructions there, you need to be careful with the file “vars.php”

    Open it
    Scroll to the very bottom
    Put the cursor between the ? and >
    Press and hold your delete key for 10 seconds
    press >
    Now SAVE without pressing another key.
    Upload

    Thread Starter akascha

    (@akascha)

    How funny…

    ?

    Thread Starter akascha

    (@akascha)

    Actually I’m using UltraEdit32, which is able to show non-printable characters, I’m quite sure, I’ve got no unwanted characters anywhere, neither whitespaces, nor anything else.
    I don’t know, where my problem is based, but my vars.php seems to be clean.

    The first error reported will tell you where it is.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with Smilies’ is closed to new replies.