Version 3.0 changes: 
1. Reputation is in the details of the user. 
2. Karma works on the pages. 
3. He works in the comments. (If you left a comment for the guest is not displayed) 
4. + And - replaced by images! 
5. Now that would not confuse the user (if you want to put himself) + and - in his decision not displayed! 
6. Added a script centering popup window. 
7. Added the ban to put a negative vote, users with a negative reputation. 
8. In the plugin settings you can choose what sections of the forum does not show image 
9. The system of calculating the vote! (Depending on the level of reputation.) 
10. Added stranitsy.Pri breakdown for the withdrawal of the list votes. 

SQL: 
Added column karma_locate 
Karma_value char (2) -> char (5) 


This plugin is made CTAPbIu_MABP by LDU, motor2hg convert this plugin to work with Seditio. Modifying plugin - Slay. Ported by Cotonti Dr2005alex 

Karma plugin for Cotonti since version 0.6.0. 

Description: 
The plugin allows you to realize the forum rating system (reputation) for users on the site. 
Each user can increase (reduce) the level of the reputation of another user for his actions on the site! 
This may be the forum, comments, or hosted page. 


Installation: 
1. Unpack the plugin from the archive in the / plugins 
2. If you use more than one skin, then drag the file karma.tpl in your skins in the plugins folder and edit under your skin. 
3. Install via the admin panel (plugin automatically creates a table 'sed_karma') 
  When you delete a table is deleted! 

4. In forums.posts.tpl add tags (what you want): 

Post in the section FORUMS_POSTS_ROW! 
				{FORUMS_KARMA_COLOR} - contains the value of the color in hexadecimal form. (FFFFFF .. AAff44) 
				{FORUMS_POSTS_ROW_KARMA} - contains the text and the importance of reputation. (Example: Reputation: 3) 
				{FORUMS_POSTS_ROW_D} - contains the numerical value of reputation. (1,2, ... 10, -4,2 ...) 
				{FORUMS_POSTS_ROW_KARMA_ADD} - contains a link to the image + to enhance the reputation. 
				{FORUMS_POSTS_ROW_KARMA_DEL} - contains a link to the image - at lowering reputation. 



5. In users.details.tpl tagging: 
				{USERS_KARMA_ADD} - contains a link to the image + to enhance the reputation. 
				{USERS_KARMA_DEL} - contains a link to the image - at lowering reputation. 
				{USERS_KARMA} - contains the numerical value of reputation. (1,2, ... 10, -4,2 ...) 
				{USERS_KARMA_TEXT} - contains the text. (Example: Karma:) 
				{USERS_KARMA_COLOR} - contains the value of the color in hexadecimal form. (FFFFFF .. AAff44) 

6. In page.tpl tagging: 
				{PAGE_KARMA_ADD} - contains a link to the image + to enhance the reputation. 
				{PAGE_KARMA_DEL} - contains a link to the image - at lowering reputation. 
				{PAGE_KARMA} - contains the text and the importance of reputation. (Example: Reputation: 3) 
				{PAGE_KARMA_COLOR} - contains the value of the color in hexadecimal form. (FFFFFF .. AAff44) 
				{PAGE_KARMA_D} - contains the numerical value of reputation. (1,2, ... 10, -4,2 ...) 

7. In comments.tpl tagging: 

Post in the section COMMENTS_ROW! 
				{COM_KARMA_ADD} - contains a link to the image + to enhance the reputation. 
				{COM_KARMA_DEL} - contains a link to the image - at lowering reputation. 
				{COM_KARMA} - contains the text and the importance of reputation. (Example: Reputation: 3) 
				{COM_KARMA_D} - contains the numerical value of reputation. (1,2, ... 10, -4.2 .. 
				{COM_KARMA_COLOR} - contains the value of the color in hexadecimal form. (FFFFFF .. AAff44) 

8. Configure the plugin you want. 

- In what sections of the forum does not display image? 
				Select the section of the forum, which do not show reputation. 

- Max. number of records per page. 
				How many votes to withdraw on the same page when viewing a list of votes. 

- Minimum number of positions to change the reputation of other users: 
                                If the user is less than the number of posts, it would not be able to change the image! 

  - Allow display on the page? 
  - Allow show in the comments? 
				Enabling / Disabling the plug-in pages and the commentary. 

- Include links change color?: 
				If this feature is enabled, the color of links, tags issued 
				will change from white to green (if the reputation is positive) 
				or from white to red (if the reputation is negative). It is suitable for sites with dark skins! 
				To whom it does not fit, that is, a tag {..._ KARMA_COLOR} which contains the color in 
				Hexadecimal form. It is suitable for use in CSS. (The color changes as described above.)
		

Example using {FORUMS_KARMA_COLOR}: 

				<div Style="padding:5px;"> 
				<b style="color:#{FORUMS_KARMA_COLOR}">  </ b> {FORUMS_POSTS_ROW_KARMA} 
				{FORUMS_POSTS_ROW_KARMA_ADD} {FORUMS_POSTS_ROW_KARMA_DEL}
 				</ Div> 

Or 

				<div style="padding:5px;background-color:#{FORUMS_KARMA_COLOR}"> 
   				{FORUMS_POSTS_ROW_KARMA} 
				{FORUMS_POSTS_ROW_KARMA_ADD} {FORUMS_POSTS_ROW_KARMA_DEL}
		                </div> 

- The maximum level of credibility in which the color of the lights will be the most green: 
			
				The color gradually changes from white to (if not the reputation of + green / if the record in - red) to that level! 

- At what time you can change the rating again (anti-flood) hours. 
				You can put a timeframe during which it will be possible to re-vote for the same user! 
				If set to 0 then the function is turned off! 

- Allow giving voice to a message more than once? (and understandably so.) 

- Allow lower your reputation, customers with negative reputation? 
				If the user has a negative reputation, that it is not highlighted link with the value of minus! 

- Minimum number of positions to change the reputation of others. 
				Restriction! With a number of posts a user can change the reputation of other users! 

- Multiplier votes 
				(Calculated as [Level reputation] * [The value to enter]) 
				This field allows you to change the level of votes, depending on the reputation of the user changes the image! 
				If you do not use this function, then leave it to 1. 

- The maximum value of votes: 
				This imposes a restriction of voting! 
				Assuming you put a 0.5 multiplier to vote when the reputation of the user (for example) to 30 votes, his vote will be calculated as: 
				30 * 0.5 and will be 15.If you do not want to vote, the level was above 10, then put a value of 10. 
				Thus, when changing the reputation of 0 to 30 vote, the level will vary from 1 to 10 and will not exceed the value 10. 

When viewing a list of votes, the administrator can delete any voice! 

By default, when you add voice used textboxer markitup MINI! 
What would need to include full-function: 
  Find in karma.tpl line 

<textarea class="minieditor" name="reason" rows="12" cols="32"> </ textarea> 

and change it to 

<textarea class="editor" name="reason" rows="12" cols="32"> </ textarea> 

Porting and changed Dr2005alex Dr2005alex@mail.ru 
. 
Plug-ins and update on your order! http://www.developer.goliberty.ru