النتائج 1 إلى 3 من 3

الموضوع: خطوات ترقيع النسخة 4.0.2

  1. #1
    عضو جديد الصورة الرمزية xMr.EMADx
    تاريخ التسجيل
    Mar 2010
    الدولة
    مصـر ام الدنيا
    المشاركات
    10
    معدل تقييم المستوى
    32

    افتراضي خطوات ترقيع النسخة 4.0.2

    السلام عليكم ورحمة الله وبركاته

    خطوات الترقيع للنسخه : 4.0.2 PL1

    الترقيع فقط بأربع ملفات ,,

    ##################################################

    نبدأ بسم الله :

    الملف vb/thread.php

    ابحث داخله عن :

    كود PHP:
     $select[] = "post.pagetext AS preview";
             
    $joins['threadpreview'] = "LEFT JOIN " TABLE_PREFIX "post AS post ON(post.postid = thread.firstpostid)"
    استبدله بـ :


    كود PHP:
    if($vbulletin->options['threadpreview'] > 0)
             {
                 
    $select[] = "post.pagetext AS preview";
                 
    $joins['threadpreview'] = "LEFT JOIN " TABLE_PREFIX "post AS post ON(post.postid = thread.firstpostid)";
             }
             else 
             {
                 
    //being a chicken here and making sure we don't remove the preview item 
                 //from the array in case it matters
                 
    $select[] = "'' as preview";
             } 

    ##################################################

    الملف includes/class_core.php

    ابحث داخله عن :

    كود PHP:
    $relpath $vbulletin->input->fetch_relpath(); 
    استبدله بـ :


    كود PHP:
    $relpath htmlspecialchars($vbulletin->input->fetch_relpath()); 

    ##################################################

    الملف includes/functions_forumdisplay.php

    ابحث داخله عن :

    كود PHP:
    if ($ignore["$thread[postuserid]"])
         {
             
    $thread['preview'] = '';
         }
         else if (isset(
    $thread['preview']) AND $vbulletin->options['threadpreview'] > 0)
         {
             
    $thread['preview'] = strip_quotes($thread['preview']);
             
    $thread['preview'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title(
                 
    strip_bbcode($thread['preview'], falsetrue),
                 
    $vbulletin->options['threadpreview']
             )));
         } 

    استبدله بـ :

    كود PHP:
    if ($ignore["$thread[postuserid]"])
         {
             
    $thread['preview'] = '';
         }
         else if (isset(
    $thread['preview']))
         {
             if(
    $vbulletin->options['threadpreview'] > 0)
             {
                 
    $thread['preview'] = strip_quotes($thread['preview']);
                 
    $thread['preview'] = htmlspecialchars_uni(fetch_censored_text(
                     
    fetch_trimmed_title(strip_bbcode($thread['preview'], falsetrue),
                         
    $vbulletin->options['threadpreview'])
                 ));
             }
             
    //if the preview text is disabled, then make sure that we don't leave this function
             //with it set.
             
    else
             {
                 unset(
    $thread['preview']);
             }
         } 
    ##################################################


    الملف includes/functions.php

    ابحث داخله عن :

    كود PHP:
    <a href=\"" . ($vbulletin->scriptpath) . (strpos($vbulletin->scriptpath'?') === false '?' '&amp;') . "explain=1\" target=\"_blank\" title=\"Explain Queries\">(?)</a> 
    استبدله بـ :


    كود PHP:
    <a href=\"" . (htmlspecialchars($vbulletin->scriptpath)) . (strpos($vbulletin->scriptpath'?') === false '?' '&amp;') . "explain=1\" target=\"_blank\" title=\"Explain Queries\">(?)</a> 

    ##################################################

    الملف includes/version_vbulletin.php

    لغير المرخصين يبقى كما هو
    اما المرخصين يحذف كل مابداخله ويضع
    كود PHP:
     <?php
     
     define
    ('FILE_VERSION_VBULLETIN''4.0.2 Patch Level 1');
     
     
    ?>
    ##################################################


    هذا والله اعلم.

    تحياتي ..

    خطوات ترقيع النسخة 4.0.2 pl1

  2. #2
    عـضـو
    تاريخ التسجيل
    Mar 2009
    الدولة
    Your Heart
    المشاركات
    32
    معدل تقييم المستوى
    34

    افتراضي

    اخي عفوا، أنا مركب النسخة 4.0.2
    يعني هل من الضروري اتخاذ هذه الخطوات.

  3. #3
    عـضـو الصورة الرمزية iBinnish
    تاريخ التسجيل
    Feb 2010
    المشاركات
    40
    معدل تقييم المستوى
    32

    افتراضي

    أخي الكريم أول ملف مو موجود ؟؟؟؟؟ بحثت عليه كتير مالقيتو ؟؟؟؟

معلومات الموضوع

الأعضاء الذين يشاهدون هذا الموضوع

الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)

المواضيع المتشابهه

  1. برنامج جديد لتحويل الفيديو لصورة متحركة بثلاث خطوات Video-Userpic
    بواسطة سمارت مان في المنتدى منتدى البرامج
    مشاركات: 0
    آخر مشاركة: 02-14-2011, 10:36 PM
  2. عمل استايل لمنتداك في عشر خطوات vb 4.0.0
    بواسطة web net في المنتدى تطوير النـسخة vBulletin 4.x
    مشاركات: 3
    آخر مشاركة: 01-03-2010, 02:53 AM
  3. خطوات تضمن صداقة موقعك لمحركات البحث
    بواسطة خالد القحطاني في المنتدى دوره دروس الارشفه والـ Seo
    مشاركات: 2
    آخر مشاركة: 01-23-2009, 09:01 PM

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

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

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •