Hi,
I’m trying to create a reputation system in Bubble, similar to those found in online forums. Here’s what I want the system to do:
- Reputation Buttons: Users can click positive, neutral, or negative rep buttons to give feedback to another user. Each rep is recorded in a log.
- Prevent Duplicate Reps: A user can only rep the same person once, but they should be able to edit their rep later (e.g., change from positive to negative).
- Rep Log Display: Show a list of all received reps for a user, including who gave the rep, the type (positive/neutral/negative), and optional comments.
- Total Reputation: Sum up all the received reps (positive = +1, neutral = 0, negative = -1) and display the total on the user’s profile.
I’ve created a data type for Rep Logs with fields for:
- User giving rep
- User receiving rep
- Rep type (positive, neutral, negative)
- Comment
I’ve also made workflows for buttons, but I’m struggling to:
- Ensure only one rep per user for each recipient.
- Update the total reputation correctly on a user’s profile.
Any advice on how to set this up or debug it would be greatly appreciated!
Thanks!