Forum Replies Created

Viewing 6 replies - 31 through 36 (of 36 total)
  • Thread Starter Stefano Garuti

    (@garubi)

    @_mf__: yes 🙂
    Now I solved the problem:
    As far as I understood the problem was that all the WP function dealing with trackback are written as we can use the mod_rewrite.
    So the post_id wasn’t passed to the wp_trackback.php file…
    Now I changed the trackback() function in function.php file and some lines in wp_trackback.php…
    At this time the trackback are working…
    I’ll tweak some things then I’ll post here my changes…
    ciao
    Stefano

    Thread Starter Stefano Garuti

    (@garubi)

    So the problems seems to be in wp-trackback.php:
    the post_ID is taken from $tb_id as in the following lines:

    $tb_id = explode('/', $HTTP_SERVER_VARS['REQUEST_URI']);
    $tb_id = intval($tb_id[count($tb_id)-1]);
    ....
    ....
    ....
    $comment_post_ID = $tb_id;

    Now, is obvious that if we have the trackback url formatted as:
    http://localhost/digitaldivide/wp-trackback.php?p=21
    nothing meaningful can be ‘exploded’
    I tried changing the explode(‘/’ with explode(‘p=’ but without any result…

    Thread Starter Stefano Garuti

    (@garubi)

    An other update:
    In the db, table wp_comments, when the comment is a trackback (I believe they are marked with <trackback />) the column comment_post_ID contains 0 instead of the real post_ID.
    Then, when wp shows the comments related to this post that trackback comments aren’t picked up…
    Now I’ll try to investigate why the post_ID isn’t inserted in the table..
    ciao

    Thread Starter Stefano Garuti

    (@garubi)

    Just an update:
    In the db, table wp_comments, column comment_content, the trackback I received are inserted.
    So it looks like is a “display” problem: when I read the comments WP shows ‘regular’ comments, pingback but not trackback…
    could it be?

    Thread Starter Stefano Garuti

    (@garubi)

    Thanks, I changed the function but it doesnt seem to solve the problem:
    (running WP version 1.0.1)
    I tried with a friendof my: my WP correctly sends the trackback to a post on his site.
    The problem is I can’t “receive” (or at least I can’t see) trackback from another post…
    Any hint?

    Thread Starter Stefano Garuti

    (@garubi)

    @podz:
    Unfortunately I’m running it on a local lan, I’ll see if I can get this baby out to the internet…
    @laughinglizard:
    Thanks, I’lltry it an let you know what happened 😉
    just to check if I understood:
    Without that changes WP can’t have trackback running without mod_rewrite enabled, right?

Viewing 6 replies - 31 through 36 (of 36 total)