Plugin: Karma
Author: LifeType Team
Release Date: 2005/02/25
Version: 1.0

This plugin offers karma rating for posts.

You can use:
1. $post->getField("positiveKarma") to get positive karma score
2. $post->getField("negativeKarma") to get negative karma score
3. $karma->getPositiveUrl($post) to get positive karma url
4. $karma->getNegativeUrl($post) to get negative karma url

Install:
1. Configure your the plugin in the Control Centre.
2. Modify you post.template with the follow code to get karma link:
{if !empty($karma)}
{if $karma->isEnabled()}
{assign var="positiveKarma" value=$post->getField("positiveKarma")}{if $positiveKarma == ""}{assign var="positiveKarma" value=0}{/if}
{assign var="negativeKarma" value=$post->getField("negativeKarma")}{if $negativeKarma == ""}{assign var="negativeKarma" value=0}{/if}
 :: {$locale->tr("karma")} (<a href="{$karma->getPositiveUrl($post)}">+{$positiveKarma}</a>/<a href="{$karma->getNegativeUrl($post)}">-{$negativeKarma}</a>)
{/if}
{/if}
3. Modify your header.template or footer.template to get unmoderated post link:
{if !empty($karma)}
{if $karma->isEnabled()}
<li><a title="{$locale->tr("karma_moderated_down_articles")}" href="{$karma->pluginTemplatePage()}">{$locale->tr("karma_moderated_down_articles")}</a></li>
{/if}
{/if} 