Create a Private Chat with Glide | FULL TUTORIAL

  Рет қаралды 4,118

GRUMO

GRUMO

8 ай бұрын

Learn how to create private one-on-one chats with Glide.
Get a copy of the template at → grumo.com/chatapp
⚠SECURITY UPDATE: Please note that if you want chats to be more secure, you can enable "Make Row Owner" to both User A and User B columns inside the Chats table. The same for the Messages table. You could also add a Receiver ID column and enable "Make Row Owner" to both the Sender ID and the Receiver ID columns. This way ONLY the messages inside your private chats would be downloaded to your device thus preventing any other user from potentially gaining access to your private messages.

Пікірлер: 84
@GRUMO
@GRUMO 8 ай бұрын
⚠SECURITY UPDATE: Please note that if you want chats to be more secure, you can enable "Make Row Owner" to both User A and User B columns inside the Chats table. The same for the Messages table. You could also add a Receiver ID column and enable "Make Row Owner" to both the Sender ID and the Receiver ID columns. This way ONLY the messages inside your private chats would be downloaded to your device thus preventing any other user from potentially gaining access to your private messages.
@cqajagsaw
@cqajagsaw 6 ай бұрын
For those who don't understand, steps to take: 1. Make both User A and B in chats table as row owners 2. Add ReceiverID in Message Table 3. Make both SenderID and ReceiverID as row owners in Message Table. 4. Don't forget to assign User B to the ReceiverID (in current screen) in the Chat component, this is because after you do step 2, you need to assign it in Chat component.
@eliasbendaouadji7129
@eliasbendaouadji7129 6 ай бұрын
Hi, how to "Make Row Owner" ? Thank you so much
@cqajagsaw
@cqajagsaw 6 ай бұрын
@@eliasbendaouadji7129 theres a lot on youtube just search "glide apps make row owner" basically you click on the little arrow(or dropdown icon) of the collumn, there will be few options, just choose make row owner.
@GRUMO
@GRUMO 6 ай бұрын
Thanks for clarifying @@cqajagsaw
@GRUMO
@GRUMO 6 ай бұрын
Click on the column header's little down arrow to display that column's menu, then click on the Make Row Owner item. You can only apply this setting to text or email type columns. @@eliasbendaouadji7129
@leungyatluns1b167
@leungyatluns1b167 7 ай бұрын
best tutorial yet so far
@GRUMO
@GRUMO 7 ай бұрын
Thank you
@nocodeloser
@nocodeloser 3 ай бұрын
Took me a few times to watch but finally got it! Thanks dude!!
@GRUMO
@GRUMO 3 ай бұрын
Glad I could help!
@eliasaderemi8963
@eliasaderemi8963 8 ай бұрын
Brilliant Tutorial. Thank you GRUMO
@GRUMO
@GRUMO 8 ай бұрын
Glad you liked it!
@bankeadebayo9149
@bankeadebayo9149 5 ай бұрын
Thank you, this tutorial was very very helpful!
@GRUMO
@GRUMO 5 ай бұрын
You're welcome!
@erinleviton7530
@erinleviton7530 2 ай бұрын
Thank you Grumo, this is amazing and you are the best tutor
@GRUMO
@GRUMO 2 ай бұрын
Yes. You could count all the messages sent since a chat conversation was clicked on by the user. On the chat click action, you need to add a set action that updates a user-specific date column. Then, create a query column that relates to that chat's messages where the message timestamp is later than then clicked time stored in the user-specific date column for that chat. The use a roll-up column to add up all the query results.
@erinleviton7530
@erinleviton7530 2 ай бұрын
@@GRUMO Thank you 💜 Still struggling to understand this as I am new to glide but I will figure it out..
@GRUMO
@GRUMO Ай бұрын
@@erinleviton7530 🙌
@ikebuguro
@ikebuguro Ай бұрын
do you have any ideas as to how i could create a chat where you could select the sender to be a fake user/profile that's been created? i'm making some sort of roleplay thing with multiple characters, so i've created a profile for each character, but i can't make an account/email for each because it would be time consuming and it would require logging in and out. my idea was to have some option to select the profile for the character who is speaking and have the name/photo of the person sending the message populate based on the data in the profile. ideally being able to have each of them have their own chat in the way you've shown in this tutorial, but using the character's name instead. i tried using this tutorial as a base for my idea since it's a very niche thing i'm doing and i can't find much online to help me with it. i think what i'm trying to do is create some sort of proxy to write as, but i'm not sure exactly. i know it's a pretty random thing i'm trying to do, i'm not sure if i'm explaining it correctly but pretty much trying to create chats with different names that aren't actual users. thanks if you see this and respond!
@GRUMO
@GRUMO Ай бұрын
I’m not sure that’s possible using the chat component. You would have to create your own custom chat logic that doesn’t rely on users being logged in. You could use the list collection component to display messages and a way to select which profile you want to be the one chatting.
@feranmionabanjo2241
@feranmionabanjo2241 2 ай бұрын
What if we transform this into an authorized application where there's no need to manually input contacts in the Glide backend, and the entire setup is preconfigured? Users could simply download the app and start chatting immediately, with all configurations already in place.
@GRUMO
@GRUMO 2 ай бұрын
Every user needs to be listed in the Users table for the chat to work. You could pre-filled all the users info but all users would still need to individually login into the app to chat.
@soundwordhk
@soundwordhk 2 ай бұрын
I want to create a public chat instead of private chat. I followed your steps but when one user sent a message. after I changed to user B, the messages user A sent will not show the user name. How do I fix this?
@GRUMO
@GRUMO 2 ай бұрын
Make sure you save the user name for both users in the messages table.
@tahuhunter1445
@tahuhunter1445 7 ай бұрын
Hey mate. Cool content. For some reason, I cant start a new chat or click on a new user once my initial chat has started....any idea what I am doing wrong here? It works once if I clear the data from the message and chat table....'
@GRUMO
@GRUMO 7 ай бұрын
Sorry. I can’t tell with just that info.
@matheusbnedel
@matheusbnedel 3 ай бұрын
the solution for me was the following: - On the users table, create a lookup column pointing to the chats User B column, call it "Chat User B ID" - Change the "Chat: Start" action to check if the column "Chat User B ID" is the same as the value of the clicked user (the other user) email, if so, simply navigate to Chat REL screen. Else, create new row and navigate to Chat REL screen
@ZachHayden
@ZachHayden 4 ай бұрын
Is there a way to attached this type of chat to a specific project? I want to setup a chat between a person who submitted something and the admin.
@GRUMO
@GRUMO 4 ай бұрын
You replicate the logic in this template but you cannot copy and paste components/logic between apps.
@sheisnotjustafriend2728
@sheisnotjustafriend2728 Ай бұрын
Hey have you been able to figure out how to do it because I’m really struggling to to this step
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
Hi, I'm here again. Sorry to keep asking but... I need to put a warning about unread messages in my app's private chat, I've already tried css but it didn't work in my version, do you have any templates or ideas to help me? I read some things in the Glide community but nothing opened my mind on how to do this. Thank you in advance.
@GRUMO
@GRUMO 7 ай бұрын
You need to compare the timestamp of the last message with the timestamp the last time the chat was viewed. If the first is after the second, then mark it as unread. Or only marks it as read, when the second is after the first.
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
@@GRUMO Thanks I'll try it!!
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
@@GRUMO Unfortunately I wasn't able to do this: timestamp from the last time the chat was viewed, I tried to put it in the click when opening the chat but it is already configured with the other steps to "collection user" according to your video and in this "collection user" I also don't have the timestamp.. I'm getting beat up by Glide
@EquipaAcademiaLR
@EquipaAcademiaLR 4 ай бұрын
If I buy your chat, can I integrate it in my app that is already done?
@GRUMO
@GRUMO 4 ай бұрын
You can’t because app components cannot be copied across apps. However, you can use it as a reference to build your own chat logic.
@josephmassaua5486
@josephmassaua5486 7 ай бұрын
Hi each user con only create one chat then it will not allow you to to click on another person to even try to chat what did i do wrong thanks!
@GRUMO
@GRUMO 7 ай бұрын
Maybe you have Row Owner applied to the email column in the Users Table? Remember Row Owners applied to an email column prevents any user except the user whose email matches the email column to access the data inside a row. If you apply it to the Users Table, then you won't be able to see any user except yourself.For the Messages Table, you need to apply row owners only to the Sender ID and Receivers ID columns and those columns must be of the type email. That way, you, or the message receiver/sender, will be able to access the messages inside a chat they share.
@matheusbnedel
@matheusbnedel 3 ай бұрын
the solution for me was the following: - On the users table, create a lookup column pointing to the chats User B column, call it "Chat User B ID" - Change the "Chat: Start" action to check if the column "Chat User B ID" is the same as the value of the clicked user (the other user) email, if so, simply navigate to Chat REL screen. Else, create new row and navigate to Chat REL screen
@maximecj5095
@maximecj5095 8 ай бұрын
Hello i had a problem at the level of Glides row limit what can i do about it
@GRUMO
@GRUMO 8 ай бұрын
Glide’s free plan has a limit of 500 rows.
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
Hello, very good class but I'm new to the subject and I had the following problem, I added a @Receiver ID column in Messages (table) and marked Row Owner in both @Sender and @ Receiver, both in Messages (table) and in Chats (Table ) but I believe there's a step missing because it didn't work, the Receiver ID in Messagesdoesn't receive information, what could I be doing wrong?
@GRUMO
@GRUMO 7 ай бұрын
Make sure both @Sender and @Receiver columns are of type "email" otherwise it won't work.
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
Both are marked as Row Owner (Messages and Chats Tables), but when I do the test I send the message from one User to another the Message disappears on the chat screen
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
And both are of type "email". I didn't adjust anything in the Layout and in the collections, could be that?
@GRUMO
@GRUMO 7 ай бұрын
@@bibliaquizgame I don't know why it doesn't work for you. If you're logged in as either user and both users have access to the rows they are assigned to via row owners, you should see the messages. You can test to remove row owners and see if you see them, but it should work.
@bibliaquizgame
@bibliaquizgame 7 ай бұрын
Hi @grumo, thanks for the response. If I remove the row owners I can see it correctly. The message disappears from the screen only when the row owner is /used/applied. The idea of using the row owner is only due to data security issues.@@GRUMO
@virginiamontecchiari5653
@virginiamontecchiari5653 7 ай бұрын
I have watched this video three times, and I have done everything correctly but private chat doesn't works, because any user can also see the chat in "messages". I need help! Thank you
@GRUMO
@GRUMO 7 ай бұрын
Have you enabled "Make Row Owner" to both User A and User B columns inside the Messages table?
@virginiamontecchiari5653
@virginiamontecchiari5653 7 ай бұрын
"User A" and "User B" are in "chat" table and I have enable "Make Row Owner". And in the "Messages" table , I have "sender ID" which, if I mark it as "Make Row Owner", the private messages are also not sent tO the other person @@GRUMO​
@cosmingolache1052
@cosmingolache1052 3 ай бұрын
There is any way to change to bottom icon when a user is receving a message to notify that person ?
@GRUMO
@GRUMO 3 ай бұрын
The bottom tab icons cannot be changed natively. Maybe it's possible using some CSS trickery buy I've never done it.
@cosmingolache1052
@cosmingolache1052 3 ай бұрын
Thank you so much for your reply. Is there any way to create a sort of notification for the user to notify him with a notification for a new message ?
@GRUMO
@GRUMO 3 ай бұрын
@@cosmingolache1052 The simplest way is to attach send email action to new messages. The problem is that you probably don't want to send a new email for each new message so you would have to create logic to decide when to send email notifications. Glide also had a push notification option but they deprecated it because it was unreliable.
@rafaelyinflow
@rafaelyinflow 8 ай бұрын
Does it keep working automatically if new users are added?
@GRUMO
@GRUMO 8 ай бұрын
Yes. The Private chat logic will keep working regardless of how many users you add. Of course, Glide plans have limits as to how many rows you can use. Check Glide's pricing page for more details.
@ciarads4275
@ciarads4275 4 ай бұрын
Hello plz help me as soon as u see this. I did all the steps you did but when I click components and click on chat for some reason it doesn’t allow me to type anything that option isn’t there and I don’t know what to do.
@GRUMO
@GRUMO 4 ай бұрын
I can't tell what's the issue. Just make sure you are mapping all the correct columns in the chat component exactly as shown in the tutorial.
@ciarads4275
@ciarads4275 4 ай бұрын
@@GRUMO that’s the thing I followed your step exactly how it was and for some reason it doesn’t show a column to start typing only when i click comments, and even that won’t let me type, but it does show the bar
@ciarads4275
@ciarads4275 4 ай бұрын
@@GRUMO also, do you know how to not make people edit my app an example is for some reason my app is published, but people are still allowed to edit messages on it and I don’t know how to not make that happen
@ciarads4275
@ciarads4275 4 ай бұрын
@@GRUMO if there’s anyway, I can add you on any platform and you could help me out and figure this out that would be much appreciative. It’s for school project and I just want a good grade
@GRUMO
@GRUMO 4 ай бұрын
@@ciarads4275 It's difficult to know your issue without seeing your app. When you publish your app you can go to Settings>Privacy and select whether you want the app to be private or public and who can access your app. Please check Glide's documentation for more details. You can also get help on the Glide online community.
@MuhammedMumeeth
@MuhammedMumeeth 8 ай бұрын
It would had been great if u can send a google sheet file plz
@GRUMO
@GRUMO 8 ай бұрын
This template doesn’t use Google Sheets
@erinleviton7530
@erinleviton7530 3 ай бұрын
But... Other users can still see all private chats in "Messages"?
@GRUMO
@GRUMO 3 ай бұрын
You need to implement row owners as explained in the comments.
@Sharmarke35
@Sharmarke35 8 ай бұрын
Buddy how can i remove made with glide on my screen
@GRUMO
@GRUMO 8 ай бұрын
Whitelabeling is only available on paid plans.
@Sharmarke35
@Sharmarke35 8 ай бұрын
​@GRUMO buddy I paid 25$ Starter plan.
@GRUMO
@GRUMO 8 ай бұрын
@@Sharmarke35 Go to your app’s Billing settings and click "Enable Whitelabeling." On the Starter Plan they charge $10/month per whitelabeled app. The Pro plan includes whitelabeling for up to 3 apps.
@Sharmarke35
@Sharmarke35 8 ай бұрын
​@@GRUMOthanks buddy
@GRUMO
@GRUMO 8 ай бұрын
@@Sharmarke35 🙌
@arq.giselalopezpalma952
@arq.giselalopezpalma952 2 ай бұрын
OJALA ESTUVIERA EN ESPAÑOL ESTOS VIDEOS....
@GRUMO
@GRUMO 2 ай бұрын
Tengo alguno en Español pero la mayoría son en Inglés
Build No Code Private and AI Chats using the Glide Chat Component
37:15
Glide: Allow Users to Follow and Unfollow Each Other
19:49
Robert Petitto
Рет қаралды 2,5 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 77 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 23 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 7 МЛН
How I Use AI + No Code to Validate any SaaS Idea
10:39
Simon Høiberg
Рет қаралды 270 М.
Создаем Онлайн Кинотеатр на Glide с Помощью ChatGPT
25:19
Константин Попов
Рет қаралды 7 М.
How to manually create a new filament in Spoolstock 2.0
4:33
🎓 Glide Tutorial - Create Unlimited FREE PDF's
4:32
Loqode
Рет қаралды 4 М.
A GENIUS Way to use ChatGPT for Presentations!
7:38
Jeff Su
Рет қаралды 123 М.
How to create your own chatGPT in Flutterflow (updated version)
23:45
Glide: Crea tu propia app de Chat
18:09
Horizon Apps Te Enseña
Рет қаралды 4 М.
Glide 101: Row Owners vs. User Specific Columns
25:01
Robert Petitto
Рет қаралды 5 М.
Glide: Top 7 Navigation Methods, Tips and Tricks
25:19
Robert Petitto
Рет қаралды 18 М.
Байкеры помогли доехать маме и сыну 😯
0:20
Фильмы I Сериалы
Рет қаралды 2,4 МЛН
RINTANGAN AIR #waterpark #summer #waterslide #fun #gadgets
0:19
ABANG FAAREZ
Рет қаралды 55 МЛН
Funny Fails 🤭🤭🤣 #failsvideo #shortsfails #funnyfails  #fails .
0:52
How to drink orange juice legally @kahoko6607
0:29
OHIOBOSS SATOYU
Рет қаралды 21 МЛН