Forum Discussion
xorrkaz
13 years agoGenius
Not sure where you'd want to apply this, but this Freemarker code should give you what you want:
<#assign bio = restadmin("/users/id/${user.id?c}/settings/name/profile.bio").value!"" /> <#assign avatar = restadmin("/users/id/${user.id?c}/profiles/avatar/url").value!"" /> <#if bio == "" || avatar == "" || avatar?matches(".*serverpage/avatar-name/.*")> <div class="custom-profile-status"><font color="#FF0000">Your profile is 75% complete.</font></div> </#if>
Related Content
- 5 years ago
- 11 months ago