XF 2.2 Membership page question

Dixie McCall

Well-known member
Is there a way to exclude guests from viewing the member page but allow them to view "newest member" widgets? Display conditions in widgets don't seem to override normal permissions. Thanks!
The permission removal will affect the page and widget.

One way around it would be to edit the page template and wrap the contents in a conditional statement:
<xf:if is="$xf.visitor.user_id">
    Template code
Top Bottom