Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey anointed,
    I had the same problem,
    I rooted around in bbPress-Quotes and found the offending code and changed it to make it work. If I can contact the author I can show him the fix:

    To Fix you need to:
    In bbpress-quotes.php:
    on Line 86 : Change wp_register_script('bbpress_quotes_js', ($plugin_url . '/bbpress-quotes.js'), false, '1.0');
    TO
    wp_register_script('bbpress_quotes_js', ($plugin_url . '/bbpress-quotes.js'), 'jquery', '1.0');
    In bbpress-quotes.js
    change the where the variable theQuote is initialised to this : var theQuote = "div#post-"+commentID + " .bbp-reply-content";

    Then change this line : var posttext = document.getElementById(theQuote).innerHTML;
    To be this :
    var posttext = $(theQuote).html();

    Then also add these lines:

    // remove reply revision info
    var posttext = posttext.replace(/<ul id="bbp-reply-revision-log(.*?)>((.|\n)*?)(<\/ul>)/igm, "");

    Below :
    //var posttext = posttext.replace(/<a class="comment_reply_link"(.*?)>((.|\n)*?)(<\/a>)/ig, "");

    Those are the changes I made and it’s now working again.
    Sorry I cannot be more precise with line numbers in the js file, I’ve moved lines around a bit working this out.

    Also keep in mind if the author releases a new version it will overwrite these changes!

    I’m having the same issue but seem unable to sort it using the method you suggested :/

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