Please try NP_ModComments first before you install this plugin. NP_ModComments seems not to work ... (2007-11-17 kg)
A plugin that calculates a score for a member based on comment moderations.
| General Plugin info | |
|---|---|
| Author: | Tim Broddin |
| Current Version: | 1.0a |
| Download: | Download (.zip) (not available) |
| Code: | Source Code |
| Demo: | - |
| Forum Thread: | - |
Depends on NP_ModComments (which needs to be installed first) Allows you to show the global member score (based on the comment moderation scores)
You are free to use this code but it is provided as is. I will try to support it but I’m a student and I often just don’t have the time.
When you find a bug or have a certain feature request you can always contact me at sirtim@fuckhedz.com or (till MS closes down their IM network to GAIM users) on MSN (sirpsycho@fuckhedz.com)
In comment template part:
<%MemberScore%>
In member skin:
<%MemberScore%>
If you added more options to NP_ModComments you’ll have to change $choises in the calculate function to represent the change.
If you use only positive scores I think you’ll have to set base to 0 and change this line:
$total = $base + 1);
to:
$total = $base + 2);
But I didn’t test it so play around with it.