Cloning Tinder - Problem with time limitation

Hey Guys,

I’m planning on doing a tinder like app to practice and improve my Bubble skills. I’m still scratching the process, the datas and the workflows on paper. But what I can’t figure out is how to limit the likes a person can do? it would be like this :
When the user reaches a certain amount of likes => Block the like function for him for 2 hours for example => show a countdown => After 2 hours, allow the user to like again.
AND if the user buys some likes => Allow him to like again even if the countdown isn’t finished.

Any help would be appreciated, thank you in advance !

Can you create a value which you save to the user using Current Date/Time + 2 hours? Then set a conditional Unclickable on the like button if that value is greater than Current Date/Time.

Thanks for your answer ! and what should I do to re-allow the likes if the user becomes premium?

This topic was automatically closed after 70 days. New replies are no longer allowed.