กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see


Conditional Statements for XenForo 2.x

ไม่มีอับเดท Conditional Statements for XenForo 2.x

  • เริ่มกระทู้โดย เริ่มกระทู้โดย thxf.org
  • วันที่เริ่มกระทู้ วันที่เริ่มกระทู้

thxf.org

Staff Member
Adminstrator
Moderater
VIP Member
Registered
thxf.org เพิ่มไฟล์ใหม่:

Conditional Statements for XenForo 2.x - Conditional Statements for XenForo 2.x

Conditional Statements for XenForo 2

The conditional statements can be expanded by using AND, OR conditional statements operators and using xf:if, xf:else, xf:elseif.

If there are any conditional statements that you want to add, please add it as a message and the article will be updated.

1. How can I show content to Administrators?

Code:
<xf:if is="$xf.visitor.is_admin">
    Show content...
</xf:if>

2. How can I show content to Moderators?...

อ่านเพิ่มเติมเกี่ยวกับไฟล์นี้...
 

Similar threads

    • Like
  • บทความ บทความ
ตอบ
0
อ่าน
181
  • บทความ บทความ
ตอบ
2
อ่าน
157



กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see
ด้านบน ด้านล่าง