XF 2 Tip Remove the copyright (easy)

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:

@Kilowallow
try that in extra.less

Less:
.p-footer-row.p-footer-copyright {
    display: none;
}

looks like you ve got a different theme installed which changed something,
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

@Kilowallow
try that in extra.less

Less:
.p-footer-row.p-footer-copyright {
    display: none;
}

looks like you ve got a different theme installed which changed something,
BattleKingIt was working a few days ago, I had the same theme installed for almost two year with no problems until now. I didn't add any new add-ons or anything like that in months.
 
View previous replies…

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:

It was working a few days ago, I had the same theme installed for almost two year with no problems until now. I didn't add any new add-ons or anything like that in months.
Kilowallowhave you tried this code now, this should work
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

xf 2.2.11 i use
CSS:
.p-footer .p-footer-copyright {
    display: none;
}
thomsaThank you, but I used both and they haven't worked. I think extra.less has to be fixed because I'm not able to add badges in extra.less or center the homepage logo header with codes that worked previously either. So I think something is wrong with extra.less
 

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:

Thank you, but I used both and they haven't worked. I think extra.less has to be fixed because I'm not able to add badges in extra.less or center the homepage logo header with codes that worked previously either. So I think something is wrong with extra.less
KilowallowIt sounds like something is overwritten or already defined in extra.less or inside the theme, if there is no access to the system we cannot find out why it does not work
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

It sounds like something is overwritten or already defined in extra.less or inside the theme, if there is no access to the system we cannot find out why it does not work
BattleKingI'll give it to you soon because it looks like the admin doesn't know what was overwritten in extra.less that messed it up.
 

DockPro

Active member
Registered
Joined
Mar 24, 2020
Messages
39
Points
18

Reputation:

Hello people, could someone help me, I have managed to remove all the marks and add my own with all these instructions, except the following:

RM MarketPlace by Xen Factory ©2015-2023
Xenforo theme by Nulumia ©2016-2023

Thanks in advance.
 

Javi

Member
Registered
Joined
Aug 15, 2020
Messages
10
Points
13

Reputation:

Isn't it better to keep the credits in nulled versions? I say this because it's easy to identify a nulled site by its footer when you see the credits without a link to them. To avoid this, you could either remove them entirely with:
PHP:
public static function getCopyrightHtml()
{
    return '';
}

public static function getCopyrightHtmlAcp()
{
    return '';
}

Or leave it as it is by default in the XF.php file:

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>&reg;</sup> <span class="copyright">&copy; 2010-2024 XenForo Ltd.</span></a>';
}

public static function getCopyrightHtmlAcp()
{
    return '<a href="https://xenforo.com" class="u-concealed" dir="ltr" target="_blank" rel="sponsored noopener" data-xf-init="tooltip" title="&copy; 2010-2024 XenForo Ltd.">Community platform by XenForo<sup>&reg;</sup></a>';
}

Or am I missing something that I'm not aware of in all this? I don't think a simple link to XenForo affects anything.

Edit:

And if the concern is that XenForo might receive a visit from your URL, you can replace rel="sponsored noopener" with rel="noreferrer". This way, traffic coming from links with the rel="noreferrer" attribute will show up as Direct Traffic instead of Referral in XenForo's internal or analytics APIs.

Edit2:

Or even use rel="noreferrer noopener" to also prevent the opening page from gaining any access to the original page.
 
Last edited:

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
770
Points
153

Reputation:

Isn't it better to keep the credits in nulled versions? I say this because it's easy to identify a nulled site by its footer when you see the credits without a link to them. To avoid this, you could either remove them entirely with:
PHP:
public static function getCopyrightHtml()
{
    return '';
}

public static function getCopyrightHtmlAcp()
{
    return '';
}

Or leave it as it is by default in the XF.php file:

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>&reg;</sup> <span class="copyright">&copy; 2010-2024 XenForo Ltd.</span></a>';
}

public static function getCopyrightHtmlAcp()
{
    return '<a href="https://xenforo.com" class="u-concealed" dir="ltr" target="_blank" rel="sponsored noopener" data-xf-init="tooltip" title="&copy; 2010-2024 XenForo Ltd.">Community platform by XenForo<sup>&reg;</sup></a>';
}

Or am I missing something that I'm not aware of in all this? I don't think a simple link to XenForo affects anything.

Edit:

And if the concern is that XenForo might receive a visit from your URL, you can replace rel="sponsored noopener" with rel="noreferrer". This way, traffic coming from links with the rel="noreferrer" attribute will show up as Direct Traffic instead of Referral in XenForo's internal or analytics APIs.
JaviXenForo credits is not really what people would remove, more like these stupid credits that gets added by almost every addon that you install.

But these can be easily deactivated in Appearance > Template modifications
 

Javi

Member
Registered
Joined
Aug 15, 2020
Messages
10
Points
13

Reputation:

XenForo credits is not really what people would remove, more like these stupid credits that gets added by almost every addon that you install.

But these can be easily deactivated in Appearance > Template modifications
SplichoI just wanted to highlight this point about credits for those who are concerned or worried that their sites might be nulled. For resources, you can easily remove most of them from templates, although some require you to edit the addon to bypass them. It seemed worth mentioning this about credits since I have a licensed XenForo site, but I recently set up another site and used a nulled version for the first time. I had the same doubts I raised, so I decided to leave the original credits, only changing it to just in case: rel="noreferrer noopener" xD
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
770
Points
153

Reputation:

I just wanted to highlight this point about credits for those who are concerned or worried that their sites might be nulled. For resources, you can easily remove most of them from templates, although some require you to edit the addon to bypass them. It seemed worth mentioning this about credits since I have a licensed XenForo site, but I recently set up another site and used a nulled version for the first time. I had the same doubts I raised, so I decided to leave the original credits, only changing it to just in case: rel="noreferrer noopener" xD
JaviLeaving addon credits is also not a bad thing, at all.

But it can get retarded if your footer is starting to get bigger than your actual site.
 
Top