• cass

    (@cass)


    OK, first let me preface this with that fact that I am *not* a programmer, I know nothing about coding.
    Nevertheless I installed WP and customized the CSS and even upgraded from 1.2 to 1.5 (Yeah me!)

    I have been reading the posts here about a bug in the trackback thingey. I went into to make the change as discussed on the bug report about substituting line 635. Problem is, line 635 is not anything like what the bug report says it should be.

    I am using NoteTab Pro to get the line numbers in the file. I also searched for the error and it doesn’t find anything.

    What am I doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cass

    (@cass)

    It looks like it already is fixed…anyone who knows anything about this…..please chime in……..

    // Send a Trackback
    function trackback($trackback_url, $title, $excerpt, $ID) {
    global $wpdb;
    $title = urlencode($title);
    $excerpt = urlencode($excerpt);
    $blog_name = urlencode(get_settings(‘blogname’));
    $tb_url = $trackback_url;
    $url = urlencode(get_permalink($ID));
    $query_string = “title=$title&url=$url&blog_name=$blog_name&excerpt=$excerpt”;
    $trackback_url = parse_url($trackback_url);
    $http_request = ‘POST ‘ . $trackback_url[‘path’] . ($trackback_url[‘query’] ? ‘?’.$trackback_url[‘query’] : ”) . ” HTTP/1.0\r\n”;
    $http_request .= ‘Host: ‘.$trackback_url[‘host’].”\r\n”;
    $http_request .= ‘Content-Type: application/x-www-form-urlencoded; charset=’.get_settings(‘blog_charset’).”\r\n”;
    $http_request .= ‘Content-Length: ‘.strlen($query_string).”\r\n”;
    $http_request .= “User-Agent: WordPress/” . get_settings(‘version’);
    $http_request .= “\r\n\r\n”;
    $http_request .= $query_string;
    if ( ” == $trackback_url[‘port’] )
    $trackback_url[‘port’] = 80;
    $fs = @fsockopen($trackback_url[‘host’], $trackback_url[‘port’], $errno, $errstr, 4);

    lawtai

    (@lawtai)

    well, do trackbacks work for you? you can test them out here:

    https://www.tamba2.org.uk/wordpress/TestTrack/index.php

    Thread Starter cass

    (@cass)

    Sometimes they work for me.

    dozer

    (@dozer)

    I use notetab pro also. One thing you need to make sure to do is under ‘document’ menu item at the top of the screen pull down and turn ‘word wrap’ off. If word wrap is on the line numbers won’t match up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trackback issue’ is closed to new replies.