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

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


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

I want to use conditional on forum block.

I've tried this PHP code on the forum block and it works
PHP Code:
$s .= '
Hello World...'
;
if (
is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 8, 13)) {
$s .= '
You are a special member'
;
}
$s .= '
'
;

return
$s;

But the result is getting cached, altough i have set cache life to "0".
I don't know maybe template editing (with normal conditional tag) is a solution here instead of PHP code on forum block?

I have looked on "block_html" template but i am not sure if i should modify there, because i thought if i modify there, all forum blocks will be affected, not on specific forum block.</div>
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

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


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

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



الساعة الآن 02:50 AM


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