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

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

Hide specific threads contents from Unregistered/Guest?

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

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
I have a couple of threads I want to hide their contents form guests. Upon clicking on titles of those threads, guests will get this "you have to login or register to view this thread content..."

HTML:

کد:
<xf:if is="{$thread.thread_id} == x">

</xf:if>

<xf:if is="$post.position % $xf.options.messagesPerPage == 0">
    ...
</xf:if>
Are these the right conditional statements? How can I compile those to achieve what I want? If not what would be the right approach to do this...

Hide specific threads contents from Unregistered/Guest?
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

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

عقب
بالا