هاك أظهار عدد المواضيع وعدد الردود
افتح ملف /includes/functions_showthread
ابحث عن/
كود PHP:
function construct_postbit($post, $maintemplatename = 'postbit', $alternate = '')
{
أضف فوقه /
كود PHP:
global $DB_site;
ابحث عن/
كود PHP:
$show['buddy'] = false;
}
أضف فوقه /
كود PHP:
$usertherd = $DB_site->query_first("SELECT COUNT(threadid) AS total FROM thread WHERE postuserid=$post[userid] ");
$usertherdcoun = $usertherd[total];
$userpostdcoun = $post[posts] - $usertherdcoun ;
افتح تمبلت/postbit
ابحث عن/
كود PHP:
<tr>
<td align="right"><span class="smallfont">$vbphrase[posts] :</span></td>
<td align="right"><span class="smallfont">$post[posts]</span></td>
</tr>
أضف فوقه /
كود PHP:
<tr>
<td align="right"><span class="smallfont">$vbphrase[threads] :</span></td>
<td align="right">$usertherdcoun</td>
</tr>
<tr>
<td align="right"><span class="smallfont">$vbphrase[replies] :</span></td>
<td align="right"><span class="smallfont">$userpostdcoun</span></td>
</tr>