This is an old revision of the document!
Table of Contents
Karma (pun_karma)
- Status: stable
- Current version: 1.1
Specification
Functionality
Posts can be rated by users.
Interface
- Administration
- Pun karma features
- An option to disable the minus mark
- The number of minutes users have to wait before voting for a post with up (plus) mark again
- The number of minutes users have to wait before voting for a post with down (minus) mark again.
- View topic page (under the post)
- Post's karma
- Links to posts with up/down mark.
Database
New table “pun_karma”.
Field | Type | Default | Description |
---|---|---|---|
user_id | INT(10) | ID of user. | |
post_id | INT(10) | ID of post. | |
mark | TINYINT(1) | Mark of the post. | |
updated_at | INT(10) | Time. |
Additional config values in the “config” table.
conf_name | conf_value (default) |
---|---|
o_pun_karma_minus_cancel | 0 |
o_pun_karma_minus_interval | 2 |
o_pun_karma_plus_interval | 2 |
Versions
1.0b
1.0b.1
1.0
- Basic functions were implemented.
1.1 (current version)
- Added icons instead of +, -, X characters
- Added calculating of users karma.