Fangree Productions PHP-Fusion Version Compatibility: v7.01.00+
Name: Ajax Forum Post Ratings Version: 2.03
Author: Fangree Productions & LOA License: Released as free software without warranties under GNU Affero GPL v3.
Description
A simple JavaScript and Ajax Rating system that gives users the ability to rate forum posts (Thanks, Very Good, Good Idea, disagree etc.).

Users rate posts by clicking a small graphic representing what they think of the users post (Very Good, Useful, Disagree etc).

When a post has been rated the small graphic will appear on the bottom left of the post, move your mouse over the icon and a box over will appear with the info.

All Ratings Users have given and received are displayed in their profile.
Install
Modified Files - forum/viewthread.php
  1. Upload all files and folders in the main /files/ folder (overwrite with the new forum/viewthread.php included in this download).
  2. Go to Site Admin >>> System >>> Infusions >>>  and infuse:
  3. Go to Site Admin >>> Users >>> User Fields and enable:
  4. Define your ratings in the Admin area.  Below is an example how Ratings can be defined, however you can choose what you want and you can choose as many as you want.

 

Modifying viewthread.php
If you would like to modify the forum/viewthread.php your self rather than use the viewthread.php included in this downlad here is how to do it.

Around the top of viewthread.php look for...

 After that paste this...

 Now look for...

After that paste...

Save upload done.

 

Example of Defining Ratings:

 Name                   Icon

 Thanks                  tick.png
 Very Good             rosette.png
 Agree                   accept.png
 Disagree               cross.png
 Good Idea             lightbulb.png
 Funny                   emoticon_evilgrin.png
 Usefull                  wrench.png
 Informative           information.png
 Bad Reading          book_error.png
 Code King             wand.png


Usage: In the Ajax Forum Post Ratings Admin you can Enable, disable ratings, set Opacity of rating icons, 
Turn boxover on or off, add, edit and deleted ratings.

Changing Boxover Styles:

IF you would like to change the colours and text for the Ratings box over...

Open loa_rates/includes/js/boxover.js

Look at lines 65 to 77
you should see::


Edit this part to change, colours, fonts and sizes of box over.



Notes: Users post can be given as many ratings as a user wishes to rate the post.

EXAMPLE: A user might wish to rate a post both Thanks and Very Good to do this they Rate their first choice, lets say we choose Thanks we select Thanks and then Refresh page. We can now rate the post again with our second choice and so on. 
This can be done until the user has used all rating choices for the post. 
The Same user can not rate the same post more than once with the same rating.

CHANGELOG
-V1.00 - First Public Release

- V2.00 - Renamed folder to post_ratings.
               Admin Area redesigned and recoded, New Settings options to Turn Ratings on & off, set Opacity of rating icons, 
               Turn boxover on or off.

- V2.01 - Fixed typo in infusion_db.php.
               User Field Fixed by Keddy.

-V2.02 - Bugs Fixes by Keddy

-V2.03 - viewthread.php updated for PHP-Fusion v7.01.01 by Daredevil

SUPPORT
If you require support for this Addon please visit the Fangree Productions Forum at
http://www.fangree.co.uk/forum/index.php
CREDITS

Developer: Matias Casas (PhAnToM) http://www.loa-team.com.ar
Developer: Craig dewar (Fangree_Craig) http://www.fangree.co.uk
Code Checking & Assistance: Dallas 
Admin Bug fix Assistance: mve designs http://www.mvedesigns.eu/
V2.00 Assistance: SoulSmasher -http://www.phpfusionturkiye.com/

V2.03 Update by Daredevil Testing: Fangree_Craig, Taco, jitzy & PaulM