Advertisement:

Navigation

SMF Mod Site

Mod Name:
SSI Karma
Created By:
ディン1031
Type:
SSI
First Created:
August 04, 2007, 05:41:32 PM
Last Modified:
January 28, 2014, 01:45:01 PM
Latest Version:
1.0.2
Compatible With:
1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 2.0 Beta 3 Public, 2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2
Total Downloads:
30110

Download this mod

SSIKarma102.zip (7kB) [1143]
Manual Install Instructions for SMF

Description:

This Mod add to the SSI.php some new Options to show a Highest and Lowest Karma via SSI includes. Use the SMF Feature Settings for it to work correct.

New Functions:

  • ssi_karma(STRING type, INT topMembers, BOOL onlyTotal, STRING output_method)
  • ssi_karmaHighest(INT topMembers, BOOL onlyTotal, STRING output_method)
  • ssi_karmaLowest(INT topMembers, BOOL onlyTotal, STRING output_method)

Syntax Description:
  • STRING type: 'good' or 'bad'
  • INT topMembers: Number of Members that should be show, standard = 5
  • BOOL onlyTotal: On true it show only total count highest or lowest.
  • STRING output_method - If set to "echo", the function will echo the data, otherwise it will return an array

If you installed the SSI Member Color Link than it will attach the colors of the member group to the link.

Hope it's useful for the user who use SSI includes or TinyPortal. To see if it work look into the ssi_examples.php after the install.

If you like to donate me some Money. Click Here

Version log:

Version 1.0.0
!*+- First release

Version 1.0.1
! Strange bug in calculation of SQL Query fixed.

Version 1.0.2
! Fix a mistake in the coloring

Version 1.0.2 (03.05.08)
- SMF 1.1.5 Compatible
- SMF 2.0 Beta 3.1 Compatible


Legend:
! Bug fix
*changes
+ New features
- Info Only