WordPress.org

Ready to get started?Download WordPress

Forums

Trackbacks and 2.0.1 (18 posts)

  1. Mark (podz)
    Support Maven
    Posted 8 years ago #

    If you ping a post on another blog AND you trackback that same post, the trackback will NOT go through.

    If you ping ONLY, the ping will get through.

    If you trackback ONLY, that too will get through.

    Doing both successfully cannot be done, and unless a plugin comes along, the ping goes first so it wins.

  2. groovenectar
    Member
    Posted 8 years ago #

    Hmmm, what about multiple trackbacks or pings. For example, if I am only using pings, but I have links to multiple URIs in my post (and my understanding is that URIs in the post are what get pinged), will they all work, or just the first one? Same with trackbacks... If I have more than one, will they all go through, or just the first (if I have no links in the post)?

    That's a shame about the issue as it is now. I commonly put links in my posts, but I never really do it with the intention of having the URIs pinged. I guess it gets pinged anyway, since it's a URI in the post. However, every once in a while I want to send a trackback. So, if there's at least one link in the post, the trackback won't go through because it will instead attempt to ping the URI(s), even if it's not a URI that even accepts pings. Do I have this right?

    I have tested these things from Tamba, but the results weren't conclusive. Especially with the odd configuration of my host, I can't really rely on experiments that I do myself. This whole thing really isn't a huge deal to me, I still really enjoy using and working with WordPress.

  3. makemead
    Member
    Posted 8 years ago #

    You can turn off pings in your options (Go to your admin panel, under Options -> Discussion, uncheck the box next to "Attempt to notify any Weblogs linked to from the article (slows down posting.)")

    Also, what I have tried to make Trackbacks go out before Pingbacks is change the order in which they are processed in execute-pings.php:

    <?php

    require_once('../wp-config.php');

    // Do Enclosures
    while ($enclosure = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_encloseme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$enclosure->ID} AND meta_key = '_encloseme';");
    do_enclose($enclosure->post_content, $enclosure->ID);
    }

    // Do Trackbacks
    $trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE CHAR_LENGTH(TRIM(to_ping)) > 7 AND post_status != 'draft'");
    if ( is_array($trackbacks) ) {
    foreach ( $trackbacks as $trackback ) {
    do_trackbacks($trackback->ID);
    }
    }

    // Do pingbacks
    while ($ping = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_pingme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$ping->ID} AND meta_key = '_pingme';");
    pingback($ping->post_content, $ping->ID);
    }

    ?>

  4. Chip Bennett
    Theme Review Admin
    Posted 8 years ago #

    I just upgraded from 2.0 to 2.0.2, and tested a multiple-trackback post (pingbacks are disabled, per options setting).

    The first trackback worked, but not the second or third.

    I don't think I've modified anything.

    Any suggestions?

  5. mlanger
    Member
    Posted 8 years ago #

    I am having a heck of a time getting either trackbacks or pingbacks FROM my blog to work. I apparently CAN receive them.

    I suspect this may have something to do with .htaccess or mod_rewrite, but I can't find a document that explains how these should be set for trackbacks/pingbacks with WordPress 2.0.x. (I have terrible luck with the Codex search feature).

    Can someone point me in the right direction? Thanks!

  6. groovenectar
    Member
    Posted 8 years ago #

    I think that's actually what was going in the thread... Sending pings/TBs from a blog... I could be wrong though, or maybe it's both ways... Try experimenting with only one ping or TB and see if it goes through... Try different combinations and see if anything works at all..

    Here's a site that will let you test it:
    http://www.tamba2.org.uk/wordpress/TestTrack/

  7. Autarkes
    Member
    Posted 8 years ago #

    I also am having trouble with 2.02 and trackbacks, I will turn off pings to see if that helps. Right now with pings on I get xml script and url missing when I use trackback permalinks.

  8. mlanger
    Member
    Posted 8 years ago #

    I've gone to Test Track and have successfully sent both a trackback and a pingback (separately) to my site. No problem. However I still cannot send a trackback or pingback to another site from by blog. And yes, I did check comment moderation on Test Track to make sure they weren't hung up there.

    Does anyone here have any additional information about these suspected causes of this problem?

    • PHP memory
    • pings "stuck" in the queue in the MySQL database
    • plugin conflicts
  9. groovenectar
    Member
    Posted 8 years ago #

    You might want to look into whether your PHP is installed as an Apache module or in CGI mode... I believe that could also cause discrepancies. Also, you might want to try looking into and running /wp-admin/execute-pings.php and see if that leads you in the right direction. I'm no expert on this stuff, but I ran into the same problem... Probably still have it, but I haven't messed with the TBs/pings in a while.

  10. mlanger
    Member
    Posted 8 years ago #

    And PHP should be installed as an Apache module, right? Not in CGI mode? Please clarify for my dense little head so I can check it out.

    And thanks for the tip.

  11. groovenectar
    Member
    Posted 8 years ago #

    Well, theoretically everything should work regardless of Module/CGI.... But I do believe there might be some quirks with WordPress and CGI.. Again, I could be wrong about that.... But it's a starting point.. I use CGI and I'm happy with it. There was the trackback issue, but I haven't messed with them in a while..

  12. mlanger
    Member
    Posted 8 years ago #

    Here's another dumb question. Is mod_rewrite REQUIRED for sending trackbacks and pingbacks?

    I am unable to get pretty permalinks to work right but am satisfied with the default URL format. I suspect my permalink problem is due to the weird install of mod_rewrite for the Apache software built into Mac OS X 10.4 server (which I run). I've seen articles around the Web about this, but never bothered to fix it since I don't care too much about what the URLs look like. But if it's causing my trackback/pingback problem, I'd revisit. I frequently link to blogs in my posts and would like the pingbacks to be sent and received.

    What do you think? Any ideas?

  13. groovenectar
    Member
    Posted 8 years ago #

    I can say with a lot of certainty that mod_rewrite is not required for trackbacks and pingbacks.. That should definitely not be the problem.

    I don't have any experience with Apache on OSX, but I would think that it would still work. Hehh, I wish an expert would join this thread :-) .... I feel bad that I don't have much concrete information for you.. It seems like since this issue has been around since 2.0 was launched, someone would know what the deal is by now..

  14. mlanger
    Member
    Posted 8 years ago #

    I also wish an expert would join in. The problem HAS been around for a while, but since not everyone is having the problem, it appears that the experts don't want to spend time working the problem out with the people who are having it. I can understand that, especially if there are other problems that are more universally felt.

    It is very frustrating to me, but I'll continue to work on it Hopefully, someone with some good information will speak up here and I can work with him/her to find the solution once and for all.

    I do appreciate your help so far. It's good to know that mod_rewrite is probably NOT the problem.

  15. aaron1728
    Member
    Posted 7 years ago #

    Add me to those clobbered by the inability to send trackbacks.

  16. spazure
    Member
    Posted 7 years ago #

    Ditto. WP 2.0.3. I can send and receive trackbacks to my own posts, but nothing seems to work to/from external sites, despite the fact that they're showing up as "Already pinged" on the post itself when I edit it. *sighs* I don't do trackbacks too often.. but it's still aggravating. I'll keep an eye on this thread and see if the issue ever gets resolved...

  17. Chip Bennett
    Theme Review Admin
    Posted 7 years ago #

    Strangely, now that I've updated 2.0.2 to 2.0.4, I tested another multiple-trackback post, and the *second* trackback pinged, but not the *first*.

    This issue is a major one for me; I OFTEN write posts that trackback to multiple sources. Constantly going over to Haloscan to trackback after the fact is a pain.

    And also, the notification pings aren't going, either. (Though it seems that several people are having problems pinging the Technorati RPC.)

    Are we ever going to get an up-front answer on this one?

  18. Khaliel
    Member
    Posted 7 years ago #

    I can receive trackbacks, but not send them (on 2.0.4). Any ideas ?

Topic Closed

This topic has been closed to new replies.

About this Topic