طريقة التركيب ارفع الملفات لمجلد الأدمين و ابدأ بفتح الملف عبر المتصفح :
vb/admin/commbull.php
وتابع خطوات التركيب خطوة خطوة
=================================
ملاحظة : لمن لا يستطيع فهم طريقة التركيب في الملف اليه التوضيح
تعديل تمبليت
Modify User Option Templates -> modifyoptions
ابحث عن هذا الكود
[align=left]
كود PHP:
<tr>
<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label></td>
</tr>
</if>
[/align]
اضف بعده الكود التالي
[align=left]
كود PHP:
<tr>
<td><label for="commbull"><input type="checkbox" name="commbull" value="1" id="commbull" $checked[receivebulletin] />$vbphrase[receive_email_from_commbull]</label></td>
</tr>
<tr>
<td><br />$vbphrase[newsletterformat]<br /><label for="commbull"><input type="checkbox" name="commbull_type" value="1" id="commbull_type" $checked[receivebulletin_type] />$vbphrase[type_email_from_commbull]</label></td>
</tr>
[/align]
افتح ملف
profile.php
وابحث فيه عن
[align=left]
كود PHP:
globalize($_POST, array('newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'umaxposts' => INT, 'prunedays' => INT, 'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT, 'options', 'modifyavatar'));
[/align]
امسحه وضع بدلا منه الكود التالي
[align=left]
كود PHP:
globalize($_POST, array('commbull_type' => INT, 'commbull' => INT, 'newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'umaxposts' => INT, 'prunedays' => INT, 'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT, 'options', 'modifyavatar'));
[/align]
وابحث عن الكود التالي
[align=left]
كود PHP:
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user SET
" . $updatestyles . "
showvbcode = $showvbcode,
pmpopup = $pmpopup,
maxposts = $umaxposts,
daysprune = $prunedays,
timezoneoffset = '$timezoneoffset',
startofweek = $startofweek,
languageid = $languageid,
threadedmode = $threadedmode,
autosubscribe = $autosubscribe,
options = " . convert_array_to_bits($options, $_USEROPTIONS) . "
WHERE userid = $bbuserinfo[userid]
");
[/align]
اعلاه مباشره اضف الكود التالي
[align=left]
كود PHP:
$receivebulletin = ($commbull) ? 1 : 0;
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user SET
receivebulletin = $receivebulletin
WHERE userid = $bbuserinfo[userid]
");
$receivebulletin_type = ($commbull_type) ? 1 : 0;
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user SET
receivebulletin_type = $receivebulletin_type
WHERE userid = $bbuserinfo[userid]
");
[/align]
افتح الملف
admin/index.php
ابحث عن الكود التالي
[align=left]
كود PHP:
construct_nav_option($vbphrase['view_banned_users'], "../$modcpdir/banning.php?do=modify", '<br />');
[/align]
وضع الكود التالي اسفله
[align=left]
كود PHP:
construct_nav_option('نشرة المنتدى الدوريه', 'commbull.php?', '<br />');
[/align]
________ اضغط هنا للتحميل ____________
انتهى وبالتوفيق
وأشكر من قام على هذا الهاك الأخ العزيز
أستاذي أبو عمر
مع تحياتي لكم
نايس مان