XF 2 Tip Remove the copyright (easy)

Kenpachi

Well-known member
Registered
Joined
Oct 1, 2019
Messages
173
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.
 

Warfare

[Your Welcoming Staff Member]
Staff member
Administrator
Moderator
+Lifetime VIP+
V.I.P Member
Collaborate
Registered
Joined
Apr 29, 2020
Messages
342
Points
103

Reputation:

Thank you very much for this information. It has solved a burning question of mine. Thanks again. Worked perfectly.
 
Last edited:

metalsunny

New member
Registered
Joined
Oct 6, 2021
Messages
0
Points
18

Reputation:

Deleted

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Pls i need help in removing the following footer created by adddon from my footer
View attachment 25871
metalsunnyThe easiest way is to go to Extra.less and add this code (please be sure to use the correct Extra.less file depending on your themes):

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

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
415
Points
53

Reputation:

the best way to remove this or you can just change the copyright witch most xenforo user dont kno witch you will have to open src/XF.php
witch you would find
Code:
Forum software by XenForo® © 2010-2020 XenForo Ltd.

just change or remove
thats it
 

VoyagerSDP

Active member
Registered
Joined
Apr 7, 2022
Messages
30
Points
8

Reputation:

For do this currently:

Open app_footer.less

And search: p-footer-copyrightRow

And then remove these lines:

Captura de pantalla 2022-05-04 090304.jpg


Save and it's done

This works perfectly with: iO, iO Dark, UI.X & UI.X Dark
 

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
415
Points
53

Reputation:

for you to remove everything else just go to you page and copyright and remove this line
Code:
{{ phrase('extra_copyright') }}
 

VoyagerSDP

Active member
Registered
Joined
Apr 7, 2022
Messages
30
Points
8

Reputation:

View previous replies…

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
415
Points
53

Reputation:

This removes the thext but doesn't remove the row
VoyagerSDPyes i know it removes all the other copyright from the footer but it will not remove this from the footer
Forum software by XenForo® © 2010-2020 XenForo Ltd.

Code:
src/XF.php


only this will remove all i was letting members know how to change all that cause nobody really know how to do
to remove all than this
Code:
.p-footer-copyright {display: none;}
 

VoyagerSDP

Active member
Registered
Joined
Apr 7, 2022
Messages
30
Points
8

Reputation:

yes i know it removes all the other copyright from the footer but it will not remove this from the footer
Forum software by XenForo® © 2010-2020 XenForo Ltd.

Code:
src/XF.php


only this will remove all i was letting members know how to change all that cause nobody really know how to do
to remove all than this
Code:
.p-footer-copyright {display: none;}
one_finger_manThis only hides the element, but the element still existing

My method definitely removes the element and avoid it to be rendered
 

dddd

Well-known member
Registered
Joined
Mar 2, 2022
Messages
68
Points
18

Reputation:

Removing the copyrightRow directly from the files before installing the style is the best method.
As for the XenForo copyright, same thing, removing it directly from the forum file and then rebuilding the master data is the best method.
 

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
415
Points
53

Reputation:

Removing the copyrightRow directly from the files before installing the style is the best method.
As for the XenForo copyright, same thing, removing it directly from the forum file and then rebuilding the master data is the best method.
ddddeven after all you do that you still have to add the add-ons witch you will still get copyright on the footer makes cents
 
View previous replies…

VoyagerSDP

Active member
Registered
Joined
Apr 7, 2022
Messages
30
Points
8

Reputation:

if your intention is to remove the copyright, and the copyrightRow only serves the purpose of displaying the copyright, I don't see why any other method would be better than removing the copyrightRow directly from the files before installing them.
this method does not require that you modify every addon to stop them from displaying their own copyright, because you just removed the row they use to display it...

your method of emptying the phrase only removes the text, you are still left with a huge empty row that serves no purpose.
ddddhttps://enxf.net/threads/remove-copyright-footer-completely-no-css.6537/
 
Top