السلام عليكم ,,
هذا الهاك يقوم بحساب عدد المواضيع الرئيسية (وليس الردود) للعضو ووضعها في الملف الشخصي له ..
في ملف member.php ابحث عن السطر التالي تقريبا في السطر رقم 1193 ...
كود:
eval("\$birthday = \"".gettemplate("getinfo_birthday")."\";");
}
وضع اسفله ما يلي :
كود:
// Find out how many threads this user has started
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postusername='$userinfo[username]' AND open!='10'");
$starts = $startcount[starts];
// end Find threads
افتح تمبلت getinfo وابحث عن :
كود:
<tr><td>
<normalfont><B>مجموع المشاركات:</B></normalfont></td>
<td><normalfont>$userinfo[posts] ($postsperday مشاركة لكل يوم)</normalfont>
</td></tr>
اضف تحت السابق ما يلي :
كود:
<!-- User has started X threads -->
<tr>
<td bgcolor="{secondaltcolor}"><normalfont>عددالمواضيع:</normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont>$starts</normalfont></td>
</tr>
<!-- End User has started X threads -->
( يجب مراعاة النسخة المعربة ) تختلف العبارات من نسخة لاخرى .
لمشاهدة مثال .. شاهد عدد مواضيعي الرئيسية في ملفي الشخصي ..
http://www.manar.f2s.com/vb/member.p...tinfo&userid=1
تقبلوا تحياااتي ..
ابومنار