WordPress.org

Ready to get started?Download WordPress

Forums

Blogger Importer
Map Comment Authors? (2 posts)

  1. Dustin Lammiman
    Member
    Posted 1 year ago #

    Post authors are mapped from Blogger to WordPress when using this plugin. Is it possible to do the same for comment authors? The user_id for all comments in the wp_comments table just seems to get set to 0, so the comments don't get associated with WordPress users.

    http://wordpress.org/extend/plugins/blogger-importer/

  2. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Blogger does not supply the email addresses when you port the users across, they are all "noreply@blogger.com", so it is a bit difficult to identify all the comments linked to a specific commenter.

    It might be able to match the users on the username and/or website but I'm thinking that for large sites the numbers could be excessively large.

    If you just want to fix the gravatars it's possible to do that with a series of update queries, I use something like the following to fix up the missing emails on the comments I've made myself.

    update wp_comments set comment_author_email = 'myemail@server.com'
    where comment_author = 'Andy from Workshopshed'

    You could do something similar to set the user_ids.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic