Pligg Support

Where can I find the code that is responsible for the calculations of what news items get to be on the frontpage according to the number of upvotes, submission time and comments?

How does it work exactly? Does it reset every 24 hours?

Or will a link submitted 3 months ago with the highest number of upvotes still get to be on the frontpage with new link?

Possible Answers

    It's controlled by two factors under Admin > Settings > Voting:

    Votes To Publish (5 by default) and Days To Publish (10 by default)

    That means when a story get 5 upvotes within 10 days, it will become Publish and will go to the frontpage.

    If a story get 5 upvotes after 11 days or so, it will not go to the frontpage anymore.

    The frontpage displays the Published stories by newest submission, meaning the topmost stories are the newest one. However, you can do the filtering by clicking the "Sort" dropdown.

    | Posted 272 days ago | Permalink | Hide Replies

Who Upvoted this Story