Opened 17 years ago
Closed 16 years ago
#797 closed Defect (wontfix)
Profile voting allows users to vote multiple times on a single profile
| Reported by: | jbk | Owned by: | davea |
|---|---|---|---|
| Priority: | Trivial | Milestone: | Undetermined |
| Component: | Web - Project | Version: | 6.2.19 |
| Keywords: | profile | Cc: |
Description
Optimally votes should be kept in a seperate table with the headers: voting_userid (int), profile_userid (int), vote (tinyint) where vote is either +1 or -1
Triggers can be used to update the existing table via selects like UPDATE user_profile SET recommend = (SELECT sum(vote) from profile_votes WHERE vote = 1 AND profile_userid = 12351) WHERE user = 12351
(Roughly sketched queries)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Hasn't this always been the case? I can't remember it being any else. And added to that, I still don't know what voting for a profile does, will it make you UotD?
comment:3 Changed 17 years ago by
No, it will just tell the admin who approves the profiles for UotD how valueable this profile is.
comment:4 Changed 16 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |

Does profile voting do anything useful?