SNap!
Team DGT
- Messages
- 10
- Reaction score
- 31
- Points
- 13
Three Ways avaible to remove Copyright from XenForo 2.
1. AdminCP / Appearance / Templates / extraless
Add :
2. AdminCP / Appearance / Templates / PAGE_CONTAINER
search for :
and remove
3. src/XF.php
search for:
replace with:
Calculate SHA256 File Checksum of src/XF.php and add to src/addons/XF/hashes.json
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>®</sup> <span class="copyright">© 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