Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable the ‘REPLY’ function to already existing post reply

  • Hi,
    I have a very strange problem. When on my site I post comment, then somebody wants to reply to it…it’s ok. But is it there any possibility of removing reply function to that reply. ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of Virtuali
    Virtuali
    Participant

    @gunju2221

    Any Reason you don’t want subsequent replies? If you don’t want the nesting, it’s a simple CSS solution you can change:

    `div.activity-comments ul li
    margin-left: 0px;`

    Is that what you mean?

    No, what I want is this :

    http://img822.imageshack.us/img822/7476/replyg.jpg

    And answering Your question: “Any Reason you don’t want subsequent replies?”
    It get pretty messy when there is a post, and a reply to it, and then another one to that reply , and then reply to reply to reply of comment….You know where I’m heading to…. I want to keep it simple as for example facebook does.

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    If you use BP 1.2.8, go to bp-activity/bp-activity-templatetags.php
    at line 647 is function bp_activity_recurse_comments
    with a if statement if ( is_user_logged_in() )
    in which is the word “reply”

    rewrite this function to retrieve the word and put it in the functions.php file of your theme

    This is a solution, but probably they are others ;-)

    Avatar of Fanoop
    Keith Kelly
    Participant

    @fanoop

    I was able to remove the “reply to reply” link with some CSS.

    #buddypress-page .acomment-replylink {
    display: none;
    }

    This seems to work perfectly for me.

    Avatar of justbishop
    justbishop
    Member

    @justbishop

    Any other CSS tricks to get rid of the “reply” link on activity replies? I tried the above, as well as the following, and the little bugger just won’t go away!

    `.acomment-reply .bp-primary-action {
    display:none; !important
    }`

    Avatar of candy2012
    candy2012
    Member

    @candy2012

    .acomment-meta a.acomment-reply {display:none;}

    this would hide “reply” to “reply” link …

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

You must be logged in to reply to this topic.