[github]phpBB Ultimate Points Extension 3.1.x灵台方寸山 写了:我不知道兼容性如何,搜索到的资料
这类东西是有人在用的。
Ultimate Points应该是其中的一个可以用实现这个功能的:
[DEV] Ultimate Points Extension
============================================分割线===========================================
相关调整:
在用户控制面板界面 Ultimate Points 选项卡中
有一项 POINTS_TRANSFER_RECIEVED ,language/en/common.php 中没有对应的条目
翻译时自己在277行添加 POINTS_TRANSFER_RECIEVED 条目,暂时翻为:收到的转款/捐赠
论坛积分信息页面右边列表
ultimatepoints/core/points_info.php
代码: 全选
???????//?Read?out?all?the?need?values
????????$info_attach?????????????=?($points_values['points_per_attach']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:????sprintf($this->functions_points->number_format_points($points_values['points_per_attach'])?.?' '?.?$this->config['points_name']);
????????$info_addtional_attach????=?($points_values['points_per_attach_file']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_attach_file'])?.?' '?.?$this->config['points_name']);
????????$info_poll????????????????=?($points_values['points_per_poll']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_poll'])?.?' '?.?$this->config['points_name']);
????????$info_poll_option????????=?($points_values['points_per_poll_option']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_poll_option'])?.?' '?.?$this->config['points_name']);
????????$info_topic_word????????=?($points_values['points_per_topic_word']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_topic_word'])?.?' '?.?$this->config['points_name']);
????????$info_topic_character????=?($points_values['points_per_topic_character']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_topic_character'])?.?' '?.?$this->config['points_name']);
????????$info_post_word????????????=?($points_values['points_per_post_word']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_post_word'])?.?' '?.?$this->config['points_name']);
????????$info_post_character????=?($points_values['points_per_post_character']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_post_character'])?.?' '?.?$this->config['points_name']);
????????$info_cost_warning????????=?($points_values['points_per_warn']?==?0)???sprintf($this->user->lang['INFO_NO_COST'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['points_per_warn'])?.?' '?.?$this->config['points_name']);
????????$info_reg_bonus????????????=?($points_values['reg_points_bonus']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->functions_points->number_format_points($points_values['reg_points_bonus'])?.?' '?.?$this->config['points_name']);
????????$info_points_bonus????????=?($points_values['points_bonus_chance']?==?0)???sprintf($this->user->lang['INFO_NO_POINTS'],?$this->config['points_name'])?:?sprintf($this->user->lang['INFO_BONUS_CHANCE_EXPLAIN'],?$this->functions_points->number_format_points($points_values['points_bonus_chance']),?$this->functions_points->number_format_points($points_values['points_bonus_min']),?$this->functions_points->number_format_points($points_values['points_bonus_max']),?$this->config['points_name']);
代码: 全选
// Read out all the need values
$info_attach = sprintf($this->functions_points->number_format_points($points_values['points_per_attach']) . ' ' . $this->config['points_name']);
$info_addtional_attach = sprintf($this->functions_points->number_format_points($points_values['points_per_attach_file']) . ' ' . $this->config['points_name']);
$info_poll = sprintf($this->functions_points->number_format_points($points_values['points_per_poll']) . ' ' . $this->config['points_name']);
$info_poll_option = sprintf($this->functions_points->number_format_points($points_values['points_per_poll_option']) . ' ' . $this->config['points_name']);
$info_topic_word = sprintf($this->functions_points->number_format_points($points_values['points_per_topic_word']) . ' ' . $this->config['points_name']);
$info_topic_character = sprintf($this->functions_points->number_format_points($points_values['points_per_topic_character']) . ' ' . $this->config['points_name']);
$info_post_word = sprintf($this->functions_points->number_format_points($points_values['points_per_post_word']) . ' ' . $this->config['points_name']);
$info_post_character = sprintf($this->functions_points->number_format_points($points_values['points_per_post_character']) . ' ' . $this->config['points_name']);
$info_cost_warning = sprintf($this->functions_points->number_format_points($points_values['points_per_warn']) . ' ' . $this->config['points_name']);
$info_reg_bonus = sprintf($this->functions_points->number_format_points($points_values['reg_points_bonus']) . ' ' . $this->config['points_name']);
$info_points_bonus = sprintf($this->user->lang['INFO_BONUS_CHANCE_EXPLAIN'], $this->functions_points->number_format_points($points_values['points_bonus_chance']), $this->functions_points->number_format_points($points_values['points_bonus_min']), $this->functions_points->number_format_points($points_values['points_bonus_max']), $this->config['points_name']);
拥有现金: 141.20 币
信息
每个帖子附件的点数: 0.00 币
每个附件的点数: 0.00 币
新的投票点数: 0.00 币
新投票中每项的点数: 0.00 币
新主题中每个词的点数: 0.00 币
新主题中每个字符的点数: 0.00 币
新回复中每个词的点数: 0.00 币
新回复中每个字符的点数: 0.00 币
警告一次的处罚: 5.00 币
注册账号奖励点数: 50.00 币