• I used to have Alex King’s wp-grins on 1.2, but now on 1.5 I’m kind of lost since “wp-admin/quicktags.php” is now “wp-admin/quicktags.js”. Is there a way to use wp-grins on 1.5? or maybe some other way to have the smilies on the post and comments forms?

Viewing 15 replies - 1 through 15 (of 28 total)
  • WP-Grins works for me….
    For the post form, edit wp-admin/admin-functions.php, find “edToolbar” and add this code:

    if (function_exists("wp_grins")) { echo "
    "; wp_grins(); }

    just after it.

    And it’s just a matter of adding <?php wp_grins(); ?> to comments.php where you want the smilies to appear.

    Thread Starter jonny

    (@jonny)

    Thanks lbessant

    It works fine. Was tricky to figured out exactly where to write the code, so I add how it looks:

    On wp-admin/admin-functions.php, line 574:

    <script type=”text/javascript”>edToolbar();</script>
    ‘;
    if (function_exists(“wp_grins”)) { echo “
    “; wp_grins(); }
    echo ‘</div>’;
    endif;
    }

    Thanks for posting this. πŸ™‚ I was missing this plugin and am glad it’s back for 1.5. ^_^

    I got the smilies to show up when I write a post but how do I get them to show up when someone is writting a comment. So they can click on the smilie. I am using the 1.5 final.

    Thread Starter jonny

    (@jonny)

    Chan:

    Find the comments.php file in your Themes folder.
    You have to add the <?php wp_grins(); ?> between the author_URL and the comments textarea.

    Thanks It worked.

    Wow, this is really helpful. A question though, where are you supposed to put the wp-grins.php file? And does this mean still using my-hacks.php?

    put it in “\wp-content\plugins\”, log in admin center .. go to “Plugins” tab.. then activate it.

    Thank you so much noname! πŸ™‚

    i dont have quicktags, so i used the ‘harder’ way by putting the code before the <textarea> part in 3 files… =/
    i realise i shouldnt ask this question here.. but im hoping you guys are nice enough to give me some answers =) what does quicktags do? would it be better if i actually used it/put the code in for it?

    In my admin-functions.php I’ve commented out

    <script type="text/javascript">edToolbar();</script>
    ';
    echo '</div>';
    endif;
    }

    and inserted

    <script type="text/javascript">edToolbar();</script>
    ';
    if (function_exists("wp_grins")) { echo "
    "; wp_grins(); }
    echo '</div>';
    endif;
    }

    When I access my Post page, I get the following error:

    Parse error: parse error, unexpected ‘>’, expecting T_VARIABLE or ‘$’ in /hsphere/local/home/galen5/familywebwatch.com/blog_test/wp-admin/admin-functions.php on line 578

    Line 578 is } -->

    I’m lost. Can anyone help?

    Chinkone

    (@chinkone)

    This moderation works very well, but my smily graphics don’t show up. Does the grins hack use default smilies of WP? Or where do I have to put the smilies dir with the smily graphics?

    Chinkone

    (@chinkone)

    Okay, nevermind people.
    The following steps are:
    upload wp-grins.php > modify admin-functions.php > modify comment.php > AND AT LEAST activate the whole thing in the Admin. =)

    It works perfectly!

    mulligan

    (@mulligan)

    I made the adjustment like lbessant and jonny recommended and the plugin is now working. However, I’m getting this message in the admin area now

    Warning: Cannot modify header information – headers already sent by (output started at /home/mulligan/public_html/wp-admin/admin-functions.php:1044) in /home/mulligan/public_html/wp-admin/admin.php on line 6

    Warning: Cannot modify header information – headers already sent by (output started at /home/mulligan/public_html/wp-admin/admin-functions.php:1044) in /home/mulligan/public_html/wp-admin/admin.php on line 7

    Warning: Cannot modify header information – headers already sent by (output started at /home/mulligan/public_html/wp-admin/admin-functions.php:1044) in /home/mulligan/public_html/wp-admin/admin.php on line 8

    Warning: Cannot modify header information – headers already sent by (output started at /home/mulligan/public_html/wp-admin/admin-functions.php:1044) in /home/mulligan/public_html/wp-admin/admin.php on line 9

    I don’t know enough about php to figure out what is wrong. Can anyone help me?

    thanks that worked for me…
    mulligan are you shure you activated the plugin?

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘wp-grins for 1.5 ?’ is closed to new replies.