Skip to:
Content
Pages
Categories
Search
Top
Bottom

Nested Comments are not indenting

  • Avatar of Tridian
    tridian
    Participant

    @tridian

    Has anyone run into a problem with nested comments not formatting at all? My nested comments are just lined up under each other like any other comment. I tried removing all of my plugins one by one and that did not do anything. I deactivated BuddyPress and then activated the Kubrick theme and the nested comments were formatted as they should be, indented under each other. I tried reactivating BuddyPress and trying a different child theme (I tried the “Unplugged” child theme as I’m using the default theme) and that didn’t change anything either. I’m running WP 2.9.2 with BuddyPress 1.2.2.1. Any thoughts? Thanks very much for your time.

Viewing 22 replies - 1 through 22 (of 22 total)
  • Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    This is a theme-related problem… as I’m sure you’ve noticed. Using my child theme – a slightly modified version of the default – nested comments work fine. With another theme – Fishbook – no nesting, no matter the settings in dashboard.

    Avatar of Tridian
    tridian
    Participant

    @tridian

    Agreed. I’m trying to hunt it down in the css so if anyone else has this solved already let me know and I’ll keep crunching away. As always, thanks to all for your help and to the BuddyPress team for such an awesome product.

    Avatar of shamus
    shamus
    Participant

    @shamus

    Still happens with the default theme. Any ideas?

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    yeah, nested comments don’t seem to indent in the default theme…

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    I went in and tried to find the style…maybe I could put a right border on the comment or something like that. this is as far as i got:

    http://screencast.com/t/YmVkYTBmM2Ut

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    I’m not quite to where I could make this change. I went into comments.php and added nonsense and didn’t see the change. For example, I changed the size of the avatar, but the change did not display…not sure where to make these changes. Can someone point me to the right file/style?

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @dainismichel

    In your WP Dashboard, go to “Settings” > “Discussion” and check “Enable threaded (nested) comments”

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Folks apropos of threaded comments/nesting there was an issue with nested comments and posts in the bp-default theme, nested/threaded comments can’t work correctly. This has been fixed and is included in 1.2.6 so hang on a short while for that release due any day now.

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    that’s awesome…looking forward to it.

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    Odd, in my install (WP3.0.1/BP1.2.5.2/child-theme of bp-default), nested comments work just fine…

    http://i37.tinypic.com/2ptaszm.png

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    huh…well 7 days ago, L8est WP and L8est BuddyPress…no go…

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @pcwriter I was referring to BP’s handling of WP post comments which is borked – perhaps this thread wasn’t really talking about WP comments/replies?.

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    @hnla ok, so we should just hang out right, cuz this issue will go away with an upgrade soon? otherwise, i bet there’s a pretty easy little CSS trick one could pull…like adding a rt border to a style so all the “nested” comments have a line to the right of them, and then that line stops upon the next “thread-starting” comment…i just can’t find the right style to change…

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    it’s not a CSS issue the markup is malformed, trying to correct malformed markup with a presentations language is not a good idea CSS is predicated on well formed DOM structure it’s a symbiotic relationship if one is broken so id the other.

    If you really need to fix quickly and are comfortable then access the comment function in the bp-default themes function.php file remove it to a functions file
    in a child theme and look for the last closing tag and delete it, then comments will correctly nest within parent li elements. naturally then you’ll need to add any specific styling you want via CSS.

    As the fix for this is in place and will filter through when versions are upgraded it would be pretty safe to edit the bp-default themes functions file to remove that one tag, but only this one time mind; as always though on ones own head be it! :)

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    funny, i just upgraded, and i don’t see nested comments working on pages…

    Avatar of robelings
    robelings
    Member

    @robelings

    any news on the nested comments? my nested comment work fine on my Canvas theme, but not in my forum (BP Child theme)…. mmmm ;)

    see it here: http://jaivadharma.com/groups/when-the-student-is-ready-the-teacher-will-appear/forum/topic/can-we-attain-enlightenment-by-reaading-a-book/

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    i was just wondering about this issue, because i have a community that i want to keep at “buddypress default.” in other words, it’s an “out the box community” however, i’d like it if the comments would nest. i’m at v. 1.2.6 and have not upgraded to 1.2.8, basically cuz it doesn’t say a new version is available under plugins.

    Avatar of Dainismichel
    dainismichel
    Participant

    @dainismichel

    does the theme update along with the plugin?

    Theme updates along with plugin. 1.3 theme has nested comment styles fixed.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    bp-default theme is updated along with the plugin. Nested comments will be available in BP 1.3

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    EDIT- took too long to answer, didn’t see you there DJPaul.

    Avatar of humble.techy
    humble.techy
    Member

    @humbletechy-1

    Can I get the fix to apply on top of 1.2.9?

Viewing 22 replies - 1 through 22 (of 22 total)

You must be logged in to reply to this topic.