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

How to disallow users to swtich styles?

Jake Bunce

XenForo moderator
Staff member
#3
You can disable styles for user selection:

Admin CP -> Appearance -> Styles -> [click a style] -> Allow user selection

But I don't think there is an option to disable the ability of users to select from those styles which are user selectable.
 

D37

Active member
#5
You can disable styles for user selection:

Admin CP -> Appearance -> Styles -> [click a style] -> Allow user selection

But I don't think there is an option to disable the ability of users to select from those styles which are user selectable.
Ok thanks. But the box at the bottom left is still here and is clickable. I know in Beta 1 I could completely make that box dissapear.
 

Jake Bunce

XenForo moderator
Staff member
#6
The chooser is still there but only one style is available.

You can remove the chooser from the templates if you want:

Admin CP -> Appearance -> Templates -> footer

Remove this code:

Code:
            <xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
            <dl class="choosers">
                <xen:if is="{$canChangeStyle}">
                    <dt>{xen:phrase style}</dt>
                    <dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}" data-offsetY="-11">{$visitorStyle.title}</a></dd>
                </xen:if>
                <xen:if is="{$canChangeLanguage}">
                    <dt>{xen:phrase language}</dt>
                    <dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" data-offsetY="-11">{$visitorLanguage.title}</a></dd>
                </xen:if>
            </dl>
            </xen:if>
 

CyberAP

Well-known member
#10
The chooser is still there but only one style is available.

You can remove the chooser from the templates if you want:

Admin CP -> Appearance -> Templates -> footer

Remove this code:

Code:
            <xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
            <dl class="choosers">
                <xen:if is="{$canChangeStyle}">
                    <dt>{xen:phrase style}</dt>
                    <dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}" data-offsetY="-11">{$visitorStyle.title}</a></dd>
                </xen:if>
                <xen:if is="{$canChangeLanguage}">
                    <dt>{xen:phrase language}</dt>
                    <dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" data-offsetY="-11">{$visitorLanguage.title}</a></dd>
                </xen:if>
            </dl>
            </xen:if>
Users can still set other styles via /misc/style?style_id=# if you haven't hidden them.