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)

  • 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.


    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 ;-)

    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.

    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
    }`

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

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable the ‘REPLY’ function to already existing post reply’ is closed to new replies.
Skip to toolbar