欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

[Drupal模块] 8个Drupal 投票/评比模块对比分析 [复制链接]

shiping1 的头像

[Drupal模块] 8个Drupal 投票/评比模块对比分析 [复制链接]

  
跳转到指定楼层
楼主
 
发表于 2013-6-13 20:17:06 |只看该作者 |倒序浏览
Drupal有很多种投票/评比模块,有的简单、有的复杂,如何选择?


fivestar
这个用的人较多,作者一直在更新,每个ip可以在1星到5星之间投票并计算平均值。


Plus1
有点类似digg的风格,jQuery技术,在drupal专业开发指南里面专门介绍了这个例子。


Node Vote
对每篇文章投票1-10分。
这个模块比较精简,不像前面两个需要依赖与voting api,但该模块不支持匿名用户投票,如果想支持匿名用户,作者给出了解决方案http://drupal.org/node/32519 ,但对大站点的性能有影响。看了一下他的数据库,是根据uid和nid记录的,没有ip,也没有缓存。

NodeReview
可设定多种评比,要建一个新节点类型,需要 Views 显示结果 。


Simple Vote
更简单的五星级投票。

userreview
类似 Amazon.com 的书评功能,投票并写心得,心得是一个独立的内容类型,很久没更新了,不支持drupal6。

Vote up/down Package
类似 digg.com,加分或减分。

Voting
也是五星级投票,可显式平均票数和我的投票。


----------------------------------------------------------------------------
参考: A Review of Node Review Modules


Interested in allowing users on your site to rate products or other content? Overwhelmed by the number of similarly-named Evaluation and Rating modules? This article will show you what each node review module does in order to help make the decision on which one to use for your purposes a bit easier.

Node Vote

Node Vote displays a "star" rating on each node, and allows viewers to click a "Rate It" link in order to provide a rating of their own, from 1 to 10. It also provides several configurable options, including which node types should be vote-enabled, whether users can vote multiple times, and whether a user is allowed to vote on their own content.

NodeReview


NodeReview creates a new node type called "review," and allows you to specify which node types may be reviewed (including reviews, for maximum recursive fun!). You may also specify "axes" for reviews, meaning that you can review different aspects of the node you're reviewing (price, storyline, etc.)

Note: NodeReview requires the Views and Voting API modules.


Simple Vote

True to its name, Simple Vote provides a simple widget for rating any node from 1 to 5 stars. By hovering and then releasing your mouse over a star, you register your vote, and the widget updates to show the overall rating. You can change your
vote at any time. As a result, anonymous voting is not supported.



Note: Simple Vote requires the Voting API module


userreview
Another module which stores reviews as nodes, the userreview module allows users to rate nodes on a scale of 1-10, along with a comment. It tallies both the overall rating of a node, and also provides a breakdown of what each user voted. An administrator can specify which node types can be reviewed, and which roles can create and/or edit their own reviews. The module also provides a number of display-based customizations (naming, fieldset defaults, etc.).


Note: userreview requires the Views and Voting API modules.


Vote up/down Package


This module provides a simple widget for users to "thumbs up" or "thumbs down" a node, similar to the system used at sites like http://digg.com/. A tally of points is provided on each node, and a "votes" tab shows the individual users' results. By combining this module with others such as Voting Actions, you can allow users to promote nodes to the front page themselves once a threshold is reached.

Note: Vote up/down Package requires the Voting API module.


Voting


The Voting module acts very similarly to the Simple Vote module, in that it provides a "star" interface that you can use to cast your vote. It shows both the vote you chose as well as the average vote. It includes the source .fla file for changing the way the voting widget looks.
 
 
 
友荐云推荐


来自 http://www.doooor.com/forum.php?mod=viewthread&tid=8490


模组介绍

以下为Drupal部份模组的中文介绍。完整的模组列表,请到Drupal.org的模组单元。也欢迎你一起来写模组介绍

Advanced Poll

Advanced Poll 可以用来替代内建的投票模组,还提供多选投票、抉择工具等投票方式,以及一些管理选项。功能包括:
  • Approval Voting - 可以选择多个选项的投票方式。
  • Borda Count - 可将选项排序的投票方式。
  • Instant-Runoff Voting某选项的得票率超过50% 后自动结束。
  • Electoral lists - 只有特定使用者才可投票。
  • 使用者可以取消之前的投票,管理者也可以重设投票。
  • 可以检视每个使用者的投票状况。
  • 可以设定投票为总是显示结果、投票后才显示结果、或是​​投票期间结束后才显示结果。
  • 有快取机制并支援jQuery(Ajax 化的投票效果与编辑方式)
  • 在特定时间开启投票,并且/或是在某段时间后结束。

DrupalIt

一个类似digg/reddit的社会性投票模组(意思是你可以看到谁跟你投了一样的票),让使用者可以针对特定的内容类行进型投票,并提供最高票/最近投票(整体/日/周/月)的区块。示范网站:http://www.renmenbi.com

Fivestar

又一个投票模组,可以作五颗星的投票。似乎与Views 的整合作得不错。功能如下:
  • jQuery 滑动效果与AJAX 投票方式。
  • 如果使用者关闭了JavaScript,还是可以顺利运作。
  • 匿名使用者可投票。
  • 有防止灌水功能。
  • 与Views 整合,可以依得票数排序,或是以最低/最高得票进行过滤。
  • 提供CCK 栏位。
  • 提供API 供其他模组使用。

Flag

Flag 是一个很有弹性的标示系统,可以让管理者自订运用,提供无限多种内容、回应或使用者的标示方式,例如收藏书签、标注重要、标记为朋友、或是标示为恶意内容。标示的方式可以是个人的,每个人都可以个别地进行标示。或者是整体的,只要有一个人标示/取消标示,就会完全改变其状态。可以与Views、Action、Token 搭配运用。

flag content

让使用者把有问题的内容做个标记,并会寄电子邮件通知管理者进行进一步的审查,让使用者协助进行网站内容的管理。

Hall of Fame

「名人堂」是用来表扬使用者对于网站的贡献,除了可以依据周/月/年列出网站里最活跃的使用者(依据发表的文章与回应数量)、最热门的文章之外,还可以列出网站的文章/档案数量、上线时间以及会员数。

jRating

这个模块使用jQuery 技术为节点提供评分功能,当javascript 被禁止时,使用标准形式,如果启用javascript 就可以通过图片(如五星) 动态进行评分。这个模块能够与views 模块协作,它提供一个views 字段,让评分结果可以通过views 显示。

Latest and Greatest

提供一个显示来自特定联播分类的区块,区块里每个联播项目旁边,都有一个投票按钮,如果达到管理者所设定的投票数,该项目就会被留在区块里,即使后来有新的联播内容进来,也不会被取代。必须与voteapi.module合用。

Loves and Hates

让使用者可以针对某个主分类里的次分类词汇,投票表示「爱」或「恨」。在使用者的个人档案里,可以看到他喜欢或讨厌哪些分类,也有一个页面会显示出所有分类词汇的爱恨排行榜。需与VotingAPI一并使用。

Node Vote

让使用者可以针对内容进行投票,可以显示出每个内容节点的平均分数和投票数。如果使用者没有投票,将无法看到投票结果。其他功能包括:
  • 提供了显示最高票数/分数的内容、投票最多的使用者等区块。
  • 可以设定哪些角色的使用者可以投票或是看到投票结果。
  • 可以设定针对哪些内容类型进行投票。
  • 如果安装了user points 模组,使用者可以透过投票赚取点数。
  • 可以使用星号或/和文字来呈现投票分数。网站管理者可以修改星号的外观图档。
  • 投票结果可以显示在摘要或全文模式里。
  • 使用者可以对自己的内容投票。
  • 使用者可以改变投票分数。

NodeReview

可以针对特定内容节点进行多种面向的评分,例如针对电脑产品文章,提供价格、功能、使用介面等评比角度。需要使用Views 模组。

Plus 1

一个类似digg 的投票工具。

Smackdown

此模组可以随机挑选两个内容出来PK,例如两个影片、两张照片、两篇文章等等。Drupal 6版本可以比较不同类型的内容。由SonyBMG/Lullabots赞助开发。范例:http://sparkleshelf.com/content/kerry-washington-vs-mary-kate-olsen 图示:

User Points

当使用者进行某些动作时(例如发表文章、评论、投票、邀请朋友、购​​买商品),就会获得点数。每种动作可获得的点数,都可由管理者设定。如果发表的文章或评论被删除,送出去的的点数会被扣回;并有区块可以显示使用者的分数、以及点数最多的5位使用者。目前已经有5.x, 6.x版本。

userreview

让使用者可以针对已发表的内容,进行评论,类似Amazon.com 的书评。使用者必须先打分数(0-10),然后再发表意见。每个人针对每篇文章只可以发表一次意见。管理者可以设定哪些内容类型可以让使用者评论,以及评论表单与结果的呈现方式。此模组需要Voting API 和Views 模组,并可与userpoints 模组配合使用。

Vote up/down Package

这个投票模组可以建立类似digg.com/reddit.com 的网站,采用AJAX技术来投票,并有bookmarklet 可供快速地提供报导连结,也提供多个RSS。

Voting Actions

本模组运用了VotingAPI 和Actions 模组,让管理者可以设定规则,当使用者在针对内容进行投票之后,如果达到了特定票数,就会执行所设定的动作。例如部落格文章的平均分数超过7 分时,就可以自动推荐到首页;如果有50 个使用者都给它10 分,就会自动置顶。

Voting API

Voting API如奇名,是一个提供开发者撰写投票(voting)、计分(Rating)、评选(Moderation)模组时的API。他提供了几个重要的部份,包含Rating of any content (comments、nodes、users、fish、whatever) 1.可对任何一种内容(node、comment、user...等)计分2.允许单一内容时,拥有多重计分的选项(Multi-criteria voting) 3.自动计算结果4.对于结果快取,提高读取效率5.若要做额外的计算,可以用该模组提供的hooks Voting API模组,本身不包含任何实际的投票功能,需要搭配其他模组来使用。需要Voting API的相关模组有: Simple Vote mediumvote Vote up/down Package Voting Actions userreview Latest and Greatest
普通分类: