Advertisement:

Navigation

SMF Mod Site

Mod Name:
Limit Karma
Created By:
Nathaniel
Type:
New Feature
First Created:
July 30, 2008, 02:11:04 AM
Last Modified:
June 16, 2011, 02:39:50 AM
Latest Version:
1.4
Compatible With:
1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 1.1.12, 1.1.14, 2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2, 2.0 RC2, 2.0 RC4, 2.0
Total Downloads:
32719

Download this mod

LimitKarma_v1.03.tar.gz (6kB) [1233]
LimitKarma_1.4.tar.gz (28kB) [933]
Manual Install Instructions for SMF

Description:

Limit Karma Mod 1.4 by Nathaniel
Overview
This Mod allows you to restrict that amount of Karma that MemberGroups can give per Post/PM.

Settings are found in the Admin panel:
For SMF 1.1.x: "Features and Options" section -> "Karma" tab.
For SMF 2: "Configuration" drop down menu -> 'Features and Options' -> 'Karma' Tab.

For SMF 2, please remember that you must enable Karma from the admin section under "Configuration" -> "Features and Options", before the settings for this mod will appear.

SMF Version Support
This mod is officially supported for SMF 2.0 final and above only. Below is a list of available versions of this mod and the previous versions of SMF that they supported. Use them at your own risk. The mod author will not be supporting or upgrading this mod in any way for versions of SMF below 2.0 final.

Version 1.03: SMF 1.1.x and SMF 2 RC2 or below.
Version 1.4: SMF 2 RC4 and above.

Donate
If this mod has helped you, then feel free to support the developer by Donating. Any amount of money is welcome.

Themes/Templates
This mod has very few edits to the SMF template files. Even so, you won't get the full functionality of the mod if you don't make these edits. These edits are for your 'PersonalMessage.template.php' and 'Display.template.php' template files, if your custom theme doesn't have these files then it should work automatically.

These edits are only necessary if you don't want people to be able to see the 'Add Karma' links for each Post/PM when they have reached their limit for that Post/PM.

For SMF 1.1.x and SMF 2:
Code: ("Find (Display.template.php)") [Select]
         // Is this user allowed to modify this member's karma?
         if ($message['member']['karma']['allow'])

Code: ("Replace") [Select]
         // Is this user allowed to modify this member's karma?
         if ($message['member']['karma']['allow'] && empty($message['limitkarma']))

Code: ("Find (PersonalMessage.template.php)") [Select]
            // Is this user allowed to modify this member's karma?
            if ($message['member']['karma']['allow'])

Code: ("Replace") [Select]
            // Is this user allowed to modify this member's karma?
            if ($message['member']['karma']['allow'] && empty($message['limitkarma']))

If you have any issues or questions, regarding those template edits for your custom theme, then you can ask for support in the support topic for this mod.

Version Changes
v1.4 - 07 November 2010
Updated for SMF 2 RC4.

v1.03 - 20 November 2009
Added support for SMF 2 RC2.

v1.02 - 18 August 2009
Updated mod for SMF 1.1.10 compatibility - Added a workaround for the SMF version bug.

v1.01 - 14 Augest 2008
Minor bug-fix with new members.

v1.0 - 30 July 2008
Original Mod release.