
hifitechindia
Administrator
Staff member
- Downloaded
- 0 bytes
- Uploaded
- 0 bytes
- Ratio
- -
- Seedbonus
- 0
- Upload Count
- 1 (0)
- Credits
- 0
Offline
XF version
To remove footer copyright is very simple, and there are many different ways. The opinion of the Board of Directors of HIFITECHINDIA forum is that this line should be kept intact, but if you want to delete it, do it in one of the ways below!
Method 1: Remove all footer copyrights
To do this, add the following code to the extra.less file
Method 2: Edit copyright information on the original file
Open the XF.php file under the path src/XF.php and find about line 889:
Method 3: Edit the footer in the PAGE_CONTAINER template
Open the PAGE_CONTAINER template by going to Appearance -> Styles -> PAGE_CONTAINER and find the following code:
If you want to write additional lines of information as you like at the footer of the page, please write more text instead of the code deleted above!
Method 4: The simplest and achieves 2 goals is to delete Xenforo's copyright line and insert additional copyright information as you wish.
Step 1: Add the following code to the file extra.less
In which the section Forum software by XenForo® © 2010-2022 XenForo Ltd is your optional copyright information.
Note: For each different Style, there will be different ways to delete and edit information in the footer. If you do not use Xenforo's default Style and have difficulty following the methods above, please contact the HIFITECHINDIA Forum Board of Directors for support!
In addition, if you want to have a footer similar to the HIFITECHINDIA forum, use the addons [HIFITECHINDIA] Advanced Footer 2.0.1, download it !
Good luck.
- 2.0
- 2.1
- 2.2
To remove footer copyright is very simple, and there are many different ways. The opinion of the Board of Directors of HIFITECHINDIA forum is that this line should be kept intact, but if you want to delete it, do it in one of the ways below!
Method 1: Remove all footer copyrights
To do this, add the following code to the extra.less file
Code:
.p-footer-copyright {
display: none;
}
Open the XF.php file under the path src/XF.php and find about line 889:
Code:
public static function getCopyrightHtml()
{
return '<a href="https://xenforo.com" class="u-concealed" dir="ltr" target="_blank">Forum software by XenForo<sup>®</sup> <span class="copyright">© 2010-2019 XenForo Ltd.</span></a>';
}
Method 3: Edit the footer in the PAGE_CONTAINER template
Open the PAGE_CONTAINER template by going to Appearance -> Styles -> PAGE_CONTAINER and find the following code:
Code:
<xf:if contentcheck="true">
<div class="p-footer-copyright">
<xf:contentcheck>
<xf:copyright />
{{ phrase('extra_copyright') }}
</xf:contentcheck>
</div>
</xf:if>
Then delete the small code below:
Code:
<xf:copyright />
{{ phrase('extra_copyright') }}
If you want to write additional lines of information as you like at the footer of the page, please write more text instead of the code deleted above!
Method 4: The simplest and achieves 2 goals is to delete Xenforo's copyright line and insert additional copyright information as you wish.
Step 1: Add the following code to the file extra.less
Code:
/* Copyright */
.p-footer-copyright{font-size: 0px;}
.custom-copyright{font-size: 11px;}
Step 2: Find the phrase extra_copyright in the ACP page, then add the following copyright line:
Code:
<div class="custom-copyright">
Forum software by XenForo® © 2010-2022 XenForo Ltd
</div>
Note: For each different Style, there will be different ways to delete and edit information in the footer. If you do not use Xenforo's default Style and have difficulty following the methods above, please contact the HIFITECHINDIA Forum Board of Directors for support!
In addition, if you want to have a footer similar to the HIFITECHINDIA forum, use the addons [HIFITECHINDIA] Advanced Footer 2.0.1, download it !
Good luck.