Topic voting like adult swim boards had
-
I would love it
-
@julian @baris @pichalite @yariplus @psychobunny @Nicolas
What would it cost to make it like the screenshot? So the topic voting and the icons views and comments.
here is a wayback-link how it was back then.
https://web.archive.org/web/20160414114149/http://boards.adultswim.com:80/popular/weeklyand this is how a topic looked like click
-
Hey guys!
Actually, when they requested that modification from us, we made the requisite changes in NodeBB core, and their theme contained the actual customizations.
For example, this topic: https://community.nodebb.org/api/topic/12751/topic-voting-like-adult-swim-boards-had
You can see that the
votes
field contains the topic vote. It's actually just the vote of the first post, but it works the same.You'll just need to make modifications to the category listing to show the topic votes number, that's all.
-
We aren't looking at a topic listing there. That's a category listing. It would be this:
https://community.nodebb.org/api/category/2/general-discussion
Which does also have a
downvotes
,upvotes
, andvotes
field for each topic.Edit: the
votes
field represents the total number of votes, not the difference between up and down votes.The changes you want to make should be done in this file:
nodebb-theme-persona/templates/partials/topics_list.tpl at master 路 NodeBB/nodebb-theme-persona
Persona - A modern and responsive NodeBB theme. Contribute to NodeBB/nodebb-theme-persona development by creating an account on GitHub.
GitHub (github.com)
-
@julian said in Topic voting like adult swim boards had:
Hey guys!
Actually, when they requested that modification from us, we made the requisite changes in NodeBB core, and their theme contained the actual customizations.
For example, this topic: https://community.nodebb.org/api/topic/12751/topic-voting-like-adult-swim-boards-had
You can see that the
votes
field contains the topic vote. It's actually just the vote of the first post, but it works the same.You'll just need to make modifications to the category listing to show the topic votes number, that's all.
Do you still have that modification? and is it possible to get/buy from you?
-
@PitaJ said in Topic voting like adult swim boards had:
We aren't looking at a topic listing there. That's a category listing. It would be this:
https://community.nodebb.org/api/category/2/general-discussion
Which does also have a
downvotes
,upvotes
, andvotes
field for each topic.Edit: the
votes
field represents the total number of votes, not the difference between up and down votes.The changes you want to make should be done in this file:
nodebb-theme-persona/templates/partials/topics_list.tpl at master 路 NodeBB/nodebb-theme-persona
Persona - A modern and responsive NodeBB theme. Contribute to NodeBB/nodebb-theme-persona development by creating an account on GitHub.
GitHub (github.com)
Adultswim used popular topics (not recent or categories).
here on nodeBB its something like this
https://community.nodebb.org/popular
https://community.nodebb.org/popular?term=daily
https://community.nodebb.org/popular?term=weekly
https://community.nodebb.org/popular?term=monthly -
It's not a plugin, it is a theme change.
-