23 Feature Request(s) (magaimg.net) submitted by Liberaltearslmfao 6 comments hide save share deport Comments (6) sorted by: top new old ▲ ▼ – MAGAparty2020 (8 points) Also, add a total subscriber counter and currently online count!!! permalink deport reply ▲ ▼ – ruddagar (4 points) That's got to be the most requested feature I've seen so far. I've seen some pedes say it's an easy add and others say it's tough. They'll get it eventually and we'll see how quickly it rises to over 7 million! permalink deport reply ▲ ▼ – Liberaltearslmfao [S] (2 points) It is easy. Like 5 minutes to implement easy. SELECT count(users) from users; SELECT count(users) from users u Where u.lastOnlineDate between now And 10 minutes. Then just cache the two numbers and run that sequel every 5 minutes. Then, make a rest endpoint. @GetMappings("api/users/count") Public ResponseEntity<Long> getMaxSubscribers() { Return ResponseEntity.ok().body(entity from sql above).build() } The add a counter in the UI. <row> <label> total subscribers </label> <div> {totalSubscribers} </div> </row> And finally add the api call to the client web side. Const totalSubscribers = this.getMaxSubscribers(); That's it. 5 minutes max. permalink deport reply ▲ ▼ – Liberaltearslmfao [S] (5 points) Prompt to login, if trying to upvote while logged out. Add login indication if logged out. permalink deport reply ▲ ▼ – Kaseiopeia38 (5 points) Card View. Larger images. But really! Thanks everyone! permalink deport reply ▲ ▼ – Liberaltearslmfao [S] (2 points) Principle developer here. I can help for free, and can sign a NDA. Not sure if you need/want it... permalink deport reply
Also, add a total subscriber counter and currently online count!!!
That's got to be the most requested feature I've seen so far. I've seen some pedes say it's an easy add and others say it's tough. They'll get it eventually and we'll see how quickly it rises to over 7 million!
It is easy.
Like 5 minutes to implement easy.
SELECT count(users) from users;
SELECT count(users) from users u Where u.lastOnlineDate between now And 10 minutes.
Then just cache the two numbers and run that sequel every 5 minutes.
Then, make a rest endpoint.
@GetMappings("api/users/count") Public ResponseEntity<Long> getMaxSubscribers() { Return ResponseEntity.ok().body(entity from sql above).build() }
The add a counter in the UI. <row> <label> total subscribers </label>
<div> {totalSubscribers} </div> </row>
And finally add the api call to the client web side.
Const totalSubscribers = this.getMaxSubscribers();
That's it. 5 minutes max.
Prompt to login, if trying to upvote while logged out.
Add login indication if logged out.
Card View. Larger images.
But really! Thanks everyone!
Principle developer here.
I can help for free, and can sign a NDA.
Not sure if you need/want it...