XF 2.2 Hide achievements

Hotfix

Active member
Licensed customer
I like the achievement points and I would like to have the users guessing when they're going to get more points.

But it seems like everyone can see the locked achievements if they know where to find the list of all achievements. Is it possible to hide this list?
 
If you mean trophies -- https://xenforo.com/community/help/trophies/ -- you can disable the page in the ACP - admin.php?help-pages/

However, that doesn't stop someone manually navigating to the URL so you could use a rewrite in .htaccess, use the extra.less template to hide the content, or just remove the contents of the _help_page_trophies template.
 
Example: https://db76df28bf7ba8d3.demo-xenforo.com/223/index.php?help/trophies/

HTML:
<xf:if is="$trophies is not empty">
    <div class="block">
        <div class="block-container">
            <ol class="block-body">
                <li class="block-row block-row--separated">
                    <div class="contentRow">
                        Nothing here
                    </div>
                </li>
            </ol>
        </div>
    </div>
<xf:else />
    <div class="blockMessage">{{ phrase('no_items_have_been_created_yet') }}</div>
</xf:if>
 
Back
Top Bottom