التعديلات كلها رسميه ونحن نقوم بمتابعة قسم Bug الخاص بالشركة بشكل يومي
ونزودكم بحلول وترقيع مشاكل الاصدار 3.6.8
هذا لا يعني بأنك تعتمد اعتمادآ كليآ على هذا الموضوع فقط ، بل ننصحك وبشده ترقية منتداك الى الاصدار الأخير ...
بعد صدور الاصداره 3.6.8 تجد هنالك بعض المتابعين يقومون بابلاغ الشركه بالمشاكل المتعلقة بهذه الاصداره وبعض الداعمين الرسميين يضيفون تعديلات وترقيعات لحل هذه المشاكل ..
بعد ترقيتك للاصدارة 3.6.8 وواجهتك مشاكل تجد هنا الحلول بإذن الله تعالى ان وجدت وعولجت
لمستخدمين الاصدارة 3.6.8 فقط
افتح ملف : admincp/modlog.php
ابحث عن
استبدلها بالتاليكود:$sqlconds[] = "AND moderatorlog.userid = " . $vbulletin->GPC['userid'] . " ";
ابحث ايضآ عنكود:$sqlconds[] = "moderatorlog.userid = " . $vbulletin->GPC['userid'] . " ";
استبدلها بالتاليكود:$sqlconds[] = 'AND moderatorlog.action LIKE "%' . $db->escape_string_like($vbulletin->GPC['modaction']) . '%" ';
احفظ الملف ..كود:$sqlconds[] = 'moderatorlog.action LIKE "%' . $db->escape_string_like($vbulletin->GPC['modaction']) . '%" ';
========================= ======================
افتح ملف : includes/functions.php
ابحث عن
استبدلها بالتاليكود:#((?>[^\s&<>"\\-\[\]]|&[\#a-z0-9]{1,7};){' . $limit . '})(?=[^\s&/<>"\\-\[\]]|&[\#a-z0-9]{1,7};)#i',
احفظ الملف ..كود:#((?>[^\s&/<>"\\-\[\]]|&[\#a-z0-9]{1,7};){' . $limit . '})(?=[^\s&/<>"\\-\[\]]|&[\#a-z0-9]{1,7};)#i',
========================= ======================
افتح تمبلت : editor_toolbar_on
ابحث عن
استبدلها بالتاليكود:<div id="$editorid" class="vBulletin_editor">
ابحث عنكود:<table cellpadding="0" cellspacing="0" border="0"> <tr> <td id="$editorid" class="vBulletin_editor" width="100%">
استبدلها بالتاليكود:<td class="controlbar" width="100%" style="padding-right:8px"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
ابحث عنكود:<td class="controlbar"> <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea> </td>
استبدلها بالتاليكود:<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if> </tr> </table> </div>
احفظ القالبكود:<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if> </tr> </table> </td> </tr> </table>
========================= ======================
افتح قالب : showthread_quickreply
ابحث عن الكود الملون باللون الافتراضي واضف عليه فقط الكود الملون باللون الأحمر
========================= ======================كود:<fieldset style="border:0px; padding:0px; margin:0px"> <if condition="$show['qr_require_click']"> <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea> <else /> <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea> </if> </fieldset>
افتح ملف : includes/class_bbcode.php
ابحث عن
استبدله بالتاليكود:$bbcode = preg_replace('#\[img\]\s*(https?://([^*' . iif(!$this->registry->options['allowdynimg'], '?') . ']+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "\$this->handle_bbcode_img_match('\\1')", $bbcode);
ابحث عنكود:$bbcode = preg_replace('#\[img\]\s*(https?://([^*<\r\n' . iif(!$this->registry->options['allowdynimg'], '?') . ']+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "\$this->handle_bbcode_img_match('\\1')", $bbcode);
استبدله بالتاليكود:$bbcode = preg_replace('#\[img\]\s*(https?://([^*]+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "\$this->handle_bbcode_url(str_replace('\\\"', '\"', '\\1'), '')", $bbcode);
========================= ======================كود:$bbcode = preg_replace('#\[img\]\s*(https?://([^*<\r\n]+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "\$this->handle_bbcode_url(str_replace('\\\"', '\"', '\\1'), '')", $bbcode);
PM tcat problem in RTL versions
مشكلة خلية الجدول في الرسائل الخاصة لمستخدمين الاتجاه اليمين الى اليسار
المصدر : http://www.vbulletin.com/forum/proje...?issueid=22869
افتح قالب : pm_messagelist
ابحث عن
استبدلها بالتاليكود:padding: $stylevar[cellpadding]px 0 $stylevar[cellpadding]px $stylevar[cellpadding]px
========================= ======================كود:padding:$stylevar[cellpadding]px; padding-$stylevar[right]:0px
Postid is not saved to table moderatorlog on post edit
عدم حفظ رقم المشاركة الى جدول سجل المشرف عند تعديل المشاركة
المصدر : http://www.vbulletin.com/forum/proje...?issueid=22902
افتح ملف : editpost.php
ابحث عن
احذفها واستبدلها بالتاليكود PHP:log_moderator_action($threadinfo, 'post_x_edited', $postinfo['title']);
احفظ الملف .كود PHP:$modlog = array(
'threadid' => $threadinfo['threadid'],
'forumid' => $threadinfo['forumid'],
'postid' => $postinfo['postid']
);
log_moderator_action($modlog, 'post_x_edited', $postinfo['title']);
========================= ======================
Phrase not editable if empty in master
العبارة غير قابله للتعديل اذا كانت فارغة في اللغة الاساسية
المصدر : http://www.vbulletin.com/forum/proje...?issueid=22887
ابحث عن
استبدلها بالتالي :كود PHP:if ((empty($vbulletin->GPC['text'][0]) AND $vbulletin->GPC['text'][0] != '0' AND !$vbulletin->GPC['t']) OR empty($vbulletin->GPC['varname']))
ابحث عنكود PHP:if (empty($vbulletin->GPC['varname']))
واستبدلها بالتاليكود PHP:if ((empty($vbulletin->GPC['text'][0]) AND $vbulletin->GPC['text'][0] != '0' AND !$vbulletin->GPC['t']) OR empty($vbulletin->GPC['varname']))
ابحث عنكود PHP:if (empty($update))
استبدلها بالتاليكود PHP:print_stop_message('please_complete_required_fields');
ابحث عنكود PHP:if ((empty($vbulletin->GPC['text'][0]) AND $vbulletin->GPC['text'][0] != '0' AND !$vbulletin->GPC['t']) OR empty($vbulletin->GPC['varname']))
{
print_stop_message('please_complete_required_fields');
}
if (!preg_match('#^[a-z0-9_\[\]]+$#i', $vbulletin->GPC['varname'])) // match a-z, A-Z, 0-9, ',', _ only .. allow [] for help items
{
print_stop_message('invalid_phrase_varname');
}
if ($db->query_first("SELECT phraseid FROM " . TABLE_PREFIX . "phrase WHERE varname = '" . $db->escape_string($vbulletin->GPC['varname']) . "' AND languageid IN(0,-1) AND fieldname = '" . $db->escape_string($vbulletin->GPC['fieldname']) . "'"))
{
print_stop_message('there_is_already_phrase_named_x', $vbulletin->GPC['varname']);
}
احذفهكود PHP:if (!preg_match('#^[a-z0-9_\[\]]+$#i', $vbulletin->GPC['varname'])) // match a-z, A-Z, 0-9, ',', _ only .. allow [] for help items
{
print_stop_message('invalid_phrase_varname');
}
if (empty($update) AND $test = $db->query_first("SELECT phraseid FROM " . TABLE_PREFIX . "phrase WHERE varname = '" . $db->escape_string($vbulletin->GPC['varname']) . "' AND languageid IN(0,-1) AND fieldname = '" . $db->escape_string($vbulletin->GPC['fieldname']) . "'"))
{
print_stop_message('there_is_already_phrase_named_x', $vbulletin->GPC['varname']);
}
احفظ العمل ..
========================= ======================
Forum Status Icon Activated if New Posts in Invisible Subforum
صورة حالة القسم نشطة اذا كانت مشاركات المنتدى الفرعية مخفية
المصدر : http://www.vbulletin.com/forum/proje...?issueid=22829
افتح ملف : includes/functions_forumlist.php
ابحث عن
اسفله اضفكود PHP:$forum = $vbulletin->forumcache["$forumid"];
احفظ العمل ..كود PHP:if (!$forum['displayorder'] OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['active']))
{
$cannotView["$forumid"] = 1;
continue;
}
========================= ======================
external.php does not use style overrides in podcast forums
ملف external.php لا يستخدم تجاوز التصميم في المنتدى المحددة على البث الاذاعي
المصدر : http://www.vbulletin.com/forum/proje...?issueid=22743
افتح ملف :
ابحث عن
اعلاه مباشرة اضف التالي :كود PHP:// ######################### REQUIRE BACK-END ############################
احفظ العمل .كود PHP:// take the first of "forumids" and make it "forumid" for style stuff
if ($_REQUEST['forumids'])
{
// quick way of getting the first value
$_REQUEST['forumid'] = intval($_REQUEST['forumids']);
}
منقول للفائدة فلا تنسوني من دعائكم



رد مع اقتباس


مواقع النشر (المفضلة)