added a karma ranking system to cs threads for conducting popularity contests

This commit is contained in:
JT Smith 2006-02-28 17:28:44 +00:00
parent 0400beba05
commit f2b2832524
9 changed files with 133 additions and 6 deletions

View file

@ -2,6 +2,24 @@ package WebGUI::i18n::English::Asset_Collaboration;
our $I18N = {
'karma rank' => {
message => q|Karma Rank|,
context => q|a label used in sorting threads by karma divided by karma scale|,
lastUpdated => 0,
},
'default karma scale' => {
message => q|Default Karma Scale|,
context => q|a label indicating the default scale of all threads in the system|,
lastUpdated => 0,
},
'default karma scale help' => {
message => q|This is the default value that will be assigned to the karma scale field in threads. Karma scale is a weighting mechanism for karma sorting that can be used for handicaps, difficulty, etc.|,
context => q|hover help for the default karma scale field|,
lastUpdated => 0,
},
'assetName' => {
message => q|Collaboration System|,
context => q|label for Asset Manager|,
@ -19,8 +37,8 @@ our $I18N = {
},
'karma rating multiplier' => {
message => q|Karma Rating Multiplier|,
lastUpdated => 0,
message => q|Karma Given To Poster on Rating|,
lastUpdated => 1141142205,
},
'delete file warning' => {
@ -891,8 +909,8 @@ submitted by a user.|,
},
'karma rating multiplier description' => {
message => q|If karma is enabled on your site, this amount multiplied by the rating the user gives a post will be the amount of karma the original author of the post receives.|,
lastUpdated => 1119070429,
message => q|If karma is enabled on your site, this will be the amount of karma the original author of the post receives when another user rates the post.|,
lastUpdated => 1141142205,
},
'filter code description' => {

View file

@ -61,6 +61,10 @@ A yes/no button to lock the thread, so that no posts can be added or edited.
A conditional that is true if the user is editing an existing post.
<p>
<b>karmaScale.form</b><br>
A form element that allows moderators to set the scale of an individual thread. This is only available for threads.
<p>
<b>preview.title</b><br>
The web safe title for previewing a post.
<p>

View file

@ -11,6 +11,22 @@ our $I18N = {
message => q|The variables below are available in the Thread template. In addition, all variables from the Post Template can be used. Labels for URLs for actions like <b>unlock.url</b>, <b>stick.url</b>, etc. are provided by the Collaboration Labels. The Pagination Template variables are also available to display multiple pages of posts and threads.
<p>
<b>karma.transfer.form</b><br>
A variable that displays a small form that allows a user to transfer an amount of karma from their account to the thread.
<p>
<b>karma</b><br>
Indicates the amount of karma this thread has.
<p>
<b>karmaScale</b><br>
A weighting factor for difficulty, complexity, or handicap in contests.
<p>
<b>karmaRank</b><br>
This is karma divided by karma scale.
<p>
<b>user.isVisitor</b><br>
A conditional indicating that the current user is a Visitor.
<p>
@ -175,7 +191,7 @@ The description of the collaboration system that this post is a part of.
<p>
|,
lastUpdated => 1140982574,
lastUpdated => 1141142205,
},
'assetName' => {