XF 2.2 Member profile condition

topkurs2

Active member
Hi
Can you advice condition to detect member profile? All profiles, like http://forum/members/1/
If member profile, than. And else (f not member profile), than...

I have tried:
<xf:if is="$template == 'member_view'">Short<xf:else />Full</xf:if>
But it doesn't work.
Where is mistake?

I want to add this condition into Custom User Fields

Thanks!
 
Top Bottom