1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limit Theme Selection To Logged-In Users

Discussion in 'XenForo Questions and Support' started by tom2tom, Dec 26, 2012.

  1. tom2tom

    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.
     
    Chris D likes this.
  2. Russ

    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
     
    Jake Bunce likes this.

Share This Page