MyBB Community Forums

Full Version: did not show the default avatar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

the default avatar did not shown in my forum's postpid
[Image: 1475337234.jpg]
Check if default avatar is present in your images area, also check if you have given correct path in Admin CP > General Settings.
default avatar shown in member profile or control panel but it did not shown in postpid.
(10-01-2016, 06:10 AM)WallBB Wrote: [ -> ]Check if default avatar is present in your images area, also check if you have given correct path in Admin CP > General Settings.

anyone can help me?
Post your URL so that people can see the problem. Try posting also the contents of postbit_classic template.
the URL :

postbit classic :
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
-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 */
    border-color:#DDDDDD #DDDDDD #C4C4C4 #C4C4C4;
    -moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.3);
    margin:4px 7px;

    <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">{$post['groupimage']}<br></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>
    <div class="omidkarimzadeh"><font color="#000000">آنلاین{$post['onlinestatus']}</font></div>
       <br />
    <td class="{$altbg}" valign="top">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
            <br />
  <div id="pid_{$post['pid']}">
        <div id="1" style="float:left; z-index: 1; position: Absolute;">
        <br><img src="">
        <div id="2" style="z-index: 1; padding: 5px;">
        <fieldset style="background: #ffffff;
            border:2px solid #e7e7e7;
            box-shadow: 0 0 1em #e7e7e7;
            position: Relative;">


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

          <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"/>
anyone can help me?
anyone can help me?
<a href="member.php?action=profile&amp;uid=13"><img src="" width="170" /></a>

That area between " symbols shouldn't be empty, there should be url of default avatar. 

1. Check postbit_avatar, do you see {$useravatar['image']} code there? 
2. Check Board Settings » Profile Options is "Default User Avatar" has a proper link?