WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxed Comments
Comment submit not work, buddy conflict?! (1 post)

  1. yukiko-kawa
    Member
    Posted 4 months ago #

    with my theme (my creation) ajax submission of comments is not working properly.
    the problem is the issue, because with the standard theme wp there are no problems.
    the problem is only in the submit button and the buttons do not change within the individual comments.
    Using an advanced topic with several jquery.
    Ajax is used in the login process (via graphical theme) and in the management process BuddyPress.
    ajax BuddyPress is taken directly from the standard theme BuddyPress and has very few additional changes.

    I hypothesize that there is a conflict.

    this is the code I use for the submit button:

    <div class="comment-imput">
                        <input name="submit" type="submit" id="submit" tabindex="5" value="Invia" />
                        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
                        </div>
                        <?php comment_id_fields(); ?>

    this is what the console releases as I do in the browser:

    Cache-Control	no-cache, must-revalidate, max-age=0
    Connection	Keep-Alive
    Content-Length	0
    Content-Type	text/html; charset=UTF-8
    Date	Sun, 18 May 2014 00:59:43 GMT
    Expires	Wed, 11 Jan 1984 05:00:00 GMT
    Keep-Alive	timeout=5, max=100
    Pragma	no-cache
    Server	Apache
    X-Content-Type-Options	nosniff
    X-Frame-Options	SAMEORIGIN
    x-robots-tag	noindex
    Intestazioni di richiesta
    Accept	text/html, */*; q=0.01
    Accept-Encoding	gzip, deflate
    Accept-Language	it,en;q=0.7,ja;q=0.3
    Content-Length	162
    Content-Type	application/x-www-form-urlencoded; charset=UTF-8
    Cookie	wordpress_1a8a597348365ba8719962e0dd164d64=Barbara%7C1400543636%7C07c2223d6ccb3626cc6a106921f78ea0; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_1a8a597348365ba8719962e0dd164d64=Barbara%7C1400543636%7C7e9d5e746b7b04363a5431f7b16375a3; wp-settings-1=libraryContent%3Dbrowse%26hidetb%3D1%26editor%3Dtinymce%26ed_size%3D535%26imgsize%3Dfull%26_bp_checkins_user_settings%3D1%26wplink%3D1%26unfold%3D1; wp-settings-time-1=1400370840; PHPSESSID=c46aeb8264b86c68dd88b4c7dcbc48d1; bp-activity-oldestpage=1
    DNT	1
    Host	bibyportal.tk
    Referer	http://bibyportal.tk/copia-luccafan/articolo-di-prova/
    User-Agent	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
    X-Requested-With	XMLHttpRequest
    
    application/x-www-form-urlencoded
    action	ac-add-new-comment
    form	comment=ewerwer&comment_post_ID=1457&comment_post_ID=1457&comment_parent=0&_wp_unfiltered_html_comment=26dd0f4f75
    Sorgente
    action=ac-add-new-comment&form=comment%3Dewerwer%26comment_post_ID%3D1457%26comment_post_ID%3D1457%26comment_parent%3D0%26_wp_unfiltered_html_comment%3D26dd0f4f75

    non sono abbastanza competente in ajax per dirti di piĆ¹. Credo vivamente che il problema sia nel ajax buddypress. Attualmente non esistono molti temi buddypress. ma puoi copiare il tema di default dentro al plugin buddypress e renderlo tema genitore e non figlio.

    bye

    https://wordpress.org/plugins/ajaxed-comments/

Reply

You must log in to post.

About this Plugin

About this Topic