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!
 

Brogan

XenForo moderator
Staff member
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:
HTML:
<xf:if is="$xf.visitor.user_id">
    Template code
</xf:if>
 
Top