WordPress.org

Ready to get started?Download WordPress

Forums

Clickable smilies (17 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Okay, I'm trying to get WP Grins to work. I did everything the README told me to but I always get this error. Easy way (through quicktags) and the hard way too.
    Fatal error: Call to undefined function: wp_grins() in /home/imysteri/public_html/wp/wp-admin/edit-form-advanced.php on line 121
    Why's it doing that?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    The plugin is not activated if that's the error.
    Using a plugin, or the hack ?
    Oh.......what's the error doing there ? The calls to that function go in quicktags.php and / or wp-comments.php

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    It's the plugin and it is activated. And the error shows up in both. When I go and make a post and in the comments. I put the <?php wp_grins(); ?> in quicktags.php and in wp-comments like it told me to.

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What version of wp are you using ?

  5. adb
    Member
    Posted 9 years ago #

    Podz, I use that plugin too. It works fine for me except for one thing. What would cause one of the smilies not to display? It's this one :???:
    Just curious.

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    I upgraded wp to the latest version.

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    @adb - check the image actually uploaded okay ?
    @anon - how did you get the plugin ? Did you type anything into it ? All I can think is that somehow the fucntion name has been changed in the plugin itself.. otherwise I'm mystified.

  8. adb
    Member
    Posted 9 years ago #

    Yep, the image is there. Maybe I should reinstall?

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I just checked mine ... I have the same problem :)
    I can see the clickable image (face with a squiggly smile) but I just get :???: in the comment.
    How odd .

  10. adb
    Member
    Posted 9 years ago #

    strange, indeed.

  11. willneea
    Member
    Posted 9 years ago #

    There's a reason why you'll not find them on sites such as the the Zen Garden, CSS Vault, The Web Standards Awards, Zeldman.com, Meyerweb.com, May !st Reboot, and more...
    And it isn't because they can't get them working, in case your wondering.

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yea, I know ........ but still, the odd smilie doesn't hurt.
    I mean, I have a pixel perfect CSS template on my site, and I have styled it ala 'Johnny Cash' - you won't see that on Zen Garden either :)

  13. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Sorted it.
    In 'vars.php' line 127 has this:
    ' :???:' => 'icon_confused.gif',
    There is a space between the ' and the : at the beginning. I went to my test entry, added a space before the code, and it works.
    I suppose editing vars.php and removing spaces would work too.

  14. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Whitespace.
    Check the file. There must be absolutely totally definitely nothing either before the very first <?php or after the last ?>
    It's easily sortable :)

  15. adb
    Member
    Posted 9 years ago #

    That didn't work. Can I just delete it? Right now I'm thinking I don't need the smilies. :-/

  16. Mark (podz)
    Support Maven
    Posted 9 years ago #

    If necessary, download a new wp, and use the vars.php from that ?

  17. adb
    Member
    Posted 9 years ago #

    That's what I did. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.