No announcement yet.

HDI: Remove the avatar from peoples comments

  • Filter
  • Time
  • Show
Clear All
new posts

  • HDI: Remove the avatar from peoples comments

    Some of the avatars are bigger than the comments being made. How do I remove them pelase?

  • #2
    Do you want to remove all avatars from all comments? IE, do you want to remove the avatars from appearing by removing them from the templates?

    If you wanted to remove the avatars from the template then just edit the appropriate templte to remove the avatars. Goto the "blog_comment" template and remove the following code.

    <if condition="$show['avatar']">
       <div class="tborder" style="border-style:dotted; float:$stylevar[right]; margin-$stylevar[left]:$stylevar[cellpadding]px">
        <div class="alt2" style="padding:$stylevar[cellpadding]px">
         <a href="blog.php?$session[sessionurl]u=$response[userid]"><img src="$response[avatarurl]" $response[avwidth] $response[avheight] alt="<phrase 1="$response[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>


    • #3
      many thanks, that makes things much tidier.


      • #4
        I used this, too- much thanks. What code would be used to also remove the avatars from the summary page that shows a listing of various blogs and comments?

        I have a board that is private and some would like to make comments on blogs but since the blog section is open to everyone, they don't want their avatars displayed (some use their pictures for avatars).


        • #5
          Yes, you can remove the blogs from the summary page as well. It's just a template edit. I did it but it took me a while to figure out which template. Here's a link to an example.


          • #6
            So what code (or is it the same as the other) do I look for to remove the comment avatars from the blog summary page? Where in the blog would I go to do this?

            Thanks in advance!


            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.