TeamDGT
Registrations are currently closed, Private Community (Invite only)!

If you would like to join our community you can submit a request for an invitation via Contact Us or use our Discord Channel.

Please include valid information and reasons as to why we should invite you to join the TeamDGT Community.

Messages like “Please invite me” are ignored !

We may or may not contact you but your invitation request will be reviewed as quickly as possible!

[Guide] HowTo remove Copyright from XenForo 2

Messages
10
Reaction score
31
Points
13
Three Ways avaible to remove Copyright from XenForo 2.

1. AdminCP / Appearance / Templates / extraless

Add :

CSS:
.p-footer-copyright {
    display: none;
}

2. AdminCP / Appearance / Templates / PAGE_CONTAINER

search for :

XML:
        <xf:if contentcheck="true">
            <div class="p-footer-copyright">
            <xf:contentcheck>
                <xf:copyright />
                {{ phrase('extra_copyright') }}
            </xf:contentcheck>
            </div>
        </xf:if>

and remove

3. src/XF.php

search for:

PHP:
    public static function getCopyrightHtml()
    {
        return '<a href="https://xenforo.com" class="u-concealed" dir="ltr" target="_blank" rel="sponsored noopener">Community platform by XenForo<sup>&reg;</sup> <span class="copyright">&copy; 2010-2024 XenForo Ltd.</span></a>';
    }

replace with:

PHP:
    public static function getCopyrightHtml()
    {
        return;
    }

Calculate SHA256 File Checksum of src/XF.php and add to src/addons/XF/hashes.json
 
Back
Top