28 thoughts on “Trackping Separator Plugin

  1. Thanks for the plugin. Looks like the only thing we’re missing is a replacement for the comments_number() function, which still counts all comments and trackbacks together.

    For instance, when you want to say “There have been 11 comments about this post”

  2. Hi… I’m getting the following error message on my index:

    Fatal error: Call to undefined function: trackback_popup_link() in /home/.jacquerie/alfiga/blog.agarzola.com/wp-content/themes/rin/index.php on line 28

  3. hey, thanks a lot this was what i was looking for for a while. just one question though, as elliott stated above i am not able to get my comment number on the single page to show just the number of comments. it is currently showing the number of tracbacks/pingbacks/comments total even though they are not displayed under the comments section. Everything else works fine so far though. thanks. please emailme or just reply here. thanks

  4. Seems I have miss that function in the document.
    There’s a function comments_only_number() which has the same effect as comments_number(), saves it only shows the number of comments.
    To show pure numbers, I suggest
    comments_only_number(‘0’, ‘1’, ‘%’);

    Hope that helps :)

  5. thanks for the help that was usefull, but one 2 more questions :)
    I am trying to format it so that it looks like the ping back at the bottom of http://getk2.com/2006/02/welcome-to-k2/ so that it shows the date and whether its a pingback or trackback, but it doesn’t work with the function calls i tried. can u write out how to do this? also when i placed the favatar function into your loop it just displayed the same favatar over and over.

    and finally how do i limit the length of a name of a commentor or pingback/trackback. because sometimes they are awfully long is there a code u can enter that automatically limits them to 30characters for example?

  6. Seems you are using the trackback/pingback loop right?

    Try to modify the loop variable for the track/pings you get from trackpings() to $comments, since favatars.php uses $comments as the reference to retrieve the icon from the database. The solution also applies on all other comment-loop based functions and plugins.

    To limit the length of those fields, I think either you have to use substr() (or mb_substr() for i18n support) function from PHP. You could read about it here .

  7. hey sorry to bug you again. the comment date thing didn’t work. it just continously loops the last comment post. so it keeps using the same date a the last comment. and it does the same thing for the permalink ID number. how can i fix this.

  8. I’m using TPS and I love it. But I’m having the same problem as “sahas” above. All of my trackbacks/pingbacks will display the same date/time as the last comment.

    I’ve tried $comment->comment_date, but it didn’t work for me. I can get the correct date using:

    echo $trackback->comment_date

    but I don’t particularly care for the output. How can I change the output format? I’d like it to display using m/d/Y h:i a, but I don’t know how.

  9. Hello Monika,

    Previously I’ve made a serious mistake that the plugin for download is broken and so the comments_only_number() doesn’t work. Please re-download the plugin again. Sorry for your inconvenience :(.

  10. Hi
    I’ve donwnloaded the plugin since ten minutes ago ….

    I ‘m too stupid 😉
    it doesn’t work,

    I activate the plugin
    opened comments.php

    ..
    and so on.....


    but it doesn’t show anything, neither an error nor the numbers :(

    is this the false place for this code?

    regards and thanks for your patient

    Monika

  11. Hey There,
    Just downloaded v2.0.1, and there is a bug where you forgot to put a break; in your case statement. Therefore if you want a comment count, it will always return 0.
    Change the lines:
    switch($type) {
    case ‘trackback’:
    $sql .= “= ‘trackback'”;
    break;
    case ‘pingback’:
    $sql .= “= ‘pingback'”;
    break;
    case ‘comment’:
    $sql .= “= ””;
    default:
    $sql .= “REGEXP ‘^(trackback|pingback)$'”;

    to:
     
    switch($type) {
    case ‘trackback’:
    $sql .= “= ‘trackback'”;
    break;
    case ‘pingback’:
    $sql .= “= ‘pingback'”;
    break;
    case ‘comment’:
    $sql .= “= ””;
    break;
    default:
    $sql .= “REGEXP ‘^(trackback|pingback)$'”;

Leave a Reply

Your email address will not be published. Required fields are marked *