Limit Theme Selection To Logged-In Users

tom2tom

Member
Is it possible to only let registered users choose a style apart from the default one?
Would be a decent incentive to register to a forum.
 

Russ

Well-known member
Not a built in feature of XF, you can somewhat "hack" it in by using conditionals and wrap them around the style chooser.

How can I show content just to logged in members and hide it from guests?
<xen:if is="{$visitor.user_id}">
This content will show to logged in members
</xen:if>

You'd have to do it in the footer template and also find it in the user profile one, forgot which one it's in
 
Top