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

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

Trying to show a message to the thread starter...

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

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Hi. I'm trying to display a message for the thread starter, prompting them to share the post to facebook.

I've tried posting it as a Notice, that doesn't work.
I've created a template for the text "Share_to_FB_for_OP"

So I tried inserting the following code directly into the thread_view template...

Code:

کد:
 <xf:if is="{$visitor.user_id} == {$thread.user_id}" && "{$post.position} == 0" && "in_array({$forum.node_id}, [1, 3, 5])" &&  "$xf.visitor.is_admin">
           <xf:message...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

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

عقب
بالا