Question: How can I modify the Karma function so that when a user gives a positive karma, his post count increases?
Original Topic: -
../Sources/Karma.php
Find:
// Figure out where to go back to.... the topic?
Replace:
// Increase the post count of the one gave the karma.
if($dir == 1)
updateMemberData($ID_MEMBER, array('posts' => '+'));
// Figure out where to go back to.... the topic?
Cant understand this. If 1 karma is given, then the post will increase by how much?
The post count will increase by 1 also.
Quote from: Kays on January 29, 2010, 02:47:13 PM
The post count will increase by 1 also.
I see, it's you again ;D, thanks ;) . Is it possible to set 1 karma = 100 posts as well as -1 karma = minus 100 posts?
Yep, you can't escape me. :P
This won't work for something like that. Take a look at the Advanced Reputation mod.
http://custom.simplemachines.org/mods/index.php?mod=1129
Quick question:
When somebody uses 1 karma to gain 1 post does that 1 karma go down? Or will it stay as they got 1 karma?
You don't use your karma. But rather when you give karma to someone your post count will increase.
Quote from: Kays on January 29, 2010, 03:11:29 PM
Yep, you can't escape me. :P
This won't work for something like that. Take a look at the Advanced Reputation mod.
http://custom.simplemachines.org/mods/index.php?mod=1129
I installed this Mod and yeah I f*cked something up pretty bad. I tried installing this Mod and it has rendered the forum useless. Maybe I shouldn't take these types of things into my own hands ever again. Lol. Learned my lesson. I have no idea where to go from here.
I put the forum in Maintenance Mode until this issue has been resolved.
Here is the issues I am having. No matter what you click on the following error comes up...
Unknown column 'mem.karma_disabled' in 'field list'
File: /home/content/p/u/b/pubstargaming/html/forum/Sources/Load.php
Line: 897
I'm new to SMF but so I can't comment on your problem just want to say this: a modification on a live site without back-up (it seems) is not really smart. Modifications should be tested wisely before you put them in a live site.
Quote from: Kays on January 29, 2010, 03:11:29 PM
Yep, you can't escape me. :P
This won't work for something like that. Take a look at the Advanced Reputation mod.
http://custom.simplemachines.org/mods/index.php?mod=1129
Will that Karma mod still work on the latest version of SMF