Announcement

Collapse
No announcement yet.

Question regarding avatar in entries

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chimpie
    replied
    I did something similar to blog_entry and it looks like it removed them just fine.

    Thanks!

    Leave a comment:


  • Chimpie
    replied
    Thanks for the suggestion, but it's not the sidebar user that needs changing. It's the individual entries where the avatar needs to be removed from.

    Leave a comment:


  • Ryan Ashbrook
    replied
    Avatar is displayed when the user doesn't have a Profile Picture.

    If you'd like to remove -just- the Avatar, then find this code in blog_sidebar_user:

    HTML Code:
    			<if condition="$show['profilepic']">
    				<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    					<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[profilepicurl]" $userinfo[ppwidth] $userinfo[ppheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_profilepic]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['ppwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    				</div>
    			<else />
    				<if condition="$show['avatar']">
    					<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    						<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['avwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    					</div>
    				</if>
    			</if>
    And replace it with this:

    HTML Code:
    			<if condition="$show['profilepic']">
    				<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    					<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[profilepicurl]" $userinfo[ppwidth] $userinfo[ppheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_profilepic]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['ppwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    				</div>
    			<else />
    			<!--	<if condition="$show['avatar']">
    					<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    						<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['avwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    					</div>
    				</if> -->
    			</if>
    If you want to remove both the Avatar and the Profile Picture, replace the first block of code with this one:

    HTML Code:
    			<!-- <if condition="$show['profilepic']">
    				<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    					<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[profilepicurl]" $userinfo[ppwidth] $userinfo[ppheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_profilepic]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['ppwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    				</div>
    			<else />
    				<if condition="$show['avatar']">
    					<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
    						<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['avwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
    					</div>
    				</if>
    			</if> -->
    Just tested it myself on my forums, and both methods work.

    Leave a comment:


  • Chimpie
    replied
    Thanks for the replies.

    Do you know what template needs changing and have the code on what it needs to be changed to? Cause to the best of my knowledge nothing has changed except the colors of the style.

    Also, I just went into my style manager and under Blog Templates, all are default.
    Last edited by Chimpie; Thu 9 Jul '09, 12:48pm.

    Leave a comment:


  • Zachery
    replied
    Your templates are not default, as the blog should not show avatars like yours does: http://www.vbulletin.com/forum/blog.php?b=2364

    Leave a comment:


  • Chimpie
    replied
    Originally posted by Zachery View Post
    Hm, you I don't see an avatar in blog entries. Do you mean the User Picture? Or do you mean replies to blog entries?
    Nope, I mean avatars.

    http://www.chimpie.com/blog.php?u=1

    That picture is my avatar. I do not have a profile picture.

    Leave a comment:


  • Zachery
    replied
    Hm, you I don't see an avatar in blog entries. Do you mean the User Picture? Or do you mean replies to blog entries?

    Leave a comment:


  • Chimpie
    started a topic Question regarding avatar in entries

    Question regarding avatar in entries

    Is there a way to remove the avatar from blog entries?

Related Topics

Collapse

Working...
X