Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
iCredibleInc opened this issue Jan 2, 2017 · 18 comments
Closed

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

iCredibleInc opened this issue Jan 2, 2017 · 18 comments

Comments

@iCredibleInc
Copy link

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.

@Nemra1
Copy link

Nemra1 commented Jan 2, 2017

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

@rajivfx
Copy link

rajivfx commented May 26, 2018

Put this in custom css

.powered-by {
display: none;
}

@andreapx
Copy link

andreapx commented Jun 1, 2018

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

@RichardFoxworthy
Copy link

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?

@renatobecker-zz
Copy link

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.

@atinse
Copy link

atinse commented Oct 5, 2018

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.

@reetp
Copy link

reetp commented Oct 5, 2018

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

@LoganRocks
Copy link

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

@dj301
Copy link

dj301 commented Dec 20, 2018

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!

@LoganRocks
Copy link

LoganRocks commented Dec 20, 2018 via email

@durdenclub
Copy link

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

@l3dlp
Copy link

l3dlp commented May 5, 2019

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@domain.tld
        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.

@atinse
Copy link

atinse commented May 31, 2019

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. :)

@reetp
Copy link

reetp commented Jun 2, 2019

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.

@atinse
Copy link

atinse commented Jun 3, 2019

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.....

@reetp
Copy link

reetp commented Jun 3, 2019

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.

@MuneebKalathil
Copy link

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.

@parthamjangir2020
Copy link

.powered-by {
display: none;
}

but how to remove in chatwoot live chat widget branding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests