Re: Search Users feature
Posted by Coleen_Astalos on Dec 07, 2013; 5:49pm
URL: https://support.nabble.com/Search-Users-feature-tp7588560p7588567.html
Could you add an IF check around this new filter to see if the iser is not an admin, then do the filter?
So something like:
IF user is not an admin
<n.filter_by.current_user.is_in_group group="Members" />
END IF
I don't know the proper syntax (user identifier) to check to see if the user requesting the serach is not an admin. I tried this, but it didn't work (error: can't get visitor on cached page):
<n.if.visitor.not.is_site_admin>
<then>
<n.filter_by.current_user.is_in_group group="Members" />
</then>
</n.if.visitor.not.is_site_admin>
Coleen