Support » Requests and Feedback » [Plugin: Tweetbacks] get_avatar function and comment_type

  • Could be a good idea to have on the settings to add a list of comment_types to get the avatar, i’m using tweetback and using the comment_type to css the tweets coming from Twitter and I’m using a new Facebook connect plugin and using the comment_type as ‘facebook’ to css the comments from there.

    I changed the line where u check if the comment_type is ‘tweetback’ to this, but i think you can add a list

    if ( isset($id_or_email->comment_type) && '' != $id_or_email->comment_type && 'comment' != $id_or_email->comment_type && 'tweetback' != $id_or_email->comment_type && 'facebook' != $id_or_email->comment_type )

    Yo can see and example of this on

Viewing 3 replies - 1 through 3 (of 3 total)
  • My tweetbacks plugin actually rewrites the get_avatar function to do just that, though it doesn’t include facebook, of course.

    But i think it could be good to add a field on the settings page to let the user add as many types as they want, i’m sure some other plugins can use this kind of “pingbacks” from other apps.


    Could be, but that’s not the goal of my plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Tweetbacks] get_avatar function and comment_type’ is closed to new replies.