امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Checking for existence of a custom profile field, and that the field is not a certain value:
<xf:if is="$xf.visitor.Profile.custom_fields.afl_club" && !is="$xf.visitor.Profile.custom_fields.afl_club == 'tasmania'">
Saving the template I get a syntax error message but no detail on what the problem is.
Deleting all but this if /if gives the same error so it's not other code in the template.
Have used IF statements many times in the past, and this custom profile field is referenced in the...
Read more
<xf:if is="$xf.visitor.Profile.custom_fields.afl_club" && !is="$xf.visitor.Profile.custom_fields.afl_club == 'tasmania'">
Saving the template I get a syntax error message but no detail on what the problem is.
Deleting all but this if /if gives the same error so it's not other code in the template.
Have used IF statements many times in the past, and this custom profile field is referenced in the...
Read more
