senoranderpants
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 2.0 Import from MT problemsLisa’s solution should have worked. If you’re showing 0 comments, but you can still see them when you click that zero, then they’re still in approval limbo. Check your database to see what the approval status is. 0 is unapproved, 1 is approved, and nothing means that the query didn’t work properly.
Forum: Fixing WordPress
In reply to: 2.0 Import from MT problemsAlright. Here’s a fix, but it will be messy as hell, because I know NOTHING about PHP.
In wp-admin/import/mp.php, go down to the part under “//Now for comments” where it says “//Check if it’s already there”
Replace what’s there with:
// Check if it’s already there
$comment_approved = “1”;
if (!comment_exists($comment_author, $comment_date)) {
$commentdata = compact(‘comment_post_ID’, ‘comment_author’, ‘comment_author_url’, ‘comment_author_email’, ‘comment_author_IP’, ‘comment_date’, ‘comment_content’, ‘comment_approved’);This basically sets “comment_approved” to “true” and then imports it into the database with that value, where it was blank before.
Try it, but don’t blame me if it makes things blow up.
Forum: Fixing WordPress
In reply to: 2.0 Import from MT problemsOkay… I’ve spent an hour or two looking at this, and the problem is not that it doesn’t import the comments – it does. The problem is that it imports them unapproved, and the only way to approve them is to manage posts -> click on the “0” comments and you can see them there.
I can’t find a way to mass approve the comments, since they don’t show up in the “Moderate” section.
Forum: Fixing WordPress
In reply to: 2.0 Import from MT problemsI’m having the exact problem as you, Christoper. Has anyone found a solution or workaround?