Clickable Smilies in Admin Panel (4 posts)

  1. Robin
    Posted 10 years ago #

    For a while now I've been having trouble getting a clickable icon in my admin panel for my smilies. Whenever I try to follow the directions offered in the tutorial here I screw something up on my site.

    I was just wondering if anyone had any suggestions, this is what it looks like right now:


  2. Les Bessant
    keeper of the Tiggers
    Posted 10 years ago #

    I assume you mean this tutorial?

    From the picture, it looks like your icons are not where the plugin is looking for them. You need to (1) make the edit to the plugin as described and (2) make sure the icons really are where they should be.

    And you will have to turn off the rich-text editor to actually use the smilies.

  3. Robin
    Posted 10 years ago #

    Ok, I followed the directions and now when I click open my cpanel I get this:

    Parse error: syntax error, unexpected T_STRING in /home/roadless/public_html/blog/wp-content/plugins/wp-grins.php on line 37

  4. Les Bessant
    keeper of the Tiggers
    Posted 10 years ago #

    Your edit of wp-grins.php has an error on, or possibly just before line 37. It's probably one of the quote marks in line 34, the whole of which looks like this in my copy:

    $grins .= '<img src="'.get_settings('siteurl').'/wp-includes/images/smilies/'.$grin.'" alt="'.$tag.'" onclick="grin(''.$tag.'');"/> ';

Topic Closed

This topic has been closed to new replies.

About this Topic