Hello to all,
I kindly ask if anyone wants to help me understand how to implement my idea. I have tried various ways and I do not jump out.
This is what I would like to do:
In a special page I would like to make another user appear randomly (to logged user), but that every day is NOT the same.
It is possible that the user appears again after at least 30 days, in order to propose new people.
I thought about creating a “Random” collection where I will save the logged user & Random user association and the date when it happened.
In a second I thought of using the random picker for the “User” collection. But here I find it difficult, how can I compare it with the “Random” collection to check that the random user is not already associated with the logged user in the 30 days? In order to propose a new user?
Thank you all!!