Skip to:
Content
Pages
Categories
Search
Top
Bottom

Has anyone used the bbpress ajax replies plugin??

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robkk

    Moderator

    i see this plugin will work when enable threaded replies is activated.

    plugin developer should have put that on the read me text file

    @nancie

    Participant

    Yes you are right..did the same. Thanks

    @pinkishhue

    Participant

    This plugin is great (from what I’ve seen so far while testing)

    Thanks for posting the link.

    I hope this sort of feature can become part of the core bbpress plugin in future.

    @jyotixxx

    Participant

    Dear Robkk, is there any way to contact you personally?

    @casiepa

    Moderator

    Hi JP,
    I would propose to open a new thread and explain the issue you are having. Multiple volunteers are around to help.
    Pascal.

    @ricoto

    Participant

    Hi,

    does it work with the new version of wordpress?

    @issobruno

    Participant

    after hours I get this code that works so fine!!

    function bbpress_comentarios_ajax() {
        ?>
        <script type="text/javascript">
            jQuery(document).ready(function($) {
                $('#bbp_reply_submit').click(function(e) {
                    e.preventDefault(); // Impede o recarregamento normal
    
                    var form = $(this).closest('form');
                    var formData = form.serialize();
    
                    $.post(form.attr('action'), formData, function(response) {
                        // Recarrega só a área dos comentários
                        $('.bbp-replies').load(window.location.href + ' .bbp-replies > *');
                        form[0].reset(); // Limpa o campo de resposta
                    });
    
                });
            });
        </script>
        <?php
    }
    add_action('wp_footer', 'bbpress_comentarios_ajax');

    enjoy 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar