Urban Dictionary 上的拇指系统

发布于 2024-08-17 04:23:21 字数 290 浏览 6 评论 0原文

我正在考虑实施一个拇指系统,但我的系统需要注册,因此排除了人们多次投票的可能性,除非他们创建一个新帐户来这样做。所以我想知道城市词典的拇指系统。它是如何运作的?我想象我的 IP 将存储在数据库中,因此人们无法多次投票,但 IP 确实经常更改,尤其是当您使用 iPhone 时。可能是 cookie 和 IP 检查的组合。谁能给我更好的见解?他们会检查什么来确保您不会投票多次?

我问的原因是因为我可能想让我的系统成为一个公共系统。甚至可能是混合型,类似于 SO,您可以在创建帐户之前提出问题,然后将两者链接在一起。我正在使用 PHP 和 MySQL。

I was thinking of implementing a thumbs system, but mine would require a registration thus ruling out the possibility of people voting more than once unless they create a new account to do so. So I was wondering about Urban Dictionary's thumb system. How does it work? I would imagine that my IP would be stored in a database, so people would not be able to vote more than once however IPs do change pretty often and especially when you're on an iPhone. Probably a combination of cookies and IP checking. Can anyone give me a better insight? What would they check for to ensure you don't vote more than once?

The reason I ask is because I may want to make my a public system instead. Maybe even a hybrid, similar to SO where you can ask a question before creating an account and then have the two linked together. I am using PHP and MySQL.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

悲念泪 2024-08-24 04:23:21

几乎总是用cookies完成的。正如您所说,IP 不能(天真地)随着它们的变化而使用,或者覆盖太多人(即给定办公室中的每个人等)。

但在线民意调查无论如何都不可靠,所以不要太担心解决没有人关心的问题。您可以实施更“智能”的规则,但随后您需要询问您从所有工作中获得的好处是什么。

就我个人而言,我会选择:

  1. Cookie
  2. 强制注册投票
  3. 对投票模式的某种分析

因为不言而喻,人们可以不断注册,以提交更多选票。这实际上取决于人们从投票中获得什么好处,以及你有多关心(就时间而言,显然就是金钱)。

Almost always it's done with cookies. As you say, IPs can't be used (naively) as they change, or cover too many people (i.e. everyone in a given office, etc).

But online polls not reliable anyway, so don't get too concerned about solving a problem no-one cares about. You can implement more 'intelligent' rules but then you need to ask what benefit you are getting for all your work.

Personally, I would go with:

  1. Cookies
  2. Forced signup voting
  3. Some sort of analysis of voting patterns

Because it goes without saying that people can just sign up constantly, to submit more votes. It really depends on what benefit people get from voting, and how much you care (in terms of time, which is, obviously, money).

携余温的黄昏 2024-08-24 04:23:21

我知道城市词典每天允许不止一票。准确地说,每六个小时一次。

I know urban dictionary allows for more than one vote per day. Once every six hours to be exact.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文