MyBB Community Forums

Full Version: avatars did not show in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
avatars did not show in postbit but they are shown in profile

postbit classic :
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <style>
    <!--
.omidkarimzadeh{
    border-style:solid;
    border-width:1px;
    -moz-border-radius-bottomright:6px;
    -moz-border-radius-topleft:6px;
    -moz-border-radius-bottomleft:6px;
    -moz-border-radius-topright:6px;
    
-webkit-border-radius: 6px 06px 0;
border-radius: 6px 0 6px 0;
-webkit-border-top-left-radius: 6px; /* pour Chrome */
-webkit-border-bottom-right-radius: 6px; /* pour Chrome */
    
    background-color:#EFEFEF;
    border-color:#DDDDDD #DDDDDD #C4C4C4 #C4C4C4;
    -moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.3);
    direction:rtl;
    font-family:Tahoma;
    font-size:11px;
    margin:4px 7px;
    padding:3px;
    text-align:center;
    }
    -->
</style>

    <div class="omidkarimzadeh"> <strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profilelink_{$post['pid']}">{$post['username_formatted']}</span></strong></a>

  
    
    <div class="omidkarimzadeh">{$post['useravatar']}</div>

    <div class="omidkarimzadeh"><font color="#C71585"><a href="search.php?action=finduser&amp;uid={$post['uid']}">يافتن همه ی فرستاده ها</a>
	</font>	</div>
    <div class="omidkarimzadeh"><font color="#C71585"><a href="search.php?action=finduserthreads&amp;uid={$post['uid']}"> يافتن همه ی تاپیک ها </a>
		</font></div>
		
    <div class="omidkarimzadeh"><font color="#000000">{$post['onlinestatus']}</font></div>
   
       </strong>
       <br />
          
       </span>
    </td>

    <td class="{$altbg}" valign="top">
        <table width="100%">
			{$post['posturl']}
				<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}        (  {$post['postdate']} {$post['posttime']} )</strong></span>
			
            <br />
			
  <div id="pid_{$post['pid']}">
        <div>
        <div id="1" style="float:left; z-index: 1; position: Absolute;">
        <br><img src="https://lh6.googleusercontent.com/-4Kgooy5A-N0/T4PmnBiKSeI/AAAAAAAAAe0/jk4qbgj4dFM/MyBB.vn-globito02.png">
        </div>
        <div id="2" style="z-index: 1; padding: 5px;">
        <fieldset style="background: #ffffff;
            border:2px solid #e7e7e7;
            -moz-border-radius:8px;
            box-shadow: 0 0 1em #e7e7e7;
            -webkit-border-radius:8px;
            position: Relative;">
                {$post['message']}
        </fieldset>
        </div>
        </div>
        </div>

            {$post['attachments']}
            {$post['signature']}

            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {$post['iplogged']}
            </div>
        </td></tr>
    </table>
</td>
</tr>
<tr>

          <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
          <td class="{$altbg}" style="vertical-align: middle;">

              <table width="100%" border="0" cellpadding="0" cellspacing="0">
               <tr valign="bottom">
                
				   <td align="left">
                 
					  {$post['button_edit']}         {$post['button_quickdelete']}         {$post['button_quote']}           {$post['button_report']}
					
				 
					
				<div style='float:right'>
           <g:plusone size="standard" expr:href="data:post.url"/>
            </div></td>
                   </tr>
            </table>
        </td>
 
</tr>{$post['thxdsp_inline']}
  
</table>{$post['thxdsp_outline']}


postbit_avatar :

<a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" width="150" /></a>
Is it just you or all your members. ?

Check you haven't turned them off in your user cp if it's only you.

User CP > Edit Options > Display users' avatars in their posts.
for all members
and it didnt turn off in user cp
(2016-11-11, 06:23 AM)jabi Wrote: [ -> ]for all members
and it didnt turn off in user cp

Sorry I don't know then, but your postbit_avatar isn't the same as the one on my test forum.

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></a></div>
please help me
Looks to me like your Postbit_avatar has been edited incorrectly.
Change the contents of postbit_avatar to:
<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></a></div>
it didnt work
Can you provide your forum URL please, along with your theme used?
www.golestoon.com

the theme is https://community.mybb.com/mods.php?action=view&pid=283
but i chenged it very much
and also, avatars show a week ago but now they didnt show
Avatars show for me in the postbit just fine
Pages: 1 2