Topic: Rate Topic 1.0
##
##
## Mod title: Rate Topic
##
## Mod version: 1.00
## Works on PunBB: 1.2.* (meaning only small modifications of version 1.2 eg. 1.2.1)
## Release date: 2006-09-09
## Author: Eric Subach A.K.A. Kha0sK1d (kha0s@comcast.net)
##
## Description: This mod allows non-guest users who run MySQL or MySQLi to rate any topic on a scale of 1 - 5 with 5
## being the best. Users may also view who voted for a particular topic and what they rating they gave.
##
## Difference with
## previous version: N/A
##
## Affected files: viewforum.php, viewtopic.php
##
## Affects DB: Yes
## Adds the table 'Ratings':
## +----------+------------------+------+-----+---------+-------+
## | Field | Type | Null | Key | Default | Extra |
## +----------+------------------+------+-----+---------+-------+
## | rate | tinyint(2) | | | 0 | |
## | user_id | int(10) unsigned | | | 0 | |
## | topic_id | int(10) unsigned | | | 0 | |
## +----------+------------------+------+-----+---------+-------+
## Adds the following options to the table 'config':
## - o_rt_enabled
## - o_rt_use_stars
## - o_rt_cur_version
## - o_rt_cur_stars
## - o_rt_default_lang
##
## Notes: - Only MySQL and MySQLi are currently supported.
## - Purging or altering your database will cause Rate
## Topic to work improperly and may cause errors.
## - Ratings by banned members will not count so long as
## their ban is in effect.
## - Administrators have the following options:
## - Enable or disable Rate Topic
## - Use star images or numbers
## - Default language
## - Image packages
## - Having no star image packages will cause Rate Topic
## to default to using numbers.
## - Having corrupt star image packages will not cause
## PunBB to error, may yield images that do not display.
## - Guests may not vote or see who voted for a topic, but
## they may see the rating for a topic.
## - If a Rate Topic language file is not found, some pages
## will display an error, and others will justdefault to
## disabling Rate Topic.
## - If you decide to uninstall Rate Topic, run the
## install_mod.php file and click the restore button. You
## may choose to either remove the code that was added
## into viewforum.php and viewtopic.php, but it is not
## necessary for PunBB to continue working properly.
## - If you want to remove all ratings, uninstall Rate
## Topic and then install it again.
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##