XF 2 Tip Remove the copyright (easy)

Sycentis

Collaborate
Collaborate
Registered
Joined
Jul 23, 2019
Messages
20
Points
38

Reputation:

1. Find extra_copyright in Appearance -> Languages -> English (US) -> Phrases
and set your copyright inside custom class .
1.png

2. Find extra.less in Appearance -> Styles -> (Default / Or Your Custom Template )
2.png

Cheers!
 

Kenpachi

Well-known member
Registered
Joined
Oct 1, 2019
Messages
169
Points
53

Reputation:

extra_copyright
PHP:
<div class="custom-copyright">
    Community platform by XenForo® © 2010-2023 XenForo Ltd.
</div>

extra.less
PHP:
/* Copyright */
.p-footer-copyright{font-size: 0px;}
.custom-copyright{font-size: 11px;}

I know, I know, just say thanks :cool:
 
Last edited:

Nicky Lalrochhara

Member
Registered
Joined
Sep 23, 2021
Messages
5
Points
13

Reputation:

extra_copyright
PHP:
<div class="custom-copyright">
    Forum software by XenForo® © 2010-2020 XenForo Ltd
</div>

extra.less
PHP:
/* Copyright */
.p-footer-copyright{font-size: 0px;}
.custom-copyright{font-size: 11px;}

I know, I know, just say thanks :cool:
InamsayThat's what I'm talking about, for along decades... anyway Thanks for your code ...later😂👍 a big red ❤️ for you.
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,149
Points
823

Reputation:

Appearance -> Styles -> Default style - Templates -> PAGE_CONTAINER
Delete
Code:
<xf:copyright />
                {{ phrase('extra_copyright') }}
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,149
Points
823

Reputation:

Appearance -> Styles -> Default style - Templates -> PAGE_CONTAINER
Code:
<xf:if contentcheck="true">
            <div class="p-footer-copyright">
            <xf:contentcheck>
                <xf:copyright />
               {{ phrase('extra_copyright') }}
            </xf:contentcheck>
            </div>
        </xf:if>
 

xenforouser

Member
Registered
Joined
Mar 22, 2020
Messages
17
Points
13

Reputation:

I see this there
Code:
        <div class="p-footer-copyrightRow">
            <div class="pageContent">
                <div class="uix_copyrightBlock">
                    <xf:if contentcheck="true">
                        <div class="p-footer-copyright">
                            <xf:contentcheck>
                                <xf:copyright />
                                <xf:callback class="ThemeHouse\Core\Branding" method="renderStyleBranding" /><xf:set var="$thBrandingDisplayed" value="1" />
                                {{ phrase('extra_copyright') }}
                            </xf:contentcheck>
                        </div>
                    </xf:if>
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,149
Points
823

Reputation:

@xenforouser src/xf.php
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>';
    }
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,149
Points
823

Reputation:

@xenforouser It'll delete "Forum software by XenForo® © 2010-2019 XenForo Ltd." No problem
 
Top