Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

How can I delete "Powered by" field in livechat ?

Open iCredibleInc opened this issue 9 years ago • 18 comments

Your Rocket.Chat version: 0.48.2

I checked livechat.js but its unformatted and too complicated.

Can you help me how can i delete or replace it ?

Thanks.

iCredibleInc avatar Jan 02 '17 12:01 iCredibleInc

I think is not cool when u try to delet copyright !

Nemra1 avatar Jan 02 '17 13:01 Nemra1

Put this in custom css

.powered-by { display: none; }

rajivfx avatar May 26 '18 16:05 rajivfx

It doesn't work for me, should I enable the custom css somewhere?

andreapx avatar Jun 01 '18 09:06 andreapx

this custom CSS does not work on my Snap installation.

I also saw #10541 - is custom CSS broken generally?, or maybe just for LiveChat? Or maybe just for Snap installations?

RichardFoxworthy avatar Aug 28 '18 02:08 RichardFoxworthy

In our current version this is not possible. The only way to do this is forking the project and replacing the logo in there. The good news is that we have been working on our new Livechat client, you can find the new repository here: https://github.com/RocketChat/Rocket.Chat.Livechat We're planning many improvements like the one you are requesting here, so my suggestion is to stay tuned to know when we will launch our new Livechat client.

Thanks.

renatobecker-zz avatar Aug 30 '18 19:08 renatobecker-zz

Could someone expose just as a little basics how to fork the project like that? I only need to change "Powered by" and icon.svc in Rocket live chat popup cause of my visitors. I have live-chat in my Captive-portal wireless window (home network). But it seams too difficult to made any modifications on that product.

atinse avatar Oct 05 '18 04:10 atinse

Fork github. Read developer documentation https://rocket.chat/docs/developer-guides

reetp avatar Oct 05 '18 09:10 reetp

Is there any update on this? I was wondering the same thing.

LoganRocks avatar Oct 28 '18 15:10 LoganRocks

In our current version this is not possible. The only way to do this is forking the project and replacing the logo in there. The good news is that we have been working on our new Livechat client, you can find the new repository here: https://github.com/RocketChat/Rocket.Chat.Livechat We're planning many improvements like the one you are requesting here, so my suggestion is to stay tuned to know when we will launch our new Livechat client.

Thanks.

Any update on this?

Thanks!

dj301 avatar Dec 20 '18 08:12 dj301

Will it replace the existing live chat in rocket.chat? or will it be a separate thing

  ----- Original Message ----- From: Robin Koch ([email protected]) Date: 12/20/2018 03:31 am To: RocketChat/Rocket.Chat ([email protected]) Cc: lferezy4 ([email protected]), Comment ([email protected]) Subject: Re: [RocketChat/Rocket.Chat] How can I delete "Powered by" field in livechat ? (#5387)

In our current version this is not possible. The only way to do this is forking the project and replacing the logo in there. The good news is that we have been working on our new Livechat client, you can find the new repository here: https://github.com/RocketChat/Rocket.Chat.Livechat We're planning many improvements like the one you are requesting here, so my suggestion is to stay tuned to know when we will launch our new Livechat client.

Thanks.

Any update on this?

Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

LoganRocks avatar Dec 20 '18 13:12 LoganRocks

Hi, Is there any way to remove this. I am using Rocket chat installed via Snap.

durdenclub avatar Feb 26 '19 07:02 durdenclub

Hi, Is there any way to remove this. I am using Rocket chat installed via Snap.

I found one way, by using Caddy server instead of Nginx to relay the snap, and using its filtering method. Works like a charm for months.

The Caddyfile:

domain.tld {
        tls [email protected]
        proxy / 127.0.0.1:3000 {
                header_upstream X-Forwarded-Proto {scheme}
                header_upstream X-Forwarded-For {host}
                header_upstream Host {host}
                websocket
        }
        filter rule {
                content_type text/css.*
                search_pattern a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote
                replacement ".powered-by{display:none !important}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote"
        }
        gzip
}

Definitely not elegant, but a good 5-minutes-trick to continue using Rocket.Chat as a Snap.

l3dlp avatar May 05 '19 23:05 l3dlp

One solution is to just stop the service. Copy the whole project somewhere else: cp -r /snap/rocketchat* /elsewhere/*. After change the original folder name mv /snap/rocketchat-server --> /snap/old_rocketchat-server. And finally copy the /elsewhere/rocketchat into same name into /snap/ folder. Now you have write access to all snap files. Seems to work like a charm. :)

atinse avatar May 31 '19 17:05 atinse

It is bad advice to go messing with snaps as you will lose all your changes on update. It is not really designed to be modified.

Solution is as above. Use the development version.

However, why you can't give Rocket.Chat a bit of credit for powering your site with their Open Source and free software, I don't know. Seems churlish and mean if you ask me.

reetp avatar Jun 02 '19 12:06 reetp

Yes... Sorry, Sir. For my time with in Linux I have learned at least one thing. That is that there are no such a question like "is that possible" it´s always more like "how is that done possible". And within that reason I was hoping to have an answer like "Yes, You can do, but..." and claims within included- off-course. Than having a lot of false information and lies "you can´t",.. nor "it´s isolated". It is my own problem if I want to drive my car in the tree, yes you can do, but think twice before you go there, I want guidings. Rocket is running only in my home, giving credits for sure if outsourcing ever.....

atinse avatar Jun 03 '19 07:06 atinse

To be honest, trying to remove the Rocket logo is not going to get you a lot of help or sympathy. They need to earn so they can continue to provide Rocket as Open Source. What are you ashamed about?

Of course there may be multiple ways to do things.

But be careful with your advice, and remember inexperienced users may try some methods without realising the consequences may be dangerous.

Snaps are simply not designed to be hacked about, and your method makes no mention of what happens when it autoupdates.

The right answer how to do this has been given above.

Fork, clone, follow the development documentation, and you can then do whatever you want.

reetp avatar Jun 03 '19 08:06 reetp

I have added following in /opt/Rocket.Chat/programs/web.browser/app/livechat/1.chunk.0c6a0.css

.powered-by__3NpjT{display:none;}

Version 3.3.3

It is not snap. Manual Installation.

MuneebKalathil avatar Jul 19 '20 12:07 MuneebKalathil

.powered-by { display: none; }

but how to remove in chatwoot live chat widget branding

parthamjangir2020 avatar Sep 29 '23 19:09 parthamjangir2020