Need some help for my dating app

Hello,

I’m creating a dating app with a messaging system, making pretty good progress. I need help with the following:

  1. I’d like users to be able to block other users. So I placed a button “Block” on their profile but I can’t find an appropriate action for that. I added a Boolean field on the user table, but that’s where I’m stuck, any ideas?

  2. I would also like to mark messages as “read” once they are read with a date/time stamp. So as soon as the other person reads the message, it should record the date/time and mark it as read. How can I do that?

  3. I’d like to have them login and then see a profile form page for them to complete, how do I take them there?

  4. I’d like all emails to be unique, how do I prevent new users from entering already existing email address?

Thank you! :blush:

You can use relations & lookups for visibility conditions to hide the users for both sides when one of them have “blocked” the other.

Thanks @ThinhDinh, what do I make the block button do?

I did this a while ago, I record them to a new sheet, each “blocking” relation is a new row. It contains email 1 and email 2 in an array format for Glide.

Then in the user profiles sheet, make a relation to the blocking sheet, return all the emails in those columns. If I recall right, what I did was only show another user’s profile to signed-in user if blocking lookup doesn’t contain that profile email.

Admittedly I haven’t made a step to let a user unblock another user but probably you can let them delete the blocking row.

This is really helpful @ThinhDinh, is there a function for the button to create this new row in a new sheet?

Increments on block column seems to be the only option as far as I can see.

Just use that as a form button.

An increment on a user-specific column will only block it from one side so I had to use a form.

Ok thanks! lots to think about :star_struck: :clap:t3: :clap:t3: :clap:t3:

Hi, not a direct response, but there is a course & template of tinder-like app on the site nocode mba (dont remember if this one is free or not…)

1 Like

I’ll check it out, thanks @AyS_0908 :pray:

Unfortunately, not free anymore …

http://nocode.mba/courses/tinder

Thank you so much @AyS_0908 I’ve been looking for it and couldn’t find it!

1 Like