• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Ways to mark a thread as special

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
I can add a field to xf_thread and set it to default 0.
For some less threads I set it to 1. Now, these threads are special.

I can add an option to an add-on; there I add some thread_ids;
now I need to get/set the information that a thread is special, when the thread_id is in my options list.

I can do
foreach options.array_of_thread_ids as id
if thread_id == id, do


But can I do in a template:
$array = options.array_of_thread_ids
is thread_id in array?
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

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

عقب
بالا