Site users rating

Please tell me, give me an advice, how to make a rating of number of posts on website? For example, one user wrote a post other users liked it, so how to make a rating of such posts with likes? I don’t know, do I have to write it in PHP or maybe in JS? Give me and advice, how to make it on a website.

That’s an open-ended question.

What type of site, a forum?
What kind of Likes, Discourse Likes?
How does the site store the information, a database?
What is the criteria used to define the rating?

I know this question is very abstract. But I need your advice. For example, on a site people ask and answer questions. So some answers are useful, people like it. So how to make such answers be higher than others? I.e. the higher votiing the higher position.

You order the posts by number of likes in descending order

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.