TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 318
  • Total: 318

Karma Blocks Package v0.4

Started by ontap, March 22, 2006, 11:43:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chodhry


alan s

Quote from: Alan S on March 22, 2006, 01:19:16 PM
works really well!!!!!!!! thanks, i've been looking for something like this for ages, what i'd like to do though is have the karma log on a seperate page with a link to it on the nav bar. Any ideas on how to do this?
Any Ideas Anyone?

Nokonium

Put the Karma log block code into a php article and link to it through the menu.

alan s


ontap


needed to fix up a few things in the mod, will post update later...

Defile

I installed it and tested it everything works great for me. But there is one thing I'd like to change, In the karma log where it says:

Name1 Applauds Name2 for example.

Name1's font color is in black, and I use a dark theme so it makes it really hard to read. All the other names just come up fine as the forum default colors.

If someone could tell me where to edit it so I can Change the font color of Name1 that would be great ;)

Thanks

RoarinRow

How many entries will the log keep and is there a way to set it so you one see the last 20 Karmas?

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

G6Cad

I guess you can change the number to show.

Try this ( havent tryed it myselfe though so backup the files before you try this)

In theme dir ssi.php find
LIMIT 05", __FILE__, __LINE__); Change the 05 to 20

SELECT karmaGood, karmaBad, realName, ID_MEMBER FROM {$db_prefix}members ORDER BY (karmaGood-karmaBad) ASC LIMIT 5", __FILE__, __LINE__); change 05 to 20

SELECT karmaGood, karmaBad, realName, ID_MEMBER FROM {$db_prefix}members ORDER BY (karmaGood-karmaBad) DESC LIMIT 5", __FILE__, __LINE__); Change 5 to 20


I hope that will work :)


ontap

#28
Quote from: G6 on March 27, 2006, 05:41:03 PM
Try this ( havent tryed it myselfe though so backup the files before you try this)

I hope that will work :)


the old way of changing it  :P this has being fixed in the new version.

V0.2
See Attachment In First Post
http://www.tinyportal.net/smf/index.php?topic=3630.msg29944#msg29944

Quote from: RoarinRow on March 27, 2006, 05:13:16 PM
is there a way to set it so you one see the last 20 Karmas?

Yeah, Download 0.2 & if you wanna show 20 in the karma log put it ssi_karmalog(20);

G6Cad

Well, i did give it a try though ;)  :2funny:

This website is proudly hosted on Crocweb Cloud Website Hosting.