إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 07-23-2010, 10:10 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

I was surprised that after I upgraded to 4.0.5 two of my ads positions are gone from my board.

Code:
ad_footer_end
ad_showthread_firstpost
I checked my templates: SHOWTHREAD, header, headinclude, footer, and other customized templates. Everything is intact. So I went and skimmed through the vb 4.0.5 code, and found the following:

The code below was in vb 4.0.3 PL 1 and missing in 4.0.5
PHP Code:
File: showthread.php, Line 1048
// Only show after the first post, counter isn't incremented for deleted/moderated posts
if ($post['isfirstshown'])
{
$postbits .= vB_Template::create('ad_showthread_firstpost')->render();
}

Similarly the code below was in vb 4.0.3 PL 1 and missing in 4.0.5

PHP Code:
File: includes/class_bootstrap.php, Line 416
$ad_location
['ad_footer_end'] = vB_Template::create('ad_footer_end')->render();


Although I acknowledge that I should not change the original vb code, just for testing, I placed the code I mentioned above to 4.0.5 code and my ads are displaying correctly on my board again. Could anyone explain me why these code are removed in vb 4.0.5 and what is the alternative feature I could use in this new version to show my ads?

-Nay
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

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


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

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 03:26 PM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML