Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter litaloo

    (@litaloo)

    I would think all you’d have to do is remove a call that shows the post, I would try to do it myself.. but I’m far from experienced enough to go delving into something like that.

    Forum: Plugins
    In reply to: comment plugger tweak?

    Actually.. I could’ve sworn that I had a tweak for the hack. Because I used to have it set up so that it would do that: plug the commentors from the previous post. Or something. Okay, I found what I used to use (and now that I found it, I’m using it again) in my old my-hacks file. I found this tweak somewhere on these boards. Hope this is what you’re looking for. This is what I use:

    <?php
    function comment_plugger($show = 1, $limit = 0, $sep = ' - ', $none = ' none') {
    global $wpdb, $tablecomments, $id;
    $cid = ($show) ? ($id - 1) : $id;
    $request = "SELECT DISTINCT comment_author_url, comment_author FROM $tablecomments";
    $request .= " WHERE comment_post_ID='$cid' AND comment_author <> '' AND comment_author_url <> ''";
    $request .= ' ORDER BY comment_author ASC';
    $request .= ($limit > 0) ? "LIMIT $limit" : '';
    $commenters = $wpdb->get_results($request);
    if ($commenters) {
    $output = '';
    foreach ($commenters as $commenter) {
    if (!empty($commenter->comment_author_url)) {
    $output[] = '<a>comment_author_url.'" title="'.$commenter->comment_author.'">'.$commenter->comment_author.'</a>';
    }
    }
    }
    if (is_array($output)) {
    echo implode($sep, $output);
    } else {
    echo $none;
    }
    }
    ?>

    After putting the files and in their correct directories, clicing Activate and whatnot, I went to click on “install the table” link, and got a 404. But as I saw on a comment on your site, I changed the URL in the titlebar to the correct path, and I got this instead:

    Database error: [Table ‘litaloo_wordpress.wp_mystuff’ doesn’t exist]
    SHOW COLUMNS FROM wp_mystuff LIKE ‘stuff_url’;

    Warning: Cannot modify header information – headers already sent by (output started at /home/litaloo/public_html/wordpress/wp-includes/wp-db.php:80) in /home/litaloo/public_html/wordpress/wp-admin/mystuff.php on line 137

    A little help please? TIA

    Forum: Fixing WordPress
    In reply to: Login
    Thread Starter litaloo

    (@litaloo)

    Thank you. Its fixed now, I think.

    Thread Starter litaloo

    (@litaloo)

    *sniffle* You mean there’s no one who can help me with this? There’s got to be Somebody!

    Have you looked at the wp-layout.php?

Viewing 6 replies - 1 through 6 (of 6 total)