I’m creating a dating app with a messaging system, making pretty good progress. I need help with the following:
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?
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?
I’d like to have them login and then see a profile form page for them to complete, how do I take them there?
I’d like all emails to be unique, how do I prevent new users from entering already existing email address?