امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I would like to show an ad on position Thread view: Above message list - but only in specific nodes (10, 20, 50) including their children.
I could do this with
Code:
But this feels really awkward & kinda inefficient.
Does anybody...
Read more
I could do this with
Code:
کد:
<xf:set var="$nodeIds" value="{{ array_keys($thread.Forum.Node.breadcrumb_data) + [$thread.node_id] }}" />
<xf:if is="in_array(10, $nodeIds) || in_array(20, $nodeIds) || in_array(50, $nodeIds)">Advert in Node IDs 10, 20 and 50 and their children</xf:if>
But this feels really awkward & kinda inefficient.
Does anybody...
Read more
