امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I want to add a conditional to a template for userid = 1 (the owner of the site). But I cannot figure out how to do that.
Is the some way to specify a particular user in $xf.visitor... ? I am trying to show ad previews to only myself.
Code:
Read more
Is the some way to specify a particular user in $xf.visitor... ? I am trying to show ad previews to only myself.
Code:
کد:
<xf:if is="$xf.visitor.is_admin AND $xf.options.siropuAdsManagerPositionVisualization AND {$xf.samPositions.{$position}}">
<div class="samPositionPreview">{$xf.samPositions.{$position}|raw}</div>...
Read more
