Karma Description Mod

Started by Grek.Kamchatka, September 11, 2005, 11:48:26 PM

Previous topic - Next topic

JustJa

Hi!
I have RC3 and a custom theme.
I don´t see the Karma Log in info center. I changed to the default theme and didn´t see it either!
Also I am missing the option to clear all the old points.
What am I missing here?
:-\

Soulgirl

Has anyone got this working on Orange Light 4a yet?

RoarinRow

Anyone try on 1.1 Final yet?   :)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Gobo

yup i got it working on 1.1 just fine - but i dont remember if i had to cheange the package-info.xml file to change the version numbers inside or not

just open package-info.xml in the mod zip and check to see if it installs for 1.1 and uninstalls for 1.1 or not - if not simply add it and it will work

RoarinRow

Quote from: akulion on December 10, 2006, 08:38:58 PM
yup i got it working on 1.1 just fine - but i dont remember if i had to cheange the package-info.xml file to change the version numbers inside or not

just open package-info.xml in the mod zip and check to see if it installs for 1.1 and uninstalls for 1.1 or not - if not simply add it and it will work

It worked for me on 1.1 and didn't have to change the package-info.xml file   ;D

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

creatures

2.2 V

SMF 1.1 Final

I am getting
Execute Modification - Modification parse error

and no error in "Forum Error Log"

Any ideas  ???

Soulgirl

What can I change in the script or database to change all members to PM karma notify?

cassie

I've got it working just fine on 1.1. I'm glad the link titles in the profile were changed. It used to be weird English...said something like "who I change Karma". Now they are "Who changed my Karma" and "Whose Karma have I changed?"

Question: Where are the Karma stats for the entire board now? There used to be a link to those next to the general board stats. Can't find it or if I need to check something under Admin.

Thanks!

creatures

Quote from: creatures on December 14, 2006, 09:04:46 PM
2.2 V

SMF 1.1 Final

I am getting
Execute Modification - Modification parse error

and no error in "Forum Error Log"

Any ideas  ???

Any suggestions. I tried to install different than kdm and I had not encouranged any errors.

bgspoonz

Quote from: cassie on December 18, 2006, 09:56:40 AM
I've got it working just fine on 1.1. I'm glad the link titles in the profile were changed. It used to be weird English...said something like "who I change Karma". Now they are "Who changed my Karma" and "Whose Karma have I changed?"

Question: Where are the Karma stats for the entire board now? There used to be a link to those next to the general board stats. Can't find it or if I need to check something under Admin.

Thanks!
that one that used to be on the main board, is still there... (with default theme).
can't help ya any further than that...

ssoltz

Quote from: cassie on December 18, 2006, 09:56:40 AM
I've got it working just fine on 1.1. I'm glad the link titles in the profile were changed. It used to be weird English...said something like "who I change Karma". Now they are "Who changed my Karma" and "Whose Karma have I changed?"

It may have had something to do with the fact that the author of this mod's native language is not English. Boy, I bet his English is a far cry better than my Russian!

Quote from: cassie on December 18, 2006, 09:56:40 AMQuestion: Where are the Karma stats for the entire board now? There used to be a link to those next to the general board stats. Can't find it or if I need to check something under Admin.

First a stupid question: Are you logged in as an Admin? You must be logged in as an admin to be able to see the "Karma Stats" link. I assume you are talking about this link, which is the link to the karma log, in actuality.

The second, not as stupid question is...Are you using the default theme? If not, you have to make the changes to your theme files manually.

Answer these and then maybe we can get you going in the right direction.

Take care,
Steve Soltz
SSK Creatives, Inc.

cassie

QuoteBoy, I bet his English is a far cry better than my Russian!
Mine too! I wasn't trying to make fun of anyone either. It just cracked me up sometimes.

QuoteFirst a stupid question: Are you logged in as an Admin?
Yes, I am logged in as an Admin. I'm sure we're talking about the same link--it was right next to the Forum Stats on the bottom. (Now that Forum Stats link is labeled "More Stats".) The Karma stats would let you view all of the karma and descriptions that the members of the board had given each other.

QuoteAre you using the default theme?
Yes, I am. I also use the Ad Management mod and it only works on the default theme.

Thanks!


cassie

I figured it out.

You have to have "Enable SP1 style statistics..." checked under Theme settings.

Thanks!

cassie

Okay...I figured out my last issue, but can you help me with this?

When I upgraded to 1.1 I lost the karma log history. It starts over as of the date I upgraded.

I also changed my domain name and I have the backup karma log for the past several months, when I first installed the karma mod.

I tried importing that karma backup a few weeks ago, but since that table already exists in my database, I just get an error that it can't do it because it already exists.

So how do I get every karma given merged back into the database now?

Since I now have existing karma in the database from since the upgrade, I would probably have to merge that with the backup I have. And I don't know where the karma that was there from the time I did the backup to the time I upgraded to 1.1 is. Did that get wiped out when I upgraded?

Lots of questions...
Thanks!

NEMINI

Is there an easy way to upgrade KDM versions?  If I uninstall my current version (2.0) will I lose all the data?  I'm in the process of upgrading to 1.1.1 and would like to update this mod to 2.2 at the same time.

Thanks for your help and time
signatures are boring.

Vysala

Today I downloaded this mod for the first time and installed it. Everything appeared to be working just fine.

Shortly after I noticed the upgrade from 1.1 to 1.1.1 So I did that upgrade.

After that upgrade the karma system stopped working. When changing another persons karma I would get an error, saying there was something wrong with Karma.php.

I wanted to uninstall and reinstall to see if that would work, but when I went to the uninstall screen I received some errors and it told me I shouldn't uninstall. This was the output:

Quote
   Type     Action     Description
1.    Execute Modification    ./Sources/Admin.php    Test successful
2.    Execute Modification    ./Sources/Karma.php    Test failed
3.    Execute Modification    ./Sources/ModSettings.php    Test successful
4.    Execute Modification    ./Sources/Subs.php    Test successful
5.    Execute Modification    ./Sources/BoardIndex.php    Test successful
6.    Execute Modification    ./Sources/Profile.php    Test successful
7.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
8.    Execute Modification    ./Themes/default/Admin.template.php    Test failed
9.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
10.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
11.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
12.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
13.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
15.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
16.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
17.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
18.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
19.    Execute Modification    ./index.php    Test failed

So we uploaded an older version of Karma.php and it works now as it did before this install.

The install is still there, because the options are in the admin panel, but they of course don't function anymore because we changed things back.

I want to know where you think I should go from here. Should I just leave it as is and carry on. Or is there a way to fix my situation so I can use the mod, as it's definitely a mod I'd love to use.

Thank you for all your time and advice.
-Kat


Parijs

#516
I am using smf 1.1.1 and using the wow_dk theme, and I added the following code to the wow_dk/BoardIndex.template.php
';
if (!empty($modSettings['karmadescmod']))/*{echo'   <a href="'.$scripturl.'?action=viewkarma">' . $txt['statkarma'].'</a>',' ';}*/
{  if ($context['show_karmastat'])
                echo '
                        <a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
echo'


Then I opened my themes Modifications.english.php file and added this to the bottom
//Karma Description Mod
$txt['karmaview'] = 'The survey of a change in the reputation of users';
$txt['whykarmamod'] = 'Karma change';
$txt['Description'] = 'No Description';
$txt['karmamoder'] = 'Please, write here for what you change karma for this user';
$txt['karmarequare'] = '(Require field)';
$txt['karmawho'] = 'Who';
$txt['karmawhos'] = 'Whom';
$txt['karmawhat'] = 'What (+/-)';
$txt['karmadesc'] = 'For What';
$txt['karmatime'] = 'When';
$txt['karmanumb'] = 'Values: ';
$txt['statkarma'] = '[Karma Stat]';
$txt['viewkarma_title'] = 'Karmachange description';
$txt['karma_back'] = '< Back';
$txt['karma_continue'] = 'Continue >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';


I added the permissions to the groups, and enable karma log in settings, but the karma description still isnt showing in users profiles.  It just shows the users +1/-0 karma.  The +1/-0 is just an example to show you what I mean when viewing the profile.  I should also mention that the Karma Stats on the main page is working, and I can see who has given what karma and other peoples karma, its just in peoples profiles that its still not showing.

Any help would be greatly appreciated.  I so want to get this mod working correctly.


eNoyx

Hi, first, thanks for this mod. It's a great tool to manage your users and reward/smite them.

I'm trying to install it, but this error appears when I try to see the Karma log anywhere (from the stats box, from the user's profile...)

/database error/
Unknown column 'lk.Description' in 'field list'
File: <root path to the forums; edited>/Sources/Viewkarma.php
Line: 309


I'm using a different template from default... Installed it manually, therefore. Anyway, I've tried using the default theme, and the error still appears... The line error is variable between 202 and 309, according to the link I click (202 for "Who changed my Karma" and 309 for "Whose Karma have I changed?")

Thanks in advance ^^

danfaz


pheadrus

I have looked all the threts in this post, but found about my problem; so I have made some investigation on Karma.php (because I gotta error when wanna applaud or bad karma). Error was "...unexpected $end syntax..." or something like that. weird problem it was, because i have got the original (SMF 1.1.1) karma.php ve manually  install all statements, and checked twice. 
Finally I have found the problem at the end of karma.php file.
KDM install file force me to change the very end of karma.php like this:

........
obExit(false);
}

}

?>


But it is wrong. So the result is;

obExit(false);
}

}

}

?>


Just added an extra "}" character before "?>"


Advertisement: