When I change my avatar in chat+, there is a button that says "Login with Dolphin." How do I change this to my site name?
When I change my avatar in chat+, there is a button that says "Login with Dolphin." How do I change this to my site name? |
That is one thing I asked about. With the original Rocket.Chat server, there are many more functions - including button color and name. Why this was hidded in the dolphin version - I have no idea. caredesign.net |
ugh - WHY - OH WHY. Whenever you did whatever it was you did with the v.20 - you have somehow removed the ability to add additional dolphin sites to one Chat+ server. caredesign.net |
To change this button title you need to download dev version from github: Change packages/rocketchat-ui-account/account/avatar/prompt.html file (code in red was added):
Then build the package using the following command: meteor build --directory /path/to/output/dir Then you can use package in /path/to/output/dir/bundle folder as usual. Rules → http://www.boonex.com/terms |
I do not see this bit of code to edit : <template name="avatarSuggestion"> caredesign.net |
Code in red was added. I do not see this bit of code to edit
Rules → http://www.boonex.com/terms |
HI; I have my chat server at subdomain.mydomain.com:3000/ and I use this for 2 sites subdomain.mydomain.com and mydomain.com. The chat works on both sites, mydomain.com is the same for both; but Helpdesk gives me on both sites "Internal server error".
Is there anything I can do?
ANother thing is if Helpdesk is active for members as well then there is a little conflict about the member menu at the bottom and I want to leave the member menu there. :-) Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
How are you connecting to your chat server for each site - are you using 2 separate OAuth instances for your sites? caredesign.net |
Yep :-) I cheated the database :-) lol Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
that may be the reason why. Are you using the v.20 that is provided for Dolphin or the original Rocket.Chat. Maybe just me - but it used to work, but not now where you can connect 2 sites properly.
Add a custom OAuth in the Chat Administration
token = /m/oauth2/token identity = /m/oauth2/api/me authoriation = /m/oauth2/auth
Fill in the rest of the fields as normal.
In your Dolphin Site - Administration - Modules - OAuth use the url provided in the OAuth section of the Chat Server for your new Custom OAuth
Also - I would recommend changing your url from subdomain.yourdomain.com:300 to something.yourdomain.com instead - just for visual sake of your users. caredesign.net |
ohh sorry the :300 is the server location, the chat rooms are of course at my sites with .com
So the Helpdesk is now also working but all I did is cheating with the second OAuth in my database. My issue was that by pointing to the server I had no "/" at the end :-) It is not really working at safari though. Mozilla and Chrome are ok. Add a custom OAuth in the Chat Administration token = /m/oauth2/token identity = /m/oauth2/api/me authoriation = /m/oauth2/auth Fill in the rest of the fields as normal. I have attached a photo is this where I should add them? Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
ohh sorry the :300 is the server location, the chat rooms are of course at my sites with .com
So the Helpdesk is now also working but all I did is cheating with the second OAuth in my database. My issue was that by pointing to the server I had no "/" at the end :-) It is not really working at safari though. Mozilla and Chrome are ok. Add a custom OAuth in the Chat Administration token = /m/oauth2/token identity = /m/oauth2/api/me authoriation = /m/oauth2/auth Fill in the rest of the fields as normal. I have attached a photo is this where I should add them? no - go to Accounts on the left - and all the way at the bottom there is an Add New OAuth button.
Also, without https, Chat+ video and audio chat wont work on Chrome. It does not work on Safari or IE at all right now. caredesign.net |
To change this button title you need to download dev version from github: Change packages/rocketchat-ui-account/account/avatar/prompt.html file (code in red was added):
Then build the package using the following command: meteor build --directory /path/to/output/dir Then you can use package in /path/to/output/dir/bundle folder as usual.
So is this still the dolphin package? Will people still be able to log in using dolphin? What is the link to the dev version? |
so far - it seems I have successfully added a Dolphin OAuth to the Dev version of Rocket.Chat. Hope I got things right.
URL for Dev version = https://github.com/RocketChat/Rocket.Chat caredesign.net |
and how is it working for you? Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
you can check it out for yoursefl - https://talk.caredesign.org caredesign.net |
it gives me a "Service Unavailable" :-( you can check it out for yoursefl - https://talk.caredesign.org
Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |
my bad - i stopped it last night - back up and running. caredesign.net |
Hi Alex. Am going to try this later in the week.
To change this button title you need to download dev version from github:
|
unfortunately - the Dolphin version removes a lot from the dev version - if you do use the dev version - please let us know here - there are slight changes to be made to allow Dolphin to Connect. With the Dev version - you can have your own button color, own text and own text color as well.
caredesign.net |
Hi Alex/Boonex team, Please clarify the below. When you say "download the dev version from github", does this mean a dolphin dev version or a rocketchat dev version?
Really important if you can allow this in future updates to be configured via a web interface, one of the best things about Dolphin is a "white label" solution.
To change this button title you need to download dev version from github: Change packages/rocketchat-ui-account/account/avatar/prompt.html file (code in red was added):
Then build the package using the following command: meteor build --directory /path/to/output/dir Then you can use package in /path/to/output/dir/bundle folder as usual.
So is this still the dolphin package? Will people still be able to log in using dolphin? What is the link to the dev version?
|
Please clarify the below. When you say "download the dev version from github", does this mean a dolphin dev version or a rocketchat dev version?
https://github.com/boonex/rocket.chat How do you also change the icon, instead of that one that looks like a door exit ?
Icon can be changed in packages/rocketchat-dolphin/login-button.css file, it's SVG icon encoded as base64 Rules → http://www.boonex.com/terms |
Hi Alex/Boonex team, Prior to reading this: I know zero about npm, meteor, etc. I just followed the Boonex instructions to install on CentOS which installed itself into /opt/bundle. I went through the below: To change this button title you need to download dev version from github: Change packages/rocketchat-ui-account/account/avatar/prompt.html file (code in red was added):
Then build the package using the following command: meteor build --directory /path/to/output/dir Then you can use package in /path/to/output/dir/bundle folder as usual. By first creating a new directory, cloning the Git repo. Modifying the file above. When going to the "meteor" part I had to install it using: curl https://install.meteor.com/ | sh Once installed, I went into the ./rocket.chat directory and ran meteor build: meteor build --directory /opt/
# ll # ll /opt/bundle/ which obviously breaks things (as start up scripts vanish etc). I restore from backup so it's OK.
|
You can copy start&stop scripts manually which obviously breaks things (as start up scripts vanish etc). I restore from backup so it's OK.
Rules → http://www.boonex.com/terms |
Hi Alex. Yeah I did that but the software no longer starts up for long ie. it starts and then bombs out with an error. What you're saying is that this should work? I can post the error I get in this forum if you wish. When I restore the older backup (which was built from the CentOS instructions on-line) things work fine again and the server stays up and running. This indicates to me there's a problem when I run that "meteor" command from a fresh Git clone compared to the time I originally installed Chat+ from the CentOS instructions. I'm sure others would have the same issue, as I've done nothing special but followed the basic instructions. You can copy start&stop scripts manually which obviously breaks things (as start up scripts vanish etc). I restore from backup so it's OK.
|
i used the dev version and i even tried with the boonex version - and both compiled properly and run properly. If you errored out - it may be something with the change you made that is not correct. caredesign.net |
also - before running the meteor build - just run meteor and make sure everything works. You can make changes while the chat server is running, and the server will automatically restart. as long as everything is working on the non built version - all should be well with the built version caredesign.net |
Please follow valuable @ProfessorSr recommendations, if it doesn't help, then post your error message here. I can post the error I get in this forum if you wish.
Rules → http://www.boonex.com/terms |
ok - after you have done the build - you then need to go back to the boonex instructions for installing the Chat+.
So, you would need to go to the new bundle/programs/server directory and run npm install. after running this - then you can run the run.sh to start the chat server. caredesign.net |
Hi Prof. Ok, so the npm install creates that node_modules directory. I went into /opt/bundle/programs/server, ran "npm install" and the nodes_modules directory was created and populated (cool).
ok - after you have done the build - you then need to go back to the boonex instructions for installing the Chat+.
So, you would need to go to the new bundle/programs/server directory and run npm install. after running this - then you can run the run.sh to start the chat server.
|
since you have already started the chat+ - you now need to create a new database. Open your run.sh file and change the rocketchat to something else - the line that has the 27017 port at the end - that is the database that is being used. once you ran it the first time - it made the database with the settins you had at that time. chane database name and restart - all should be well. caredesign.net |
Hi Prof. Thank you, really appreciate your assistance and knowledge here.
However, the mouse over of the "dolphin login" still shows the word "Dolphin" on mouse-over. This is when editing and adding the "red items" in the post from AlexT.
Really frustrating to say the least, as can't seem to get rid of it.
Thanks again. since you have already started the chat+ - you now need to create a new database. Open your run.sh file and change the rocketchat to something else - the line that has the 27017 port at the end - that is the database that is being used. once you ran it the first time - it made the database with the settins you had at that time. chane database name and restart - all should be well.
|
ok - the changes above are not for the button that is used to login with Dolphin account - the change listed above allows you to change the button for the avatar and add your site name ther. this does not affect the login button.
to change that - you would need to create your own image - no bigger than 64 x 64 and replace it in the css file located (in unbuilt rocketchat) at: packages/rocketchat-dolphin/login-button.css
then rebuild caredesign.net |
Hi Prof. Thanks for your reply, unfortunately you've confused me :) I've attached a screen shot to show the mouse over of the icon, which displays the "Dolphin" word. So there's two things:
For 1, It's my understanding that to change the Dolphin word we do the items in red that AlexT wrote? So for this item, when I modify "packages/rocketchat-ui-account/account/avatar/prompt.html ", rebuild with meteor and change DB, I still see the "Dolphin" word on mouse over.
ok - the changes above are not for the button that is used to login with Dolphin account - the change listed above allows you to change the button for the avatar and add your site name ther. this does not affect the login button.
to change that - you would need to create your own image - no bigger than 64 x 64 and replace it in the css file located (in unbuilt rocketchat) at: packages/rocketchat-dolphin/login-button.css
then rebuild
|
negative - those word changes that AlexT posted are for the Avatar section - to show your site name for the avatar. The image of the arrow pointing to the door - that can be changed using the login-button.css file - but you will need to rebuild your meteor app (Rocket.Chat) after making change to css file. I have not found where to change the name as I believe it is hardcoded like the rest of the Dolphin Connect information. Basically - look at the dolphin connect as Facebook Connect.
To Boonex Team: The confusing part is that there is no such thing as a site called Dolphin - and as such, creating a specific OAuth connection called Dolphin may not have been a good idea. Dolphin is not like Facebook in which it is a widely known site - because none of us call our site Dolphin. We have our own name for our sites. While it was a great attempt to make the OAuth connection simplified, it has caused more confusion. caredesign.net |
Hi Prof. Thank you for this and yes, I agree with your comment to the Boonex team. People visiting the site will not have a clue what "Dolphin" means, which is why from the first comment I've been looking for a way to remove this word and change it to "Login here" or similar.
Is the Dev version of Rocket.Chat better in this regard? ie. can you change those things for the dev version of rocket.chat.. so I could not only change the "Dolphin" word but also the icon easily?
I have not found where to change the name as I believe it is hardcoded like the rest of the Dolphin Connect information. Basically - look at the dolphin connect as Facebook Connect.
To Boonex Team: The confusing part is that there is no such thing as a site called Dolphin - and as such, creating a specific OAuth connection called Dolphin may not have been a good idea. Dolphin is not like Facebook in which it is a widely known site - because none of us call our site Dolphin. We have our own name for our sites. While it was a great attempt to make the OAuth connection simplified, it has caused more confusion.
|
try adding a new Cuatom OAuth first. It did not work for me, but maybe you might have better luck.
First - just create the new OAuth and then enable it. No need to input all the info at this point. Logout and see if the new OAuth button appears. If it does, then continue.
token = /m/oauth2/token identity = /m/oauth2/api/me authorization = /m/oauth2/auth
everything else is the same so you can use the same credentials you are already using for your current Dolphin connection. caredesign.net |
Hi Prof. Ok. I'll plan to look at installing the dev version at some stage then. Are the instructions for installing the rocket.chat version the same or similar to the instructions for Dolphin? I'll be installing it on a CentOS 7 server.
try adding a new Cuatom OAuth first. It did not work for me, but maybe you might have better luck. First - just create the new OAuth and then enable it. No need to input all the info at this point. Logout and see if the new OAuth button appears. If it does, then continue.
token = /m/oauth2/token identity = /m/oauth2/api/me authorization = /m/oauth2/auth
everything else is the same so you can use the same credentials you are already using for your current Dolphin connection.
|
i was not referring to the dev version - but the Dolphin version caredesign.net |