• My daughter has wp_grins, and they display fine in the comments area.
    Can I find how to get them into the posting area ? I’m looking at core files and trying things there with zero results.
    Am I missing the painfully obvious, or is it really core hacking ? (And no, quicktags.php does not exist in 1.3) – I hope it’s not core hacking…..

Viewing 12 replies - 1 through 12 (of 12 total)
  • Beel

    (@beel)

    Yep…

    Beel

    (@beel)

    In admin-functions add this (there is some wrap-around so you can find where to place it):
    <script type=”text/javascript”>edToolbar();</script>
    ‘;
    if (function_exists(“wp_grins”)) { echo “
    “; wp_grins(); }
    echo ‘</div>’;
    endif;

    Thread Starter Mark (podz)

    (@podz)

    Many thanks Beel ??
    (I’ll FAQ this …. it’s not the most obvious place is it ?)

    Where in the file? I can’t figure out what you mean with wrap-around.
    I would appreciate your help.

    Thread Starter Mark (podz)

    (@podz)

    Do a search in the file for ‘edToolbar’ – it only happens once. It’s around line 550

    When I try to add it, I get a Parse error: parse error, unexpected '/' in /customers/deep-within.dk/deep-within.dk/httpd.www/wordpress/wp-admin/admin-functions.php on line 553

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

    Anything I should edit out? I probably am…

    Anyone who can tell me where I should put it?

    admin-functions.php if I remember correctly.

    Thank you. I finally got it put in. Now I can finally just click on them ??

    So when installing grins in the beta wordpress all I have to do is at the above code in the admin functions php file and no where else to have it to show it?

    Nice trick with the script. You can do either way chan. what he posted is the easiest way. I actually didn’t know about this trick until after I had core hacked wp-grins into wordpress. No problem though. The core hack is really very small.. you just add a function call to 3 files. Takes five seconds at most.

    awesome script. i have successfully added the quicktags for writing a post. but how do you add the quicktags for the comments? (wp 1.5b1)

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Grins and 1.3 ??’ is closed to new replies.