How to control when an app user can change profile settings?

Hello Everyone! Is there anybody that can show me exactly how I can set a limitation on how many times a user can change their profile picture? For example, the user can only change their profile pic “X” times every “X” amount of days. I’ve tried figuring this out myself at first so now I’m asking my fellow bubblers!

I think the best way to do this would be to store the data in your database about when they changed the profile picture. And, store it so that you see each and every time they’ve updated their picture.

On the UI, put a condition that says if “count” of “profile updated” filtered for “updated time > current time - 3 months” then don’t display option to update profile picture.

Thanks a lot, you’re awesome!

1 Like