امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I created a custom user field, and now I'm trying to use that text value, for a template. How can I get that text value?
In my template I did this so I could use the custom user banner css without copying it to multiple places:
PHP:
But this is only...
Read more
In my template I did this so I could use the custom user banner css without copying it to multiple places:
PHP:
کد:
<xf:if is="$user.Profile.custom_fields.pronouns">
<div class="staff-pronouns">
<span class="userBanner userBanner--syl_pro_{$user.Profile.custom_fields.pronouns}">{$user.Profile.custom_fields.pronouns}</span>
</div>
</xf:if>
But this is only...
Read more
