Blog avatars overrunning the comment box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eternal_
    Senior Member
    • Mar 2007
    • 398
    • 3.6.x

    [Blog] Blog avatars overrunning the comment box

    The Avatars comment box to reply to a blog post is being over-run by the avatar of the last persons comment.

    For some reason, I think the avatars are a lot bigger this time than they were in 4.0.0 for blog comments if my memory serves me correctly and could be the problem why it's overrunning on the comment box in shorter responses.
  • Eternal_
    Senior Member
    • Mar 2007
    • 398
    • 3.6.x

    #2
    The last person's post right above the comment box is the problem. If the message is short (a couple lines or so) then the avatar will over run the comment box. Of course, if the message is longer with many lines of text, that's not a problem because the avatar then fits properly with all the added space between the post and the comment box.

    Comment

    • oddmud
      Senior Member
      • Oct 2009
      • 982

      #3
      Click image for larger version

Name:	commentavatar.jpg
Views:	1
Size:	53.5 KB
ID:	3677778

      like this!
      Jason Craig – Partner
      Wet Coast Sports LTD
      Fishing Reviews TVBC Fishing ReportsFly Fish BCFly Tying Bug

      Comment

      • NUTNDUN
        Senior Member
        • Sep 2001
        • 142

        #4
        I am having the same problem, it can be seen on this page: http://www.gttalk.com/entries/4-My-Monday

        Anyone have a fix for this? I think if anything it isn't reducing the size of the avatars shown.
        GTtalk

        Comment

        • NUTNDUN
          Senior Member
          • Sep 2001
          • 142

          #5
          For those that are having the same problem you can fix it temporarily till it is actually resolved by editing the blog_comment template and find

          PHP Code:
              <vb:if condition="$show['avatar']">
                  <
          a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:raw response.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}"<vb:if condition="$response[avwidth'] > 60"style="max-width:60px; height:auto; width:auto !important; width:60px"</vb:if>/></a>
              <
          vb:else />
                  <
          a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}" /></a>
              </
          vb:if> 

          and basically remove the if condition because i highly doubt you have avatars set less then 60px anyway. but change it to

          PHP Code:
              <vb:if condition="$show['avatar']">
                  <
          a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:raw response.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}" style="max-width:60px; height:auto; width:auto !important; width:60px" /></a>
              <
          vb:else />
                  <
          a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}" /></a>
              </
          vb:if> 


          For some reason this variable isn't passing?
          PHP Code:
          <vb:if condition="$response[avwidth'] > 60"
          GTtalk

          Comment

          • Regs
            Senior Member
            • May 2001
            • 499
            • 4.2.X

            #6
            Good catch, I have the same issue.

            It rears it's ugly head in visitor messages as well - huge avatars for some reason...

            Comment

            Related Topics

            Collapse

            Working...