Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 04:59:40 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 51
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 37
Total: 38

Author Topic: Karma Blocks Package v0.4  (Read 52522 times)

0 Members and 1 Guest are viewing this topic.

ontap

  • Guest
Karma Blocks Package v0.4
« on: March 22, 2006, 04:43:17 AM »
Here's A Karma Mod For Use With SMF & Of Course Tinyportal  :)

Install Via Package Manager....

3 Different Karma Blocks Based On Your Forum Members
Karma Log, Top Karma & Lowest Karma Using SSI.

NOTE: Karma Must Be Enabled On Your Forum For These Blocks To Work.

Download V0.4 Here!

V.04 Changes:
Fixed Package Installer For SMF 1.1 Final & SMF 1.1.1
Fixed Lowest Karma SQL Code - This May Give Problems Depending On SQL Version?

Tested With SMF 1.1.1 Final & 1.1.1 With Tinyportal v9
Not Tested On SMF 1.0.8 Or Lower

Use Php Block For Each Karma Block...

Karma Log
Code: [Select]
ssi_karmalog();Lowest Karma
Code: [Select]
ssi_lowestkarma();Top Karma
Code: [Select]
ssi_topkarma();
Please remember to backup your SSI.php file before you try this mod.

comments, ideas welcome  :coolsmiley:

Demo Of Blocks @  http://TheGaff.net/Forums
« Last Edit: December 26, 2006, 09:04:27 AM by Maxâ„¢ »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Karma Blocks Package v0.3
« Reply #1 on: March 22, 2006, 04:48:37 AM »
Just downloaded the zipfile from the first link, and the file is empty  :o

ontap

  • Guest
Re: Karma Blocks Package v0.3
« Reply #2 on: March 22, 2006, 04:49:37 AM »
yeah gota wait for bloc to change that..
« Last Edit: March 22, 2006, 06:06:57 AM by OnTap© »

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Blocks Package v0.3
« Reply #3 on: March 22, 2006, 05:35:02 AM »
Thanks OnTap, that was quick. I'd asked about a Karma SSI over on SMF but didn't get a reply over there.

I've installed it via the package manager, have high and low working in Fiddlers Elbow but I dont seem to have anything showing for the log.

ontap

  • Guest
Re: Karma Blocks Package v0.3
« Reply #4 on: March 22, 2006, 05:39:00 AM »
but I dont seem to have anything showing for the log.

strange... do you get an error in the error log?

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Blocks Package v0.3
« Reply #5 on: March 22, 2006, 05:49:11 AM »
Nothing related to the SSI.

ontap

  • Guest
Re: Karma Blocks Package v0.3
« Reply #6 on: March 22, 2006, 05:56:50 AM »
Nothing related to the SSI.

can you test it on another webiste?, will wait to see if others have the same prob...

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Blocks Package v0.3
« Reply #7 on: March 22, 2006, 06:02:11 AM »
That is my only test site with TP & Karma and I don't want to try it on the main site yet, lets see what others find.

elpvn

  • Guest
Re: Karma Blocks Package v0.3
« Reply #8 on: March 22, 2006, 06:02:16 AM »
Thanks OnTap© ! I'd love mod  ;)

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Blocks Package v0.3
« Reply #9 on: March 22, 2006, 06:07:31 AM »
If you want to tweak the format a bit, say to match the User or Online blocks, try something like this

Code: [Select]
echo '<div style="padding: 5px;" class="smalltext">';
         ssi_topkarma();
         echo '</div>';

or whatever style class you want.