• if ( !get_option( 'use_smilies' ) )
    		return;
    
    	if ( !isset( $wpsmiliestrans ) ) {
    		$wpsmiliestrans = array(
    			' :)' => 'icon_smile.png',
    			' :-)' => 'icon_smile.png',
    			' ;)' => 'icon_wink.png',
    			' ;-)' => 'icon_wink.png',
    			' :(' => 'icon_sad.png',
    			' :-(' => 'icon_sad.png',
    			' :p' => 'icon_razz.png',
    			' :-p' => 'icon_razz.png',
    			' :D' => 'icon_biggrin.png',
    			' :-D' => 'icon_biggrin.png',
    			' -_-' => 'icon_mad.png',
    		);
    	}

    That is in wp-includes/functions.php I am fairly sure my smilies are in the right directory etc… why isn’t it working??

Viewing 11 replies - 1 through 11 (of 11 total)
  • why isn’t it working??

    Was it enabled?
    refer WP Admin > settings > Writing, make sure it tick

    Thread Starter tristopolis

    (@tristopolis)

    yes! its on “convert πŸ™‚ to smilies”

    Thread Starter tristopolis

    (@tristopolis)

    it doesn’t work.. still… in case my previous reply led you to believe otherwise

    Tristopolis, wheres your blog. and what directory are your smilies in? If you dont want to share, check the source to see if the image calls are in the source. .. ya know <img src="http://...

    First make sure if its a wordpress error or a user issue. πŸ™‚

    and, since you pasted that bit of code up there. Have they always not worked, or did you recently change something and now they dont work?

    Thread Starter tristopolis

    (@tristopolis)

    Before they were the default .gif array. the pngs are in the smilie directory. /public_html/wp-includes/images/smilies/

    my blog is at http://magnusfx.com

    ok. http://magnusfx.com/wp-includes/images/smilies/

    now lets see a post with a smilie in it? and you do know that ie6 doesnt like .png files right? (i know you know that, but I had to ask)

    Thread Starter tristopolis

    (@tristopolis)

    well.. its for the comments. Emoticons used to work with comments before I changed the array. Why don’t they now? http://magnusfx.com/?p=7 <- has emoticons in the comments

    Thread Starter tristopolis

    (@tristopolis)

    πŸ™

    My guess is … the whitespace will cause you to type: ” :D” instead of “:D”..
    try getting rid of the whitespace in your array:
    ' :)' => 'icon_smile.png', >>>> should be ':)' => 'icon_smile.png',

    I hope that will solve your smiley problem.

    But it still does not address the issue whooami noted – that being that PNG files do not play nicely with IE. so if a visitor uses IE – it’s all for naught.

    That problem could be solved by uploading your own smileset, in gif

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Emoticons not working :(’ is closed to new replies.