WordPress.org

Ready to get started?Download WordPress

Forums

Buddypress Sitewide activity Widget
Reply button does not work for threaded comments (3 posts)

  1. tomdxw
    Member
    Posted 2 years ago #

    It seems that the comments on activities can have threaded comments. I don't know if it's a bug, or this plugin just wasn't made with threaded comments in mind, but it seems that in this widget the "reply" button on the activity itself works but clicking "reply" on any comments on the activity (or comments on comments on the activity) has no effect.

    Thanks,
    Tom

    http://wordpress.org/extend/plugins/buddypress-sitewide-activity-widget/

  2. Danny
    Member
    Posted 1 year ago #

    I know this is 8 months old but I had the same issue with a WordPress site that I took over. If you go into swa.js, line 157, change the code from:

    /* Comment / comment reply links */
    		if ( target.attr('class') == 'acomment-reply' || target.parent().attr('class') == 'acomment-reply' ) {
    			if ( target.parent().attr('class') == 'acomment-reply' )

    to:

    /* Comment / comment reply links */
    		if ( target.hasClass('acomment-reply') || target.parent().hasClass('acomment-reply') ) {
    			if ( target.parent().hasClass('acomment-reply') )

    Thanks,
    Dan

  3. Estopero
    Member
    Posted 1 year ago #

    Thanks for the code dmurton!

    I will try it :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags