Skip to:
Content
Pages
Categories
Search
Top
Bottom

Make Comment Form QuickTags work with BuddyPress

  • @ipstenu

    Participant

    The best thing is that I didn’t have to change the plugin at all!

    Install this as a Sitewide/Network plugin: http://wordpress.org/extend/plugins/comment-form-quicktags/

    Edit activity/post-form.php

    Look for

    <div id="whats-new-content">
    <div id="whats-new-textarea">

    Replace with

    <div id="quicktags"><script type="text/javascript">edToolbar();</script></div>
    <div id="whats-new-content">
    <div id="whats-new-textarea">

    Then add this to the bottom (below </form><!-- #whats-new-form -->):

    script type="text/javascript">var edCanvas = document.getElementById('whats-new');</script>

    That’s it. It works.

    Running: BuddyPress 1.2.3, WordPress 3.0, My theme plus the BuddyPress Template Pack.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @stwc

    Participant

    Heh. That’s exactly what I did here, except by I did it by hand. Wish I’d known the plugin existed!

    I used it for forums, of course, and you can too, if you do similar edits to:

    forums/index.php

    groups/single/forum.php

    groups/single/forum/edit.php

    groups/single/forum/topic.php

    in your child theme, so it survives future upgrades.

    @ajayver

    Member

    Thanks for this information! I was looking for such manual!
    As I understand it is not possible to show quicktags in activity comment form since it doesn’t have an exact ‘id’. Am I right? Or maybe there is some way to make quicktags appear everywhere?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make Comment Form QuickTags work with BuddyPress’ is closed to new replies.
Skip to toolbar