用Drupal做SNS需要的模块

最近我搜索了一下,似乎Drupal很适合做SNS,当然,要借助无尽可能的社区组件了。先列一个单子,看看能不能做出来。

可用组件:
用户订阅,更新通知:Watcher,Comment Notify
用户积分核心:User Points,
用户积分扩展:User Points Contributed,User points Nodes and Comments,User Points Voting API,Userpoints Karma,Userpoints Login,User Points User Picture
投票:Fivestar,Vote Up/Down,
收藏:Favorite Nodes
Tag:Community Tags
奖章:User Badges
生日:Birthdays
个人页面:Author Pane,Profile Setup
关系:User Relationships
用户组:Organic groups
臭味相投:Affinity
邀请:Invite
必要组件:
用户投票接口:Voting API
列表增强:Views
用户向导:Pageroute
内容增强:CCK,Token
功能增强:Rules
希望Drupal就像Lego一样,能帮拼出我心中的图样
 

Userpoints (用户积分)

模块说明
用户可以通过发表内容,评论,投票等获得积分 地址:http://drupal.org/project/Userpoints
用户权限
admin userpoints (管理积分)
view userpoints (查看用户积分)
模块设置
1、Transaction status (交易状态、获得方式)
2、Points branding (积分名称)
2.1、Word to use in the interface for the upper case plural word Points (大写积分复数的名称)
2.2、Word to use in the interface for the lower case plural word points (小写积分复数的名称)
2.3、Word to use in the interface for the lower case singular word point (小写积分单数的名称)
2.4、Word to use for the uncategorized category (未分类名称)
3、Points expiration (积分到期)
3.1、Expire points after (积分到期)
3.2、Expire points on this date (积分到期日期)
3.3、Expiration entry description (到期说明)
4、Messages (消息)
4.1、Display message (显示消息)
5、Report Settings (报告设定)
5.1、Transactions per page (每页数量)
5.2、Display zero point users (显示零积分用户)
5.3、Users per page (每页用户数量)
6、Points Categorization (点数分类)
7、Points for basic events (基础事件积分)
 
另外,该模块还可能用到 userpoints Nodes and Comments  contributed modules   Userpoints Voting API 等来做为扩展
 
userpoints模块是一个用于处理用户积分的模块,可以通过其他模块的结合使用,进行用户积分的设置,如用户发表文章为多少个积分,发表评论为多少个积分,邀请其他用户为多少个积分,还可以对积分进行赠送.当然这些功能是要和其他模块相结合来使用,或者使用userpoints的API进行调用.
与userpoints相关的模块:
contributed module这个功能最多,有很多个模块相结合而成,如赠送积分,发表文章得积分等
Nodes and comments
Userpoints Node Action
Kudos
Vote Up/Down
Simple Karma
Referral
Node vote
Affilates
Buddy List
Userpoints Login
User Points Voting API
User Points Top Contributors
Userpoints Store Credit
Userpoints Ubercart
Userpoints Ubercart discount
Userpoints Pay per view
Userpoints User Picture
Migrate extras
在userpoints中,提供了几个API函数还是比较有用的,官方文档在这里
userpoints_get_current_points($uid = NULL, $tid = NULL);得到指定用户指定分类下的积分
userpoints_get_max_points($uid = NULL, $tid = NULL); 得到指定用户指定分类下的最大积分
userpoints_get_vid() 得到分类
userpoints_get_default_tid() 得到默认的term
userpoints_get_categories() 得到所有的类别
userpoints_get_default_expiry_date() 过期日期