ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Avatar_url broken in exp:comment:entries?

August 16, 2012 7:44pm

Subscribe [2]
  • #1 / Aug 16, 2012 7:44pm

    leeaston

    634 posts

    Using latest EE.

    avatar_url in exp:comment:entries returns nothing, but avatar_url in exp:channel:entries returns a url. I’ve tried this with a user who has an avatar uploaded and it shows OK in exp:channel:entries, but not in exp:comment:entries.

    Wondered if you guy’s could confirm this is a bug or me doing something silly?

    Best wishes
    Lee

  • #2 / Aug 17, 2012 3:54pm

    Kevin Smith

    4784 posts

    Hi Lee,

    Could you share the code you’re using for the whole Comment Entries tag? Here’s what I’m using within the tag, and it’s displaying the avatar just fine:

    {if avatar}
         {avatar_url}
    {/if}
  • #3 / Aug 18, 2012 10:38am

    leeaston

    634 posts

    Hi Kevin, turned out the error is with me. I’ve exported forum topics and posts and re imported them as channel entries and comments, but put the member_id in the wrong column in exp_comments.

  • #4 / Aug 20, 2012 4:54pm

    Shane Eckert

    7174 posts

    Hey leeaston,

    Glad to hear you were able to work through the issue.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases