Time for some upvotes
Yesterday evening I did some work on setting up an initial upvote system. Initially this will be very simple:
plan -> upvote <- user
These are stored in the Postgres database but we can move this to other more efficient storage systems later on if needed. So as long as you log in, you can upvote a plan. Having many upvotes does nothing at the moment, so there is no weight attached to it when displaying plans on the home timeline or something. It's still based on newest creation date for now.
This will be changed too: when not logged in, it will show the latest plans. But when logged in, it will show the latest plans from friends (after I implemented this).
php
voting system
postgres
About jaytaph
Codemuser extraordinaire
Loves building crazy and insane stuff. Happiest when left alone. All I wanted was a Pepsi, just a Pepsi.
RSS feed
Joined: | March 24, 2023 |
Following: | 2 |
Followers: | 2 |
Posts: | 49 |
Comments: | 3 |
Upvotes: | 4 |
Previous musings
- (1) October 2024
- (1) September 2024
- (1) July 2024
- (2) February 2024
- (3) January 2024
- (3) December 2023
- (4) November 2023
- (5) October 2023
- (10) September 2023
- (8) August 2023
- (1) June 2023
- (1) May 2023
- (4) April 2023
- (5) March 2023