Remove The Copyright - Remove The Xenforo 2 Footer Copyright

hifitechindia

hifitechindia

Administrator
Staff member
Downloaded
0 bytes
Uploaded
0 bytes
Ratio
-
Seedbonus
0
Upload Count
1 (0)
Credits
0
Offline
XF version
  1. 2.0
  2. 2.1
  3. 2.2
When you install XenForo on Hosting or VPS, your forum always displays the copyright line in the footer. This will be more annoying when this copyright line is added with information from the addons developer when you accidentally install an additional one. certain amenities.

1660192989713

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;

}
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:
Code:
public static function getCopyrightHtml()

    {

        return '<a href="https://xenforo.com" class="u-concealed" dir="ltr" target="_blank">Forum software by XenForo<sup>&reg;</sup> <span class="copyright">&copy; 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>
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.
 

Similar threads

hifitechindia
  • Locked
xfrm_updates find search replace Chang Logs
Replies
0
Views
99
hifitechindia
hifitechindia
hifitechindia
This happens after i've installed addon from archive in admin panel.... Anything to resolve this? error_log file located in forum's root is empty. An error occurred while the page was being generated. Please try again later. FIX: GO TO FILEMANAGER src/config.php add code...
Replies
0
Views
254
hifitechindia
hifitechindia
mani5grockers
Confirmed that src/config.php contains: $config['maxImageResizePixelCount'] = 60000000; Options > Resource Manager > Maximum resource file size (KB) My server allows 500MB and this is confirmed on the admin dashboard and also on the attachment size page.
Replies
0
Views
379
mani5grockers
mani5grockers
hifitechindia
Hello everyone, Since many users have reached out to try and receive explanations of various customizations around our community, I've deciced to write up a quick tutorial on how to enable custom user group icons in front of your group names. This modification is pretty simple since there is no...
Replies
0
Views
255
hifitechindia
hifitechindia
hifitechindia
TYPE 1 Please try placing this code into your extra.less template /* Remove footer copyright information */ .p-footer-copyright { display: none; } # = ID element. = Class element You can use your browser element inspector to figure out what the name of the div/ID/span of the element containing...
Replies
0
Views
342
hifitechindia
hifitechindia
hifitechindia
XenForo has many addons, and the official are XFRM and XFMG We can change the name "Resource" to "Download" in Phrase, but the URL still "yourdomain.com/resources" Go to "Setup > Route Filters" Find route : resources/ Replace with : download/ Now, you have, "yourdomain.com/download" You can...
Replies
0
Views
262
hifitechindia
hifitechindia
hifitechindia
Sometimes, we want different color for each category forum. So here simple css which you want to try. Add to extra.less in your template. /* Coloring Category and Node */ .block.block--category.block--categoryXX .block-header { background: -webkit-linear-gradient(335deg, #28356c 44%, #074946...
Replies
0
Views
292
hifitechindia
hifitechindia
hifitechindia
How to limit the size of Google AdSense ads This code is directly from Google support. Please note that this will not work for AutoAds. How to modify your responsive ad code - Google AdSense Help If you find that our responsive ad code doesn't do everything you need, you may modify your ad code...
Replies
0
Views
273
hifitechindia
hifitechindia
hifitechindia
If you want to provide an extra layer of protection to admin.php, the /install directory, and test & development installations, you can do so with .htaccess authentication. Protecting admin.php To protect admin.php, edit the .htaccess file which is in your forum root directory (e.g...
Replies
0
Views
238
hifitechindia
hifitechindia

Users who are viewing this thread

Back
Top