[Link to the mod](https://custom.simplemachines.org/index.php?mod=192)
[](https://travis-ci.org/realdigger/SMF-Karma-Description)
# SMF Karma Description mod [](https://twitter.com/intent/tweet?text=SMF%20Karma%20Description.%20This%20mod%20allow%20to%20see,%20for%20what%20users%20changed%20Karma%20to%20other%20users.&url=https://github.com/realdigger/SMF-Karma-Description&hashtags=smf,smf_karma_description_mod)
* **Author:** Grek.Kamchatka
* **License:** GPLv3
* **Compatible with:** SMF 2.0
* **Languages:** English, Russian, Spanish
## Installation
Download and install latest release tar.gz file from [releases page](https://github.com/realdigger/SMF-Karma-Description/releases).
## Description
This mod allow to see, for what users changed Karma to other users.
Worked perfectly since 2005...
### Features



## Установка
Загрузите и установите файл tar.gz актуальной версии со [страницы загрузок](https://github.com/realdigger/SMF-Karma-Description/releases).
## Описание
Позволяет вводить причину изменения кармы и предоставляет возможность просмотра логов изменений.
Hi there,
I installed this mod early this morning. Nice, clean, quick installation. No errors. I tested it and it works perfectly for me. Great job and thank you.
Can i see a working demo of this?
Revgreed, can i put a link to your forum? ;-)
http://www.sinning.org/forum/
Here you can see Karma Description Mod in work.
Near the Stats label, there is a [Karma Stat] link. Use it. =)
hmmm... no offense, but this looks to do very similar things as my KarmaLog mod (with the improvements that I have been working on, but not released yet...)
IS it compatible with 1.0.5? just curious
congrats on a great looking mod :)
Kindred, I long ago worked on this mod, was got so you has released its earlier, but I have only finished)
Russ, sorry, but no =(
Thanks! This is great! LMAO!
1. Execute Modification ./Sources/Admin.php Success
2. Execute Modification ./Sources/Karma.php Failure
3. Execute Modification ./Sources/ModSettings.php Success
4. Execute Modification ./Themes/default/Admin.template.php Success
5. Execute Modification ./Themes/default/BoardIndex.template.php Success
6. Execute Modification ./Themes/default/languages/Admin.english.php Success
7. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
8. Execute Modification ./Themes/default/languages/Who.english.php Success
9. Execute Modification ./Themes/default/languages/index.english.php Failure
10. Execute Modification ./index.php Success
11. Execute Code db_change.php
12. Extract File ./Sources/Viewkarma.php
13. Extract File ./Themes/default/Viewkarma.template.php
14. Extract File ./Themes/default/DescriptionKarma.template.php
what can i do ?
First. Have you any other installed mod on your forum?
I understand... you use SMF 1.0.5 but this mod package work with 1.1 beta 3
k, thx a lot for your answer.
thru package manager, in downloaded it, installed it
it said success
but it does not appear in my forum
how can i manually install it ???
how do i get it to do the modification ?
Quote from: Repsol AL on September 13, 2005, 09:51:34 PM
thru package manager, in downloaded it, installed it
it said success
but it does not appear in my forum
how can i manually install it ???
how do i get it to do the modification ?
Hi,
Did you enable it?
Admin > Features and Options > Karma > Enable Karma Description Mod
Thq revgreed =)
not there, just the basic enable +/-
message says its installd but whn i view installed mods
it says none are installed
http://www.pkforum.ru/index.php?action=dlattach;topic=6046.0;id=14624
Chek the "Enable Karma Description Mod"
Quote from: Repsol AL on September 14, 2005, 08:04:33 AM
not there, just the basic enable +/-
Realy? Are you shore you install this mod? If there always was "Test Successful"?
Quote
message says its installd but whn i view installed mods
it says none are installed
I think, you must install it again. If you'll see "Test failed" it's mean you install it twise, don't apply. If you'll see "Test Successful" everything ok, install it again and don't be afraid if you'll see "Database error" It's mean that field "Description" is present in log_karma table. It's ok...
I get
Type Action Description
1. Extract File ./Themes/default/Karma.template.php
2. Execute Modification index.php Success
3. Execute Modification ./Sources/Karma.php Success
4. Execute Modification ./Sources/Admin.php Success
5. Execute Modification ./Sources/Subs.php Success
6. Execute Modification ./Themes/default/languages/Modifications.english.php Success
7. Execute Code KarmaLog.php
there is no "test"
nothing to enable it
it just never gets installed
how can i execute the XML files to do the modifications
from ftp software ?
It's not my mod...
Now available new version of Karma_Description_Mod_ver.1.1. It compatible with SMF 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1 Beta 3 Public.
Great mod, but I was wondering, how hard would it be to make it so that when a user goes into the karma stats all they see are the ones for them and the ones by them, in other words the ones with their id under ID_EXECUTOR and ID_TARGET.
This Mod is really great! Installed it - works fine ;)
But I think the reason field shouldn't be required. No reason -> no entry in the Log.
Thanks :)
how we can view "Karma Change Description" because i didn't saw any link to that page?
In Admin panel->Features and Options-> check "Enable Karma Description Mod"
Then on main page you will see [Karma Stat] label near the [More Stats]
http://yourdomain/forum/index.php?action=viewkarma
great mod! thanks! it's working fine on my 1.0.5
I'm thinking, is there any way to make it such that only admins or mods can view the log?
is there any way we can take away the link [Karma Stat] from the main page?
What php file should I pull out and edit?
Thank you!
^ thats a good idea.
If you want to remove [Karma Stat] label from main page, just open BoardIndex.template.php, find this code:
';
//If Karma Description Mod Enable then give me please link on viewkarma action
if (!empty($modSettings['karmadescmod'])){echo' <a href="'.$scripturl.'?action=viewkarma">' . $txt['statkarma'].'</a>',' ';} echo'
and replace it.
And if you want to disable this option for users, but enable it for admin and moderators, just open Viewkarma.php and add after global $db_prefix, $context, $scripturl, $modSettings, $txt;
and before loadTemplate('Viewkarma');
this code:
//You can't view karmalog if you are !mod
if (!allowedTo('moderate_forum'))
fatal_lang_error('smf63', false);
Do U understand my English? =))
It does'nt work if there is a waiting time. It works only the first time a user modifies the karma of another one after installation. After that, there's always an error about the waiting time between two votes, even if the time is over. So I have to clear the log...
I think that I 've found the reason but I don't know how to solve that :
The mod deletes this part of the code of Karma.php :
// Delete any older items from the log. (karmaWaitTime is by hour.)
db_query("
DELETE FROM {$db_prefix}log_karma
WHERE " . time() . " - logTime > " . (int) ($modSettings['karmaWaitTime'] * 3600), __FILE__, __LINE__);
That's why this code is never executed because the condition is never true if there is a waiting time :
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
Do you have any solution please ?
PS : Sorry for my English, I'm French
my solution in the karma=log mod (for admins only) was to make a second table in the database to handle the karam logging....
This in my opinion, has to be one of the best Mods to date.
I am getting an overwhelming amount of compliments.
I have had a lot of ratings abuse in my forum, and this was
definitely the answer.
I am though getting requests to have sort options. I will
look into coding this, but I just thought I would let you know.
BTW I have a busy board with over 40,000 members, and
runs seamlessly.
THANK YOU!
Invaluable mod for my board....however, the option to sort is also invaluable. I really hope I see a fix for that soon!
I try to fix all bugs, and add a sort function in next version.
Do you need a link to the profile on users name?
I think that would be great! Thank you for working on it - I don't know what I'd do without all the nice people who share mods for us coding-challanged. :D
doesn't support rc 1 yet eh?
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Are there any plans to make only the Karma descriptions received viewable to the user (and admins and mods)?
I made a new version of this mod. It will be compatible with 1.1 RC1. I'm adding a sort option. If you want, you can use a user names as a link to their profile. And i think i can do a choise of who can see a log, only admin and mod's or admin, mod's and users.
I was trying to ask (please excuse my not-making-senseness) if you will make users only be able to see their own Karma messages, not every other user's.
Can't wait ^_^
I have installed this mod perfectly with no problems and enabled it. However when I go to the main page it doesnt show me [karma stat] .. I am using Bloc's theme Black22 (http://www.o-yaar.com/covers) and it wont show. If I switch to SMF Default it shows up. Can anyone please tell me what coding needs to be copied from the Default template over to the black22 theme?
BTW Excellent Mod cant wait to get it working! :D
If I change the below:
<install>
<readme type="inline">Karma Description Mod (ver. 1.1)
Tested with SMF 1.1 Beta 3 Public and now with SMF 1.0.5
Use it at your own risk. Don't forget to BACKUP!!!</readme>
<modification>Karma_Description_Mod.xml</modification>
<code>db_change.php</code>
<require-file name="Viewkarma.php" destination="$sourcedir" />
<require-file name="Viewkarma.template.php" destination="$boarddir/Themes/default" />
<require-file name="DescriptionKarma.template.php" destination="$boarddir/Themes/default" />
</install>
To this .. would it install it for the Black22 theme?:
<install>
<readme type="inline">Karma Description Mod (ver. 1.1)
Tested with SMF 1.1 Beta 3 Public and now with SMF 1.0.5
Use it at your own risk. Don't forget to BACKUP!!!</readme>
<modification>Karma_Description_Mod.xml</modification>
<code>db_change.php</code>
<require-file name="Viewkarma.php" destination="$sourcedir" />
<require-file name="Viewkarma.template.php" destination="$boarddir/Themes/black22" />
<require-file name="DescriptionKarma.template.php" destination="$boarddir/Themes/black22" />
</install>
I have the changed the desitination to point to the Black22 theme ..
great job! thanks for the new release!
my users only want to write an opinion if the karma is neg., so could you modify this feature? ;)
Hi m00h. If you want your users write only negative Karma Description, you must do next:
First, BackUp your Karma.php
Second, open Karma.php and find code:
//Loading Template of Description
if (!empty($modSettings['karmadescmod'])){
loadTemplate('DescriptionKarma');}
Replace it with this code:
//Loading Template of Description
if (!empty($modSettings['karmadescmod']) && ($_REQUEST['sa'] == "smite"))
loadTemplate('DescriptionKarma');
Then, find this:
if (!empty($modSettings['karmadescmod'])){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
And replace with this:
if (!empty($modSettings['karmadescmod']) && ($_REQUEST['sa'] == "smite")){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
if (!empty($modSettings['karmadescmod']) && ($_REQUEST['sa'] == "applaud"))
$_POST['Description'] = "applaud";
And last, find this code:
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
// Put it in the log.
Replace with:
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ if (empty($modSettings['karmadescmod'])) $_POST['Description'] = "Mod was disable";
// Put it in the log.
That's all, enjoy =)
Woops, sorry, just remember=) if you want your users look ONLY negative karma in Karma log, you must do next...
First, BackUp your Viewkarma.php
Second, open Viewkarma.php and find this code in function Viewkarma():
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
", __FILE__, __LINE__);
Replace it with this:
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
WHERE action = -1
", __FILE__, __LINE__);
Then, find:
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
And replace it with:
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
AND lk.action = -1
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
And last...if you want your users can see only negative karma in their profiles (I mean own karma), you must do next:
In Viewkarma.php function OwnKarma() find:
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
WHERE ID_TARGET=".$_REQUEST['u']."
", __FILE__, __LINE__);
Replace with:
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
WHERE ID_TARGET=".$_REQUEST['u']."
AND action = -1
", __FILE__, __LINE__);
Then:
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
AND lk.ID_TARGET = ".$_REQUEST['u']."
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
Replace with
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
AND lk.ID_TARGET = ".$_REQUEST['u']."
AND lk.action = -1
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
And in the function OtherKarma()
Find:
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
WHERE ID_EXECUTOR=".$_REQUEST['u']."
", __FILE__, __LINE__);
And replace with:
$request = db_query("
SELECT COUNT(action)
FROM {$db_prefix}log_karma
WHERE ID_EXECUTOR=".$_REQUEST['u']."
AND action = -1
", __FILE__, __LINE__);
Then find:
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
AND lk.ID_EXECUTOR = ".$_REQUEST['u']."
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
And replace it with:
$result = db_query("
SELECT lk.ID_TARGET, lk.ID_EXECUTOR, lk.logTime, lk.action, lk.Description, memt.realName AS targetName, meme.realName AS executorName
FROM {$db_prefix}log_karma AS lk, {$db_prefix}members AS memt, {$db_prefix}members AS meme
WHERE memt.ID_MEMBER = lk.ID_TARGET
AND meme.ID_MEMBER = lk.ID_EXECUTOR
AND lk.ID_EXECUTOR = ".$_REQUEST['u']."
AND lk.action = -1
ORDER BY $_REQUEST[sort] " . (isset($_REQUEST['asc']) ? 'ASC' : 'DESC') . "
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
Now that's all =)
Look at new version(1.3) of my mod. It include all you wanted functions.
Grek_Kamchatka, YOU'RE G R E A T !!
Big thanks! :-* :-* :-*
Your newest release: Can I set the permissions, that the user can view only the own karma ( Who change my karma? + Whom I change karma? ) and not the whole list?
What about my request to this working in another theme other than the default? :( :'( :(
Quote from: rsarwar on September 30, 2005, 10:05:40 AM
What about my request to this working in another theme other than the default? :( :'( :(
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Sorry, but it is very easy...i think you'll made it yourself.
After installing the Karma Description Mod, open /Themes/black22/BoardIndex.template.php and find this code:
<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
After it, add this code:
';
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, open /Themes/black22/languages/index.english.php and add this code at the end of the file.
//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)';
That's all. Easy, isn't it? =)
Anything else?
QuoteAnything else?
Hmmm yep! ;D
QuoteYour newest release: Can I set the permissions, that the user can view only the own karma ( Who change my karma? + Whom I change karma? ) and not the whole list?
I'll think about it. It's easy to.
So, for you, m00h.
Do you want the separate rights? (View whole list right and view own&other right)
If not, you must do this.
In Sources/Profile.php find
// Set the profile layer to be displayed.
$context['template_layers'][] = 'profile';
After it add this code:
$context['show_karmastat'] = allowedTo('karmalog_view') && empty($modsettings['karmapermiss']);
And then, in Profile.template.php
find:
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ echo'
<tr>
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id']. '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
elseif ($modSettings['karmaMode'] == '2')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ echo'
<tr>
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>
'
;}
}
echo '
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
// If the person looking at the summary is an admin the the account isn't activated, give the admin the ability to do it themselves.
if ($user_info['is_admin'] && !$context['member']['is_activated'])
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr><tr>
<td colspan="2">
<span style="color: red;">' . $txt['account_not_activated'] . '</span> (<a href="' . $scripturl . '?action=profile2;sa=activateAccount;userID=' . $context['member']['id'] . ';sesc=' . $context['session_id'] . '">' . $txt['account_activate'] . '</a>)
</td>
</tr>';
// Messenger type information.
And replace it with this code:
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat']) echo'
<tr>
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id']. '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
elseif ($modSettings['karmaMode'] == '2')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat']) echo'
<tr>
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>
'
;}
}
echo '
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
// If the person looking at the summary is an admin the the account isn't activated, give the admin the ability to do it themselves.
if ($user_info['is_admin'] && !$context['member']['is_activated'])
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr><tr>
<td colspan="2">
<span style="color: red;">' . $txt['account_not_activated'] . '</span> (<a href="' . $scripturl . '?action=profile2;sa=activateAccount;userID=' . $context['member']['id'] . ';sesc=' . $context['session_id'] . '">' . $txt['account_activate'] . '</a>)
</td>
</tr>';
// Messenger type information.
In KDM ver.1.4 it fixed.
New version 1.5
Now you can display users karma in Karma log opposit the usernames.
And new version 1.6
You are unbelieveable!
Could you make this http://www.simplemachines.org/community/index.php?topic=49088.msg363510#msg363510 to a default function? Otherwise I have to change the code every time :(
And what about a german Translation? :)
Big Thanks for this mod!!!
Quote from: m00h on October 07, 2005, 01:18:41 PM
Could you make this http://www.simplemachines.org/community/index.php?topic=49088.msg363510#msg363510 to a default function? Otherwise I have to change the code every time :(
I'll think about it.
Quote from: m00h on October 07, 2005, 01:18:41 PM
And what about a german Translation? :)
I don't know german language) But, if you need it, you can use a translator))
In new version of the mod, you can remove any log messages. (Only for admin)
See screenshot:
http://www.pkforum.ru/index.php?action=dlattach;topic=6046.0;id=15723
I couldn't get this to work.
My board is SMF 1.0.5
I installed via package manager, all fine.
I switched to SMF default template to see the mod.
Nothing. No new stats link etc.
The only difference which might be due to the mod was that it tells me I have to wait 1 hour before I can applaud/smite an user again. This might be forum default however, I have not tried it out before.
So, my questions are:
1. Is there anything else to do apart from running the package manager? Would I have to log in/out before I can see changes? Reload pages?
Not that I have not tried this already ..
2. In case the mod would work - I am using a different theme than default. Would I have to change all the files in my theme by hand?
I am not that keen on doing so especially since the mod seems not to be working for me.
Would it be possible to rename my theme to "default"? If so, would this make changing template files by hand for future mods still necessary?
You must enable it in Admin Panel -> Edit Features and Options -> Karma -> Enable Karma Description Mod
Version 1.7 now available.
Ah! Thank you ..
Seems to be ok now but if you click on applaud/smite you get this:
Parse error: parse error, unexpected '}' in /home/XXX/public_html/board/Sources/Karma.php on line 246
As mentioned in another post - how to I find this bit?
In notepad you have no lines, Word counts them only per page ..
And even if I find that line, do I just remove the } ?
I have just installed the mod and enabled it, so is that a mod bug or have I made a mistake?
I guess my webhost's system might cause a problem but of course I would like to learn why this happened and how to prevent it in future.
I think you installed this mod twise. You must open Karma.php and remove two closed brackets before ?>
^^^ I had the same problem, you should have two close brackets at the end, delete any extras.
My question is, everything seems to work fine, except I have NO KARMA LOG.
lol
It prompts me for a reason, it puts the karma on, but I have no log link in the admin section... what's the "action" code for the karmalog? I can't find the log anywhere... that, and I don't get the other little goodies added on to my main forum stats, like where it says "karma stats"
I'm using the helios multi premod theme... is that the problem maybe?
I found it... it's called viewkarma but I have no link... any guess on why it's not visible in my theme?
Because my mod edit this file /Themes/default/BoardIndex.template.php
You must open your /Themes/Helios multi premod/BoardIndex.template.php and find this code:
</td>
<td width="32%" class="smalltext" valign="top">
And add this code before:
';
if (!empty($modSettings['karmadescmod']))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
echo'
excellent mod.
thanks ;D
Thank YOU =)
Do you need to uninstall the previous version before installing the newest version?
Thanks
Yes, uninstall previous version and install new. If you'll recieve an error in karma.php open Sources/Karma.php and delete 2 close brackets at the end of the file.
Quote from: Grek_Kamchatka on October 12, 2005, 08:54:15 PM
Yes, uninstall previous version and install new. If you'll recieve an error in karma.php open Sources/Karma.php and delete 2 close brackets at the end of the file.
Thank you.
You are welcome =)
Hi! Thanks for this nice mod!
I have been using my own simple karmalog since the beginning of smf, but your mod really covers all the features my users have asked for so they are very happy.
Just wondering about some issues... from time to time I get this error in the database:
Quote
8: Undefined variable: link
File: /home/xxx/Sources/Karma.php
Line: 171
And line 171 in Karma.php is for me the row starting with VALUES:
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )", __FILE__, __LINE__);
Does any one else get this? I haven't really been able to sort out what causes this error, it probably has something to do with $link being empty, because it turns up with no linkdata in the karmalog, but why it is empty is just a mystery.
The other thing is that users no longer have the possibility to change opinion, if they have applauded (+) someone, they can't change it to smite (-) before the restricttime has passed.
Best regards,
finnhack
Hi,
first of all congratulations for this great mod.
I'm doing this mod in spanish. If the owner wants, I can send him the mod in both languages, english and spanish.
I've a question.
When you go to Forum Maintenance - General Maintenance and click in "Empty out unimportant logs.", all the karma's descriptions are deleted. Please try to make a solution for this.
Thanks
You were of course right. After running it in a proper php editor and finding the lines, removing the brackets, it works fine.
I have just one more question.
It says "who change my karma" etc. I want to change this text but I can't find the file where it is set.
I checked "list files" and read through this thread but I couldn't spot it.
I am sure I read it somewhere ..
Ok, I found the part in themes/default/languages/Profile.english.php.
Problem solved. :)
Quote from: SirGotxi on October 14, 2005, 12:29:02 PM
I've a question.
When you go to Forum Maintenance - General Maintenance and click in "Empty out unimportant logs.", all the karma's descriptions are deleted. Please try to make a solution for this.
Thanks
Whoops, sorry. I think it worked fine. I forget to remove this string from the Admin.php, but added another function in maintenance (Empty out Karmachange Description log) =))
Thank you, it will be fixed in Karma_Description_Mod_ver.1.8
By the way, in new version you'll see other Karma Statistic, 4example: Top 5 MAX applauded and smited users, User MAX applauding other users, User MAX smiting other users,
Today karma points, Today "+" and Today "-". May be anything else?
Quote from: Grek_Kamchatka on October 16, 2005, 01:26:42 AM
Quote from: SirGotxi on October 14, 2005, 12:29:02 PM
I've a question.
When you go to Forum Maintenance - General Maintenance and click in "Empty out unimportant logs.", all the karma's descriptions are deleted. Please try to make a solution for this.
Thanks
Whoops, sorry. I think it worked fine. I forget to remove this string from the Admin.php, but added another function in maintenance (Empty out Karmachange Description log) =))
Thank you, it will be fixed in Karma_Description_Mod_ver.1.8
By the way, in new version you'll see other Karma Statistic, 4example: Top 5 MAX applauded and smited users, User MAX applauding other users, User MAX smiting other users,
Today karma points, Today "+" and Today "-". May be anything else?
Oh thanks,
I can colaborate doing an spanish translation of the mod.
Also, if you want, you can make one more modification. I think you've to activate 1 option for admins:
- If Admin wants, only you can vote one person 1 time. Not posible send 2 votes to the same user.
Also I think there are some bugs:
- You can not modigy the text of the votes. I think people send votes hast to be the possibility to change the description of the vote.
- If you go to Karma Stats and try to delete 1 vote as a admin, you can only delete de registry, but the user has the vote. For instance. If I vote to John, john has +1 in Karma. But admin goes to Karma stats and delete the vote, this is cleaned but not erased, and john has 1 vote without description.
Hope you can solve this
Thanks and congratulations for this great mod ^^
Ok, one more thing.
I guess there should be Karma stats somewhere but I do not have them.
I looked in "more stats" (at least this is what my theme calls it) but there is nothing about Karma.
Should it be a public stat or can that only be seen by an admin? *confused*
And if there should be something in stats is it not there because of the different theme?
I can live without stats but it would be nice to have them.
Hi, Gwion, it will be in new version....soon =)
Fantastic!
I just don´t want normal users to know who changed their Karma...
How can I do that?
Hi, Brasileira, just edit their permissions =)
By default, only admin can view log.
I want them to see the reason why they got + or - ....
but not who chanegd the karma ::)
Gwion, you said about it?
http://www.pkforum.ru/index.php?action=dlattach;topic=6046.0;id=16359
New version now available. (Karma_Description_Mod_ver.1.8)
Quote from: Brasileira on October 19, 2005, 04:49:04 AM
I want them to see the reason why they got + or - ....
but not who chanegd the karma ::)
The most light variant is find in Viewkarma.template.php this code:
elseif (!empty($modSettings['karmalogview']))
{
echo '
<tr class="windowbg">
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_exec'] . '" title="' . $txt[92] . ' ' . $member['executor'] . '">' . $member['executor'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['executorkarmagood'],'/-',$member['executorkarmabad'],')</span>';
echo '</td>
And replace it with this code:
elseif (!empty($modSettings['karmalogview']))
{
echo '
<tr class="windowbg">
<td width="14%" align="center"></td>
Admin can see who it was, but other users not.
Hi,
first of all congratulations for your great mod, one of my favourites !!!
Now I'm using v1.7 and I people has voted around 30 times. I want install this new mod and keep the old votes and descriptions. I think first I've to uninstall and then install mod 1.8, but I want to know if message will be there or will be lost.
Thanks again
It will be lost. Hm...what you can do to keep old votes...
First of all, you can do all mod actions by your hand (Search and replace)
Second, i think, you can open Karma_Description_Mod_ver.1.7.zip on your server (Forum/Packages)
and edit file package-info.xml You must remove this code:
<code>uninstall.php</code>
And then you can uninstall mod. If you can't edit this file, just download it, i mean Karma_Description_Mod_ver.1.7.zip, from your host, unzip to the folder, edit package-info.xml and zip all files again to the Karma_Description_Mod_ver.1.7.zip. Upload back to the server, where it was and uninstall the mod. I think so =)
And third. You can copy your table "db_prefix_log_karma" on your mysql database to other place, like _log_karma2, for example, uninstall the mod, install new version and then replace _log_karma with old table _log_karma2. Don't forget to rename it to _log_karma =) You will save all your actions.
Can i see your worked version of my mod?
Thanks!
that was PERFECT!
:D
Quote from: Grek_Kamchatka on October 20, 2005, 07:52:54 PM
Can i see your worked version of my mod?
YEEEEES !!!
http://foro.ssaf.net
Forum language is only in spanish. It's a forum for saint seiya knights of the zodiac collectors toys. To view the Karma (in my forums called
Cosmos) you've to registry first. Please register with your username
Grek_Kamchatka. The problem is
you need 50 messages to see stats.
No spam please :P I prefer send you a pictures of this mod working in my forums: :P
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg454.imageshack.us%2Fimg454%2F6561%2Fkarma033xe.th.jpg&hash=31f8ed75aa3e320fa7bec7a8415e9e77426ac13d) (http://img454.imageshack.us/my.php?image=karma033xe.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg454.imageshack.us%2Fimg454%2F3742%2Fkarma016gl.th.jpg&hash=4b85c988474d78536f63d106faa42dcdd78bf4fc) (http://img454.imageshack.us/my.php?image=karma016gl.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg454.imageshack.us%2Fimg454%2F9049%2Fkarma023hq.th.jpg&hash=c83ef86e858d178b17114a4dd6a51e77587bcd27) (http://img454.imageshack.us/my.php?image=karma023hq.jpg)
now I will test the mod. I've updated to v1.8 and I haven't lost votes. That's great by the moment !!!
Hi,
I've a big problem !!! please help me !!!
Anybody can not vote !!!
I've removed the code uninstall.php as you've said me, then I've unistall the v1.7 mod and then I've installed v1.8, but when I want to vote to someone, I read the next message:
QuoteParse error: parse error, unexpected '}' in /home/ssafnet/public_html/foro/Sources/Karma.php on line 251
I think I've a problem with karma.php because I can not send any vote.
Please send me your karma.php to compare. My mail is sirgotxi@ssaf.net
Thanks
I think there's a conflict between your new version and the "show-only-negative-function" http://www.simplemachines.org/community/index.php?topic=49088.msg365050#msg365050
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg468.imageshack.us%2Fimg468%2F6547%2Fkarmastat6av.th.jpg&hash=06fd667ee98e753f1717edfe12905a07b2853e4a) (http://img468.imageshack.us/my.php?image=karmastat6av.jpg)
I. i get only this (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg468.imageshack.us%2Fimg468%2F3883%2Funbenannt6lf.png&hash=9d1a3e8b29b7dabc2f1bdface04f99dcf666b111)
II. and in the where-field i get only http://xy.com/smf/index.php?topic= without any topic numbers
would be great if you could fix it :)
Quote from: SirGotxi on October 21, 2005, 08:29:16 AM
Hi,
I've a big problem !!! please help me !!!
Anybody can not vote !!!
I've removed the code uninstall.php as you've said me, then I've unistall the v1.7 mod and then I've installed v1.8, but when I want to vote to someone, I read the next message:
QuoteParse error: parse error, unexpected '}' in /home/ssafnet/public_html/foro/Sources/Karma.php on line 251
I think I've a problem with karma.php because I can not send any vote.
Please send me your karma.php to compare. My mail is sirgotxi@ssaf.net
Thanks
Delete 2 close brackets at the end of the file Karma.php. (When package manager uninstalling the mod, it can't remove it. I don't know why.)
Quote from: m00h on October 21, 2005, 06:19:45 PM
I think there's a conflict between your new version and the "show-only-negative-function" http://www.simplemachines.org/community/index.php?topic=49088.msg365050#msg365050
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg468.imageshack.us%2Fimg468%2F6547%2Fkarmastat6av.th.jpg&hash=06fd667ee98e753f1717edfe12905a07b2853e4a) (http://img468.imageshack.us/my.php?image=karmastat6av.jpg)
I. i get only this (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg468.imageshack.us%2Fimg468%2F3883%2Funbenannt6lf.png&hash=9d1a3e8b29b7dabc2f1bdface04f99dcf666b111)
II. and in the where-field i get only http://xy.com/smf/index.php?topic= without any topic numbers
would be great if you could fix it :)
Hi, m00h =)
What version do you use? Do you have any errors in Error Log? If you use ver.1.8 what version do you use until you installed ver.1.8?
Oops :D
version 1.8 (+SMF 1.1 RC1)
I have a fresh install of my forum, so no previous version of your mod.
this is the error log when i run http://xysite.com/smf/index.php?action=viewkarma
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg475.imageshack.us%2Fimg475%2F7476%2Fforumerrorlog11299745373288nt.th.png&hash=4d262414fdb02f5587f02ac3fbbdcef7adac6847) (http://img475.imageshack.us/my.php?image=forumerrorlog11299745373288nt.png)
thanks :)
Quote from: Grek_Kamchatka on October 21, 2005, 08:25:53 PM
Delete 2 close brackets at the end of the file Karma.php. (When package manager uninstalling the mod, it can't remove it. I don't know why.)
This is not the error. I do it and I see the same error. Please send me the karma.php file to my mail or if you say your mail, I can send tiy my Karma.php.
I will pu here as a quote:
Quote<?php
/******************************************************************************
* Karma.php *
*******************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* =========================================================================== *
* Software Version: SMF 1.1 Beta 3 Public *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2005 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it *
* under the terms of the provided license as published by Lewis Media. *
* *
* This program is distributed in the hope that it is and will be useful, *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
******************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');
/* This file contains one humble function, which applauds or smites a user.
void ModifyKarma()
- gives or takes karma from a user.
- redirects back to the referrer afterward, whether by javascript or
the passed parameters.
- requires the karma_edit permission, and that the user isn't a guest.
- depends on the karmaMode, karmaWaitTime, and karmaTimeRestrictAdmins
settings.
- is accessed via ?action=modifykarma.
*/
// Modify a user's karma.
function ModifyKarma()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
// Delete any older items from the log. (karmaWaitTime is by hour.)
db_query("
DELETE FROM {$db_prefix}log_karma
WHERE " . time() . " - logTime > " . (int) ($modSettings['karmaWaitTime'] * 3600), __FILE__, __LINE__);
// Start off with no change in karma.
$action = 0;
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
// Put it in the log.
db_query("
REPLACE INTO {$db_prefix}log_karma
(action, ID_TARGET, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], $ID_MEMBER, " . time() . ')', __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
// If you are gonna try to repeat.... don't allow it.
if ($action == $dir)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
// You decided to go back on your previous choice?
db_query("
UPDATE {$db_prefix}log_karma
SET action = $dir, logTime = " . time() . "
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+', 'karmaBad' => '-'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+', 'karmaGood' => '-'));
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
// JavaScript as a last resort.
else
{
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]]></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
{
global $context;
if (strpos($_GET['action'], 'mozilla') !== false && !$context['browser']['is_gecko'])
redirectexit('http://www.getfirefox.com/');
elseif (strpos($_GET['action'], 'mozilla') !== false)
redirectexit('about:mozilla');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>The Book of Unknown, ', @$_GET['verse'] == '2:18' ? '2:18' : '4:16', '</title>
<style type="text/css">
em
{
font-size: 1.3em;
line-height: 0;
}
</style>
</head>
<body style="background-color: #444455; color: white; font-style: italic; font-family: serif;">
<div style="margin-top: 12%; font-size: 1.1em; line-height: 1.4; text-align: center;">';
if (@$_GET['verse'] == '2:18')
echo '
Woe, it was that his name wasn\'t <em>known</em>, that he came in mystery, and was recognized by none. And it became to be in those days <em>something</em>. Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind. And thus what was to be known the <em>secret project</em> began into its existence. Henceforth the opposition was only <em>weary</em> and <em>fearful</em>, for now their match was at arms against them.';
else
echo '
And it came to pass that the <em>unbelievers</em> dwindled in number, and the opposition found fear from the <em>x</em> and the <em>j</em> while those who stood with the <em>something</em> grew stronger and came together. Still, this was only the <em>beginning</em>, and what lay in the future was <em id="unknown" name="[Unknown]">unknown</em> to those on both sides.';
echo '
</div>
<div style="margin-top: 2ex; font-size: 2em; text-align: right;">';
if (@$_GET['verse'] == '2:18')
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 2:18</span>';
else
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 4:16</span>';
echo '
</div>
</body>
</html>';
obExit(false);
}
?>
Thanks
SirGotxi, i found some errors in your posted code, but i will send you a mail with Karma.php. Sorry for this error.
Hm, i just now install SMF 11RC1 + Mod 1.8 but everything ok. May be you edit source code? May be you try to install "show-only-negative-function"? It's a new version, so one of the changes may corrupt file.
Quote from: Grek_Kamchatka on October 22, 2005, 07:52:26 PM
Hm, i just now install SMF 11RC1 + Mod 1.8 but everything ok. May be you edit source code? May be you try to install "show-only-negative-function"? It's a new version, so one of the changes may corrupt file.
Yes, i changed the source code because of the "show-only-negative-function".
It's all perfect when i install only the mod without the "show-only-negative-function". Because of this I said there's a conflict between this. :(
Thanks for your new version 1.9
I've installed it (without any modifications) but I (Admin) can't see the Link to the log on the Board Index. What's wrong? :(
On a fresh install of SMF i can see the link.
SMF Default Theme? Do you enabled mod in admin panel?
P.S. New version 1.9.2 Update your mod.
Quote from: Grek_Kamchatka on October 27, 2005, 09:47:19 PM
SMF Default Theme? Do you enabled mod in admin panel?
P.S. New version 1.9.2 Update your mod.
Yes, SMF default theme and i enabled the mod.
I've updatet it too but the same strange problem.
And: If I applaud to an user, i get this message:
Parse error: parse error, unexpected $ in /usr/export/www/xy/abc/hosting/user/Sources/Karma.php on line 274
(original zip package of you, no source changed)
I think it all because of old install of the mod. Can you uninstall the mod, and upload to the server all changed files from the SMF install package?
Quote from: Grek_Kamchatka on October 28, 2005, 07:23:48 PM
I think it all because of old install of the mod. Can you uninstall the mod, and upload to the server all changed files from the SMF install package?
Done and fixed. :)
Thanks for your work!
hello there, i installed everything, using SMF RC1.1 but got the message: Error: Database modifications failed!
what can i do? please help
Hi, Lyrax. This error may be if mod can't do any changes in your mysql database.
Can you see _log_karma table? If there present Description and link field? If present - everything ok, don't worry. If not you can create this field by your hand.
The mod is turned on, and everything is turned on. But, the karma stats link on the front page next to site stats isn't showing up. Why?
Thanks.
What theme do you use? It is only for Default theme. If you use another theme you must edit your BoardIndex.template.php
I look forward to use this mod, because some of my forum members like to know who gives the negative karma ;)
But I have an error:
Unable to load the 'main' template.
Clean installation, version 1.92, plz give me some advice. I read this topic and did not found such an error.
Just curious, any chance we might be able to add custom titles based on karma + and - and net karma in future versions?
Quote from: qtime on November 05, 2005, 12:43:07 PM
I look forward to use this mod, because some of my forum members like to know who gives the negative karma ;)
But I have an error:
Unable to load the 'main' template.
Clean installation, version 1.92, plz give me some advice. I read this topic and did not found such an error.
Look at readme. You must copy this files: Viewkarma.php, Deskriptionkarma.template.php and Viewkarma.template.php to their directory from the mod package. It's a bug in package manager (SMF 1.1 RC1)
Quote from: Epimetheus on November 05, 2005, 08:05:38 PM
Just curious, any chance we might be able to add custom titles based on karma + and - and net karma in future versions?
Hm...interesting idea) May be you will see it in next, 2.0, mod version =)
Thx Grek_Kamchatka, I did not see a readme file, but now it's working, thx for all your work for this mod and the helping answer.
You are welcome)
Can you make the stat section only viewable to admins?
Also, is there a way to make it so a member can only see their log?
Quote from: Jay T on November 08, 2005, 10:32:46 AM
Can you make the stat section only viewable to admins?
See permissions. "View Karma Log"
Quote from: Jay T on November 08, 2005, 10:32:46 AM
Also, is there a way to make it so a member can only see their log?
Yes. You can add another one permission "View only members log".
Quote from: Grek_Kamchatka on November 08, 2005, 08:05:37 PM
Quote from: Jay T on November 08, 2005, 10:32:46 AM
Can you make the stat section only viewable to admins?
See permissions. "View Karma Log"
Quote from: Jay T on November 08, 2005, 10:32:46 AM
Also, is there a way to make it so a member can only see their log?
Yes. You can add another one permission "View only members log".
Thanks for helping but could you give a little more detail.
You must add this permission, after that you must edit viewkarma.php and control this permission
Quote from: Grek_Kamchatka on November 08, 2005, 10:32:50 PM
You must add this permission, after that you must edit viewkarma.php and control this permission
I have no idea how to do that.
Quote from: Jay T on November 08, 2005, 09:09:14 PM
Can you make the stat section only viewable to admins?
Quote from: Grek_Kamchatka on November 08, 2005, 08:05:37 PM
See permissions. "View Karma Log"
When I uncheck view other Karma stats it makes so no one even admins can see it. I want this info to be only viewable to admins.
Grek_Kamchatka,
I must say this mod is amazing. Congratulations and thank you.
Just a question:
I've my forum translated to portuguese and i think due to that i cannot see "Whom I Change Karma?" and "Who change my karma?" options. I just only have a blank space instead of that.
I can i do the modification?
Thank you very much.
Yes, you can) My mod change only english files. You can open this english files and find and copy all the changes. Then open your language files and past this code)
P.S. To see "Whom I Change Karma?" and "Who change my karma?" look at the Profile.english.php
Thank you very much. It solved my problem.
And congratulations again. Superb Mod.
You're welcome =)
Thank YOU!
Awesome Mod, thanks! My users accepted it with open arms. :D
How come it only shows the board where the Karma was given?
Is there a way to make it show the post that was giving Karma?
It show the post where Karma was change. Look at my board:
http://www.pkforum.ru/index.php?action=viewkarma
In "where" field, i have links like this:
http://www.pkforum.ru/index.php?topic=6718.msg159210#msg159210
So it show Topic (6718) and Message (msg159210) and if you'll follow this link you'll see this message, not only topic.
You are right. A post that had been deleted was giving Karma so it just went to the index page. The rest go to the post.
Sure wish I could get those modifications I asked for ;)
Hm...but what will you see if this post will be deleting again? Index page again.
It works fine, now how about those modifications I wanted?
This mod is VERY buggy and do NOT work on a new installed SMF 1.1 RC1.
The author needs to fix it 1st before releasing all the new addons. Every time i try to install a new updated version they always end up with errors!
Unknown column 'link' in 'field list'
File: home\WWW\Apache2\htdocs\forum\Sources\Karma.php
Line: 152
It work fine with SMF 1.1 RC1 without any bugs and errors.
Language Polish version Karma Description Mod accessible here: Karma Description Mod PL (http://www.simplemachines.pl/component/option,com_smf/Itemid,26/topic,52.0)
Tested from SMF 1.1 RC1.
I ask about opinions and sugeste.
Polska wersja językowa Karma Description Mod dostępna tutaj:Karma Description Mod PL (http://www.simplemachines.pl/component/option,com_smf/Itemid,26/topic,52.0)
Testowana z SMF 1.1 RC1.
Proszę o opinie i sugeste.
if it works fine with smf 1.1 rc1 then what is this error when i try to give someone karma this is what i get:
Unknown column 'link' in 'field list'
File: home\WWW\Apache2\htdocs\forum\Sources\Karma.php
Line: 152
Make sure the edits were done correctly.
i used the smf package manager installer to install this mod
Do you have another installed mod? What version on Karma mod you use?
Quote from: frostwhite on November 30, 2005, 01:47:31 PM
Hi
I've translated your mod to german. Hope you enjoy it!
Thank you very much! =)
Quote from: frostwhite on November 30, 2005, 01:47:31 PM
One bug is in it: It doesn't display the link on the forum index -> [Karma Stat] ???
It is because my mod edit only default theme. Choose default template and you'll see karma label))
By the way, read this topic and you will find answer for you question)
Quote from: frostwhite on December 01, 2005, 11:37:03 AM
Hmmm I'm using the default theme....
At the time of the installation my mod, index.template.php was Success? Hm. it is curiously. You first who talking about this trouble.
I just tried to install this mod, but came up against a problem.
The actual installation went fine, and everything looked good. I turned everything on for the mod, and set the permissions and so forth.
Then I went to test it. When I tried to adjust somebody's karma, or go to any of the Karma stat pages, I received an error saying that "main template" could not be found.
Any ideas? My users would really like this Mod, and it would be nice if I could install it soon.
Rasyr, it is a bug in Package Manager (SMF 1.1).
Copy viewkarma.php to the source dir, index.template.php and deskriptionkarma.template.php to the theme directory from mod package. It's all =)
never had this error before, running 1.1rc1
Duplicate entry '6-1' for key 1
File: /home/phantasy/public_html/forum/Sources/Karma.php
Line: 148
any ideas?
thanks
snork
[edited]
cleared the log and it's working fine, but seems if you have issued karma to someone, and not cleared the log...then you can't issue for the same member until the log is cleared. it would seem additional table are needed in the database, along with a check to see if you have left karma, so it can be added to that table for the member?
I am having a problem with this in 1.1rc1. The install seems to work fine but after clicking apply mod it shows an error modifying the database, even so the mod states that it it applied and should work fine.
When I look at my db there is no mention of karma within it. I am at a loss why its not working.
Also I am using the Juno theme and although I can modify the boardindex template there is no index.english.php in languages... Any ideas how to add the links to the theme for this too.
cheers
leigh :D
Quote from: bunglehaze on December 20, 2005, 08:56:46 PM
I am having a problem with this in 1.1rc1. The install seems to work fine but after clicking apply mod it shows an error modifying the database, even so the mod states that it it applied and should work fine.
When I look at my db there is no mention of karma within it. I am at a loss why its not working.
Also I am using the Juno theme and although I can modify the boardindex template there is no index.english.php in languages... Any ideas how to add the links to the theme for this too.
cheers
leigh :D
I got the same error with my smf 1.0.5 forum. I removed this mod and the Visual Warning Mod, which has some interdependancy on each other it seems. I kept getting db errors. I removed them just to be safe.
My members surely miss the Karma mod thou. :-[
First of all, spaseebah (pardon my mangled spelling) for putting this mod together.
However, I can't seem to get it to run. Running 1.0.5, using default theme.
Using package manager. Upload zip file (1.9.2). Hit apply mod. It tells me I need to provide my FTP info, so I do.
It accepts the FTP info, at which point I am here:
Quote from: package managerType Action Description
1. Execute Modification ./Sources/Admin.php Success
2. Execute Modification ./Sources/Karma.php Success
3. Execute Modification ./Sources/ModSettings.php Success
4. Execute Modification ./Sources/BoardIndex.php Success
5. Execute Modification ./Sources/Profile.php Success
6. Execute Modification ./Sources/ManagePermissions.php Success
7. Execute Modification ./Themes/default/Admin.template.php Success
8. Execute Modification ./Themes/default/BoardIndex.template.php Success
9. Execute Modification ./Themes/default/Profile.template.php Success
10. Execute Modification ./Themes/default/languages/Admin.english.php Success
11. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
12. Execute Modification ./Themes/default/languages/Who.english.php Success
13. Execute Modification ./Themes/default/languages/Help.english.php Success
14. Execute Modification ./Themes/default/languages/index.english.php Success
15. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
16. Execute Modification ./Themes/default/languages/Errors.english.php Success
17. Execute Modification ./Themes/default/languages/Profile.english.php Success
18. Execute Modification ./index.php Success
19. Execute Code db_change.php
20. Extract File ./Sources/Viewkarma.php
21. Extract File ./Themes/default/Viewkarma.template.php
22. Extract File ./Themes/default/DescriptionKarma.template.php
So I hit the Proceed button, and get this error message:
Quote from: SMFAn Error Has Occurred!
2: copy(/usr/www/d3sports.com/htdocs/post/Themes/default/Viewkarma.template.php): failed to open stream: Permission denied
File: /usr/www/d3sports.com/htdocs/post/Sources/Subs-Package.php
Line: 814
Any suggestions? I uploaded the template files by hand but that didn't seem to do anything for me.
I am having problems with this also..
Hi,
for some reason I can view my karma details on my board at www.phishybusiness.co.uk (http://www.phishybusiness.co.uk)
It keeps throwing up an error message
QuoteUnknown column 'action' in 'field list'
File: /home/phishy5/public_html/forum/Sources/Viewkarma.php
Line: 47
When I installed the mod it showed database modification error at the top of the page, so I dropped the table and tried again with the same error. From there I rebuilt the table adding 2 fields (description - TINYINIT - not null and field - TEXT - not null) as I could see in the karmaview.php file.
It is still doing the same error, so I really need to know where I might have gone wrong, if I am needing to add any extra db fields etc etc - I am using 1.1RC1 and the mod is 1.92
*** edited too ***
I have just gotten a new error, instead of the old one..
QuoteUnknown column 'action' in 'field list'
File: /home/phishy5/public_html/forum/Sources/Viewkarma.php
Line: 154
cheers
leigh ???
Just for your information:
I've tested Karma_Description_Mod_ver.1.9.2 on the newest Release Candidate of SMF and got this error message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg323.imageshack.us%2Fimg323%2F614%2Fpackagemanagerinstallactions11.th.png&hash=0cfc4ecbf0e5c394160eebe2295899f1db951f7f) (http://img323.imageshack.us/my.php?image=packagemanagerinstallactions11.png)
Quote from: clearly on December 24, 2005, 12:47:38 PM
Just for your information:
I've tested Karma_Description_Mod_ver.1.9.2 on the newest Release Candidate of SMF and got this error message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg323.imageshack.us%2Fimg323%2F614%2Fpackagemanagerinstallactions11.th.png&hash=0cfc4ecbf0e5c394160eebe2295899f1db951f7f) (http://img323.imageshack.us/my.php?image=packagemanagerinstallactions11.png)
I haven't RC2, so i can't do anything.
Quote from: bunglehaze on December 24, 2005, 12:32:23 PM
I am having problems with this also..
Hi,
for some reason I can view my karma details on my board at www.phishybusiness.co.uk (http://www.phishybusiness.co.uk)
It keeps throwing up an error message
QuoteUnknown column 'action' in 'field list'
File: /home/phishy5/public_html/forum/Sources/Viewkarma.php
Line: 47
When I installed the mod it showed database modification error at the top of the page, so I dropped the table and tried again with the same error. From there I rebuilt the table adding 2 fields (description - TINYINIT - not null and field - TEXT - not null) as I could see in the karmaview.php file.
It is still doing the same error, so I really need to know where I might have gone wrong, if I am needing to add any extra db fields etc etc - I am using 1.1RC1 and the mod is 1.92
*** edited too ***
I have just gotten a new error, instead of the old one..
QuoteUnknown column 'action' in 'field list'
File: /home/phishy5/public_html/forum/Sources/Viewkarma.php
Line: 154
cheers
leigh ???
Hi!
I have a frash install of SMF RC1 just now.
What i'm do:
1. Install SMF RC1
2. In admin panel check the function: "friendly url" (Because you use it function)
3. Register new user test/test
4. Post test message from test user
5. Go to this post message and chage karma to test user by admin
6. Go to the karma log
7. Go to admin panel and error log. It's clear
By the way. I use default theme. It's very important.
I must see your database to help you. Can you show me output of this command:
SELECT *
FROM `smf_log_karma` LIMIT 0, 30
I meant to note that I am using the default theme on my install of SMF 1.0.5.
Can someone walk me through changing some of the wording and grammar displayed in this mod? I know English isn't the creators first language, so there had to be some barriers there. But I need to fix that. ;D
ah great, this is for 1.05 now.
would be great to update the first post, and maybe the thread title, I ignored this mod before but it's just what I need/want!
edit: mod is looking good.
is the page/post where the karma was given not recorded/displayed?
would be good to have a permission so users can just see a log of karma they gave, or they can just see karma they gave and and received.
Quote from: Grek_Kamchatka on December 26, 2005, 05:24:42 PM
Quote from: clearly on December 24, 2005, 12:47:38 PM
Just for your information:
I've tested Karma_Description_Mod_ver.1.9.2 on the newest Release Candidate of SMF and got this error message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg323.imageshack.us%2Fimg323%2F614%2Fpackagemanagerinstallactions11.th.png&hash=0cfc4ecbf0e5c394160eebe2295899f1db951f7f) (http://img323.imageshack.us/my.php?image=packagemanagerinstallactions11.png)
I haven't RC2, so i can't do anything.
RC2 is now public available ;)
Can we have an update for rc2 plsss
Certainly, but i found an error in Karma function in RC2 forum. I tried to enable karma, but i can't (Fresh install), so i can't do anything with Karma Description Mod.
I think you will see a new version of my mod in the near future =)
Grek, I have a couple of site using RC2 updated from RC1, and no errors. Must just be on fresh install, or a problem with some files you are using.
Fresh install of rc2 for testing and the karma is working fine so far here. Mod conflict maybe?
Skipdawg, thx, but it's realy error.
Here is my subj. http://www.simplemachines.org/community/index.php?topic=64336.0
Has any progress been made getting it working for RC2? Or anyone managed to get it working with a manaul install?
i upgraded from 1.1rc to rc2
and the mod wont work anymore
it gives installation error warning as well
I'm still using SMF 1.0.5...
Recently, I realized that the [Karma Stats] disappeared from the forum stats. Is it because I changed my forum skin?
Gret i was able to get karma description mod to work on a fresh intstall of rc2...
i changed 1 thing in the boardindex and got no errors. and it works...
this weekend im going to upgrade my main forums instead of my test forums so ill let you guys know if what i changed got it working for a upgrade.
SleePy, if you want your code tested on my test site, I'll certainly give it a try for you. (RC1 upgraded to RC2)
Hi there!
I am looking for a way to show karma in a bar diagram. More karma = longer bar
could look like those access stats (http://www.proxy2.de/demo/stat-demo.php) but i got no idea how to integrate that into SMF. Can you add this potion to your mod?
Hi all! I just made a new version of my mod. It's work only with 11RC2>> with default theme. But, i want to add some new functions in it. Can you wait for some time?
Sure...
how about the bars?
KDM ver. 1.9.3 now available. No new functions, just compatibility with RC2 and latest reliese candidate.
URPG, what bars?
Hundreds of errors coming up on the RC2 version (20 pages in 5 minutes). They are showing on most templates in the error log. One below:
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /././././smf/Themes/default/Post.template.php (eval?)
Line: 517
Just turn one page back to <11> and you will see ;)
I was talking about replacing / optionaly replacing the karma display from numbers into karma-bars even gave an example how to do it in php (not my example, an example, i could not do it)
Hi, gerrymore. First of all, my mod don't do anything with this file (Post.template.php) and i haven't this error on fresh install of my forum. But you can find
karma_stat
and replace it with this
'karma_stat'
Quote from: gerrymore on January 14, 2006, 03:14:47 PM
SleePy, if you want your code tested on my test site, I'll certainly give it a try for you. (RC1 upgraded to RC2)
yea just 2 days ago i upgraded my main site and well the fixed version of the karma description mod i had worked prefect. only 1 minor error but i think that is the package manger error. because everything i installed though package manger seems to act like it was double installed... :o
Hi, i'm having a problem installing this mod, and getting it to work.
I'm using SMF version 1.1 RC2 but when i come to enable it, i get a warning on "BoardIndex.template.php". I am using the RC2 default theme so i've no clue why that is happening.
If i install the mod anyway and then change apply the changes myself to BoardIndex.template.php. Things seem fine until i click on a Karma link such as the one in my profile. I then get this error on my local smf forum (used for testing upgrades and mods).
QuoteUnknown column 'lk.link' in 'field list'
File: c:\phpdev\www\public\smf2\Sources\Viewkarma.php
Line: 175
I also get this error when testing the mod on my live forum which was upgraded from 1.0.5 beta 3 public > RC1 > RC2.
Can anyone help me fix this problem?
I'm using it on RC2 and had to change the boardindex.template.php by hand because the package has a few extra spaces...
Everything is working fine!
Quote from: Grek_Kamchatka on January 17, 2006, 07:17:27 PM
Hi, gerrymore. First of all, my mod don't do anything with this file (Post.template.php) and i haven't this error on fresh install of my forum. But you can find
karma_stat
and replace it with this
'karma_stat'
I have this already in index.english.php
'karma_stat'
These are 30 seconds worth of errors. This was on a clean install, with no mods. boardindex.template failed during the install, but changed by hand. Hope this helps you find this bug.
http://www.*****.co.uk/smf/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/Admin.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/BoardIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/BoardIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/Display.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/Display.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/MessageIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/BoardIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/MessageIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/BoardIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php?action=viewkarma
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/Viewkarma.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/BoardIndex.template.php (eval?)
Line: 517
http://www.*****.co.uk/smf/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Use of undefined constant karma_stat - assumed 'karma_stat'
File: /./././././smf/Themes/default/Errors.template.php (eval?)
Line: 517
What mod version do you use?
um, wern't sure who you were asking there, but i use 1.9.3
hey, i got an error:
1. Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Sources/BoardIndex.php Test successful
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Themes/default/Admin.template.php Test successful
8. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
9. Execute Modification ./Themes/default/Profile.template.php Test successful
10. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
11. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
12. Execute Modification ./Themes/default/languages/Who.english.php Test successful
13. Execute Modification ./Themes/default/languages/Help.english.php Test successful
14. Execute Modification ./Themes/default/languages/index.english.php Test successful
15. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
16. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
17. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
18. Execute Modification ./index.php Test successful
19. Execute Code db_change.php
20. Extract File ./Sources/Viewkarma.php
21. Extract File ./Themes/default/Viewkarma.template.php
22. Extract File ./Themes/default/DescriptionKarma.template.php
it says 8. Execute Modification ./Themes/default/BoardIndex.template.php Test failed... :( anyone can help?
The question has been asked many times in this topic...
Change the BoardIndex.template.php by hand.
oh! wahahah! but then how do i see what code to add or replace? i dunno how to work with SMF mods since i was using IPB and phpBB last time... :(... anyone can help? thanks
spicyjoeб see Karma_Description_Mod.xml
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>IvanV.PetrovichAkaGrek:KarmaDescriptionMod</id>
<version>1.9.3</version>
<file name="$sourcedir/Admin.php">
<operation>
<search position="replace"><![CDATA[// Clear out the karma actions.
db_query("
DELETE FROM {$db_prefix}log_karma", __FILE__, __LINE__);
]]></search>
<add><![CDATA[/* Clear out the karma actions.
db_query("
DELETE FROM {$db_prefix}log_karma", __FILE__, __LINE__); */
]]></add>
</operation>
<operation>
<search position="before"><![CDATA[</body></html>';
obExit(false);
}
ok i took one part of the code... i understand abit but not all.... i know this part:
]]></search>
<add><![CDATA[/* Clear out the karma actions.
db_query("
DELETE FROM {$db_prefix}log_karma", __FILE__, __LINE__); */
]]></add>
</operation>
<operation>
<search position="before"><![CDATA[</body></html>';
obExit(false);
}
that code means i have to search for the code add it but on top or bottom or replace it?
then what this code for?:
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>IvanV.PetrovichAkaGrek:KarmaDescriptionMod</id>
<version>1.9.3</version>
<file name="$sourcedir/Admin.php">
<operation>
<search position="replace"><![CDATA[// Clear out the karma actions.
db_query("
DELETE FROM {$db_prefix}log_karma", __FILE__, __LINE__);
I recently updated my board to RC2 and am getting the same error with BoardIndex.template as the others are describing. I changed the BoardIndex.Template File by hand, but now I get the following error:
QuoteUnknown column 'lk.link' in 'field list'
File: /home/cbuesing/public_html/lair/Sources/Viewkarma.php
Various line numbers quoted (68, 175, 279)
Yeah, same bug as me Rangarig but no one has posted a fix. Could i ask you what was the previous version of this mod you used before 1.9.3?
My guess is, that the mod is looking for a non-existing column because it wasn't added to the database yet because i went from v1.4 to v1.9.3.
After a week of trying to install this mod, i finally managed to install it..but when i try to applaud or smite someone i get this error:
QuoteAn Error Has Occurred!
Unable to load the 'main' template.
Forgot to mention that I am using 1.1 RC2
If you changed the source by hand, then you've probably missed off the quote and semi colon.
Quote from: Chronic667 on January 26, 2006, 12:46:40 PM
If you changed the source by hand, then you've probably missed off the quote and semi colon.
nope..I am pretty sure i didn't change the source by hand..lol
Tawakol, upload Viewkarma.template.php and Deskriptionkarma.emplate.php to your Themes directory.
they're already there :-\
Hi,
short question (i didn't search ;)):
Is this mod only for the default-theme, or works it with the classic, too?
Only default.
Has anyone found a fix for the following bug?
QuoteUnknown column 'lk.link' in 'field list'
Is it possible:
- users can view who/whom they changed karma
- users can't view Karma Log
?
I've tried to change karma options, and permissions, but it was possible only that users can view both or none.
Thanks for an awesome Mod! I really needed something like this.
Installed first time with no problems on 1.1 RC2 on an already heavily modded board.
Thanks much!
Julie
Well.. i figured how to fix that lk.link bug that a few people (and myself) reported. I done this with phpmyadmin.
First select your SMF database, then look for YOURPREFIX_logs_karma and click that, then run the following query.
ALTER TABLE `YOURPREFIX_log_karma`
ADD `link` TEXT NOT NULL
Where YOURPREFIX is the prefix you gave the database when installing SMF.
Ran in to that BoardIndex.template.php problem as well. Modding the file manually did the trick. :)
Not sure if anyone mentioned this before, I noticed some english mistakes in various Karma Description Mod menus and such. Just search for these lines in index.english.php and change them to what ever you think sounds right.
The survey of a change in the reputation of users
Please, write here for what you change karma for this user
Are you shure to delete this record
Are you shore you want to delete this record?
Today karma points
Here's what I changed them to for any lazy people.
Karma Change Log
Reason for changing the karma of this user?
Are you sure you want to delete this record?
Are you sure you want to delete this record?
Karma points doday
Minsc, thank you. Sorry for my english, i'm from Russia.
Just made KDM 1.9.4 but i can't upload it((
"The package id given in the uploaded file does not match the package id given by previous versions of this mod."
did you fix the bug were karma can be sometimes double submitted and the way i tried to fix it for ownkarma and viewkarma links?
Only this.disabled=(disabled)
own and otherkarma doesn't work fith your function.
Now you can download it.
how odd.. i got it working on my site....
--Edit--
oh i see. it isn't liking some of the code... remove the "?action=" part and it works... odd..
Hm. Don't understand. Can you post here your source code? Or pm me.
this is my whole viewkarma.template.php
<?php
// Version: 1.1 RC2; Viewkarma
function template_main()
{
global $context, $txt, $member, $user_info, $scripturl, $settings, $modSettings, $ID_MEMBER;
echo '
<div style="padding: 3px;">', theme_linktree(), '</div>
<form action="', $scripturl, '?action=viewkarma;start='.$context['start'].';sort='.$context['sort_by'].'', $context['sort_direction'] == 'down' ? ';desc' : '', '', '" method="post" onsubmit="if (lastClicked == \'remove_selection\' && !confirm(\'', $txt['sure_about_karma_remove'], '\')) return false; else return true;">
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="tborder" style="margin-bottom: 1ex;">
<tr class="titlebg" valign="middle" align="center">
<td align="center" colspan="', $modSettings['karmaurl'] ? '6' : '5' ,'"><b>', $txt['karmaview'], '</b> </td>
'; if ($user_info['is_admin']) echo ' <td align="center"></td>'; echo '
</tr>
<tr class="windowbg">';
$WhatPageIsIt = $_SERVER["QUERY_STRING"];
if(strstr($WhatPageIsIt, "viewkarma")){ $WhatPage='viewkarma';}else{$WhatPage='ownkarma;u='.$ID_MEMBER.'';}
echo'
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=exec', $context['sort_direction'] == 'down' && $context['sort_by'] == 'exec' ? ';asc' : '', '">', $txt['karmawho'], '', $context['sort_by'] == 'exec' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=targ', $context['sort_direction'] == 'down' && $context['sort_by'] == 'targ' ? ';asc' : '', '">', $txt['karmawhos'],'', $context['sort_by'] == 'targ' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="10%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=action', $context['sort_direction'] == 'down' && $context['sort_by'] == 'action' ? ';asc' : '', '">', $txt['karmawhat'],'', $context['sort_by'] == 'action' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="31%" align="center"><b>', $txt['karmadesc'],'</b></td>
'; if (!empty($modSettings['karmaurl'])) echo '<td width="6%" align="center"><b>', $txt['karmawhere'],'</b></td>'; echo '
<td width="25%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=time', $context['sort_direction'] == 'down' && $context['sort_by'] == 'time' ? ';asc' : '', '">', $txt['karmatime'],'', $context['sort_by'] == 'time' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
'; if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>'; echo '
</tr>';
//Âûâîäèì ïîëó÷åííûå äàííûå â òàáëè÷íîé ôîðìå.
foreach ($context['karma_changes'] as $member)
if (!empty($modSettings['karmalogview']) && ($user_info['is_admin']))
{
echo '
<script language="JavaScript1.2" type="text/javascript"><!--
var lastClicked = "";
// --></script>
<tr class="windowbg">
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_exec'] . '" title="' . $txt[92] . ' ' . $member['executor'] . '">' . $member['executor'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['executorkarmagood'],'/-',$member['executorkarmabad'],')</span>';
echo '</td>
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_targ'] . '" title="' . $txt[92] . ' ' . $member['target'] . '">' . $member['target'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['targetkarmagood'],'/-',$member['targetkarmabad'],')</span>';
echo '</td>
<td width="10%" align="center">', $member['action'], '</td>
<td width="31%" align="center">', $member['Description'], '</td>';
if (!empty($modSettings['karmaurl']))
echo '<td width="6%" align="center">',$member['link']!='PM' ? '<a href="'. $scripturl . '?topic='. $member['link'].'" target="_blank">'.$txt['karmawhereurl'].'</a>' : $txt['karmawhereurl2'],'</td>';
echo ' <td width="25%" align="center">', $member['time'], '</td>
<td align="center"><input type="checkbox" name="delete[]" value="', $member['logtime'], '" class="check" /></td>
</tr>';
}
elseif (!empty($modSettings['karmalogview']))
{
echo '
<tr class="windowbg">
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_exec'] . '" title="' . $txt[92] . ' ' . $member['executor'] . '">' . $member['executor'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['executorkarmagood'],'/-',$member['executorkarmabad'],')</span>';
echo '</td>
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_targ'] . '" title="' . $txt[92] . ' ' . $member['target'] . '">' . $member['target'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['targetkarmagood'],'/-',$member['targetkarmabad'],')</span>';
echo '</td>
<td width="10%" align="center">', $member['action'], '</td>
<td width="31%" align="center">', $member['Description'], '</td>';
if (!empty($modSettings['karmaurl']))
echo '<td width="6%" align="center"><a href="'. $scripturl . '?topic=', $member['link'],'" target="_blank">'.$txt['karmawhereurl'].'</a></td>';
echo ' <td width="25%" align="center">', $member['time'], '</td>
</tr>';
}
else
{
echo '
<tr class="windowbg">
<td width="14%" align="center" >' , $member['executor'] , '';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['executorkarmagood'],'/-',$member['executorkarmabad'],')</span>';
echo '</td>
<td width="14%" align="center">' , $member['target'] , '';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['targetkarmagood'],'/-',$member['targetkarmabad'],')</span>';
echo '</td>
<td width="10%" align="center">', $member['action'], '</td>
<td width="31%" align="center">', $member['Description'], '</td>
<td width="6%" align="center"><a href="'. $scripturl . '?topic=', $member['link'],'" target="_blank">'.$txt['karmawhereurl'].'</a></td>
<td width="25%" align="center">', $member['time'], '</td>
</tr>';
}
//Ñòðîêà ñ îáùèì ÷èñëîì ðåçóëüòàòîâ è ññûëêàìè íà ñòðàíè÷êè ñ ðåçóëüòàòàìè
echo'
<tr class="titlebg" valign="middle" align="center">
<td align="center" colspan="', $modSettings['karmaurl'] ? '6' : '5' ,'">(',$txt['karmanumb'].$context['totalActions'],')</td>';
if ($user_info['is_admin']) echo ' <td align="center"><label for="check_all1"><input type="checkbox" id="check_all1" onclick="invertAll(this, this.form, \'delete[]\'); this.form.check_all2.checked = this.checked;" class="check" /> </label></td>'; echo '
</tr>
<tr class="titlebg">
<td colspan="', $modSettings['karmaurl'] ? '6' : '5' ,'"><b>', $txt[139], ':</b> ', $context['page_index'] , '</td>';
if ($user_info['is_admin']) echo ' <td align="center"><div style="float: right;"><input type="submit" name="delete_selection" value="', $txt['karma_delete'], '" onclick="lastClicked = \'remove_selection\';" /> </div></td></form>'; echo '
</tr>
</table>';
//Ïðî÷àÿ ñòàòèñòèêà
if (!empty($modSettings['karmaotherstat']))
{
echo '<table border="0" width="100%" cellspacing="1" cellpadding="2" class="tborder">
<tr class="titlebg" valign="middle" align="center">
<td align="center" colspan="3"><b>', $txt['karma_stat'], '</b>
</td>
</tr>
<tr class="windowbg">
<td width="38%" align="center"><b>',$txt['karma_other_stat'],'</b></td>
<td width="31%" align="center"><b>',$txt['karma_top_applaud'],'</b></td>
<td width="31%" align="center"><b>',$txt['karma_top_smite'],'</b></td>
</tr>
<tr class="windowbg">
<td width="38%">
<table border="0" cellpadding="1" cellspacing="0">
<tr><td width="28%">',$txt['karma_max_appl'],'</td>
<td width="10%" align="right">',$context['memidappl'],' + [',$context['memidapplcount'],']</td></tr>
<tr><td width="28%">',$txt['karma_max_smit'],'</td>
<td width="10%" align="right">',$context['memidsmit'],' - [',$context['memidsmitcount'],']</td></tr>
<tr><td width="28%">',$txt['karma_today'],'</td><td width="10%" align="right">',$context['today_point'] ,'</td></tr>
<tr><td width="28%">',$txt['karma_today_plus'],'</td><td width="10%" align="right">',$context['today_plus'] ,'</td></tr>
<tr><td width="28%">',$txt['karma_today_minus'],'</td><td width="10%" align="right">',$context['today_minus'] ,'</td></tr>
</table></td>
<td width="31%">
<table border="0" cellpadding="1" cellspacing="0">';
foreach ($context['top_applaud'] as $applauder)
echo ' <tr class="windowbg">
<td width="13%" valign="top">', $applauder['link'], '</td>
<td width="13%" align="left" valign="top">', $applauder['num_karma'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $applauder['karma_percent'] . '" height="15" alt="" border="0" />' : ' ', '</td>
<td width="5%" align="center" valign="top">+ ', $applauder['num_karma'], '</td>
</tr>';
echo '</table></td>
<td width="31%">
<table border="0" cellpadding="1" cellspacing="0">';
foreach ($context['top_smite'] as $smiter)
echo ' <tr class="windowbg">
<td width="13%" valign="top">', $smiter['link'], '</td>
<td width="13%" align="left" valign="top">', $smiter['num_karma'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $smiter['karma_percent'] . '" height="15" alt="" border="0" />' : ' ', '</td>
<td width="5%" align="center" valign="top">- ', $smiter['num_karma'], '</td>
</tr>';
echo '</table></td></table>';
}
}
?>
OK, i understand. I forget to denote global variable $ID_MEMBER.
So, how about otherkarma?
theres other??? ... oh there is... um... hmmm... i have to think a bit on that... i got to remember how to grab the id number out of the url...
--Edit--
$WhatPageIsIt = $_SERVER["QUERY_STRING"];
$UserViewing = $_REQUEST["u"];
if(strstr($WhatPageIsIt, "viewkarma")){ $WhatPage='viewkarma';}
elseif(strstr($WhatPageIsIt, "otherkarma")){ $WhatPage='otherkarma;u='.$UserViewing;}
else{$WhatPage='ownkarma;u='.$ID_MEMBER.'';}
It's doesn't work.
If you'll see ownkarma, u=your own ID. And if you'll see action=viewkarma, you'll see an error in error log, because "u" variable is absent in url. (www.example.com/index.php?action=viewkarma)
OK.
This work
$WhatPageIsIt = $_SERVER["QUERY_STRING"];
$UserViewing = $_REQUEST["u"];
if(strstr($WhatPageIsIt, "viewkarma")){ $WhatPage='viewkarma';}
elseif(strstr($WhatPageIsIt, "otherkarma")){ $WhatPage='otherkarma;u='.$UserViewing;}
else{$WhatPage='ownkarma;u='.$UserViewing.'';}
So. Still one bug is present. "u" variable in url like index.php?action=viewkarma
Edit
SleePy. For you. It's work without any bugs.
$WhatPageIsIt = $_SERVER["QUERY_STRING"];
if (isset($_REQUEST['u'])) $UserViewing = $_REQUEST['u'];
if(strstr($WhatPageIsIt, "viewkarma")){ $WhatPage='viewkarma';}
elseif(strstr($WhatPageIsIt, "otherkarma")){ $WhatPage='otherkarma;u='.$UserViewing;}
else{$WhatPage='ownkarma;u='.$UserViewing.'';}
For other. In KDM ver. 1.9.4 All this bugs is fixed.
The page for this mod isn't showing the download url for the lastest version.
I know, i know. Moderator will clean old packages id and there will be new version.
oh.. i didn't think about that when they weren't on the page...
btw.. i saw the download for 1.9.4.. i was the first to download it.
Ok, available.
can someone write which files and folders, should i make 777 to install this mod...
i use 1.1 rc2
Phoneix, http://_your_smf_forum_/index.php?action=packages;sa=options
Check "All files are writable." and save all changes. After installing the mod you can back to " Only the standard files are writable."
P.S.
Manualy, if you need.
smf\index.php
smf\Source\Admin.php
smf\Source\BoardIndex.php
smf\Source\Karma.php
smf\Source\ManagePermissions.php
smf\Source\ModSettings.php
smf\Source\Profile.php
smf\Themes\default\Admin.template.php
smf\Themes\default\BoardIndex.template.php
smf\Themes\default\Profile.template.php
smf\Themes\default\languages\Admin.english.php
smf\Themes\default\languages\Errors.english.php
smf\Themes\default\languages\Help.english.php
smf\Themes\default\languages\index.english.php
smf\Themes\default\languages\ManagePermissions.english.php
smf\Themes\default\languages\ModSettings.english.php
smf\Themes\default\languages\Profile.english.php
smf\Themes\default\languages\Who.english.php
smf\Sources and smf\Themes\default must be writable.
Hi
This is a great mod and I installed it with no probs whatsoever.
There is only one thing that I cant find ???
the picture you have in the mod page that shows karma stats 'most applauded' 'most smited' etc
I cant find that option
All I have in 'karma stats' is karma change description
Where can I find the info that shows who gets the most karma etc?
Thanks
I'm guessing you mean the "Top 5 applauded users" and "Top 5 smited users".
This shows on your karma stats page, to find that scroll to the bottom of your index page and next to [More Stats], you should see [Karama Stat]. That page is where you'll find them.
yeah thats what I thought too but its on showing when I click that link,
Heres what I see:
The survey of a change in the reputation of users
Who Whom What (+/-) For What When
name1 snap + Luff ya! Today at 07:34:46 PM
nab1 heart + for my cool banner! Today at 07:30:29 PM
Ana Beth + Thanks Today at 07:29:30 PM
and so on for 4 pages...
Which is pretty cool in itself but nowhere can I find the "Top 5 applauded users" and "Top 5 smited users".
I can reorder that list to sort by who, when etc but that doesnt give me what is pictured on the mod description page :(
Do you enabled "Show other Karma Statistics"? in http://www.your_forum.com/index.php?action=featuresettings;sa=karma
in features and options, under karma, I have:
Karma
Karma mode Disable karma Enable karma total Enable karma positive/negative
Enable Karma Description Mod SWITCHED ON
Members per page in Karma Description log 10 MEMBER DEFAULT
Use member names as link to the profile SWITCHED ON
Allow users view Karma Description log (See Permissions) NOT SWITCHED ON
Enable karma links in users profiles SWITCHED ON
I cant find that other option you mention ' show other karma stats' :(
If I follow that link ...myforum... ?action=featuresettings;sa=karma it takes me to the main index page of the forum. The karma stats link is next to the forum stats link but as I said above there is no 'top 5' listed
Hm...What version of KDM you use???
Final relise is KDM 1.9.4
I used 1.3 as I am using 1.1b3p, should I have used a later version for my version of SMF?
ok I just realised there is another problem
the users cant view who gave them karma and who they gave it to, in their profiles. It comes up with an error saying
' An Error Has Occurred!
Sorry - you don't have the proper permissions to view the Karma Description list. '
How do I fix this?
The only option I have in features and options is
Allow users view Karma Description log (See Permissions) NOT SWITCHED ON
which will allow users to see all the karma for everyone right?
and
In permissions:
General A X D
View forum statistics
View the memberlist
View Who's Online
View Karma Log
Search for posts and topics
Change other people's karma
I just want them to be able to see their own :(
Quote from: perplexed on February 09, 2006, 08:28:25 AM
which will allow users to see all the karma for everyone right?
Yes, you are right.
Quote
I just want them to be able to see their own
You can edit source code of my mod. I can't write this function at that time.
Quote from: Grek_Kamchatka on February 09, 2006, 05:15:16 PM
Quote from: perplexed on February 09, 2006, 08:28:25 AM
which will allow users to see all the karma for everyone right?
Yes, you are right.
Quote
I just want them to be able to see their own
You can edit source code of my mod. I can't write this function at that time.
lol maybe someone can but not me! So are you saying that the mod doesnt work ie users wont be able to see the messages they are inputting and will continually get an error message when they try? :(
Hmm. In overall log they will resieve an error, if you unchecked "Allow users view Karma Description log"
One question. Why don't you use KDM 1.9.4? Now it compatible with all SMF relises
ah ok, I will try this, I thought only 1.3 was compatible with my version, thanks
edited to add: ok I downloaded it and it is now sitting in package manager BUT it doesnt show [apply mod] option and has a red icon next to it saying its an older version
I havent uninstalled the 1.3 version yet, so I guess I have to do that first or does the 1.9.4 overwrite the previous version, and
If I uninstall 1.3 then I lose all 25 pages of karma reasons that people have input so far?
thanks for your help
That's a nice mod but isn't it possible to correct the English words (I only use English) with one of the new releases?
I had to correct it to "who changed my karma" and a proper text for the second entry again.
It's no big deal but would make it more perfect. :)
perplexed, you must uninstall your 1.3 (All 25 pages will stay there) and install new version. By the way, after uninstalling the mod, it will be better if you will upload clean files (like Karma.php and so on) to your host.
Gwion, i'm from Russia and you see my english =))
Can you write here your version of lang string?
Quote from: Grek_Kamchatka on February 10, 2006, 09:58:01 PM
perplexed, you must uninstall your 1.3 (All 25 pages will stay there) and install new version. By the way, after uninstalling the mod, it will be better if you will upload clean files (like Karma.php and so on) to your host.
Gwion, i'm from Russia and you see my english =))
Can you write here your version of lang string?
Hello Grek, your english is great! It's much better than my Russian could ever be lol
IMO I guess the text should be 'who changed my karma' and 'whose karma did i change' but its easy to change... anyway
Remember me lol
I upgraded to RC2 today and then reinstalled the karma description mod 1.9.4. I can now see the 'most applauded' and 'most smited' and I can see everyone's karma reasons, as I am the Admin
However, I do not have the links in the profiles and no one can see who gave them karma or who they gave it to.
Here is what I now have in the admin screen:
Karma
Karma mode - Enable karma total
Enable Karma Description Mod YES
Members per page in Karma Description log 10
Use member names as link to the profile YES
Allow users view Karma Description log (See Permissions) NO
Enable karma links in users profiles YES
Display users karma(+/-) in Karma Description Log YES
Enable "Where" field in Karma Description Log YES
Show other Karma Statistics YES
But still no one can see the karma descriptions except the Admin
I wonder if someone who has this working with RC2 could tell me what is missing or what I have to do to get it to work for members?
Thanks to you
Quote
Hello Grek, your english is great! It's much better than my Russian could ever be lol
Hi, lol...
P.S. They can't view Karma links in profiles, because they haven't proper permissions.
I think it will be better to divide View karma permission. May be in KDM ver.2.0 =)
Quote from: Grek_Kamchatka on February 12, 2006, 12:43:48 AM
Quote
Hello Grek, your english is great! It's much better than my Russian could ever be lol
Hi, lol...
P.S. They can't view Karma links in profiles, because they haven't proper permissions.
I think it will be better to divide View karma permission. May be in KDM ver.2.0 =)
yes I understand what you mean but the only 'karma permissions' I have is to let member see the karma log:
View forum statistics
View the memberlist
View Who's Online
View Karma Log <-------------------------so this will let them see everyone's karma, I just want them to see their own
Search for posts and topics
Change other people's karma
This might be a stupid question, but I have 1.9.3 installed and want to update, do I uninstall that before installing 1.9.4?
Quote from: Aitsukai on February 12, 2006, 08:11:06 AM
This might be a stupid question, but I have 1.9.3 installed and want to update, do I uninstall that before installing 1.9.4?
Yes, you do.
Quote from: Grek_Kamchatka on February 12, 2006, 07:27:29 PM
Quote from: Aitsukai on February 12, 2006, 08:11:06 AM
This might be a stupid question, but I have 1.9.3 installed and want to update, do I uninstall that before installing 1.9.4?
Yes, you do.
I did that, but I lost all existing data that the karma description log entered into the database. o.O
Quote from: perplexed on February 12, 2006, 06:21:27 AM
Quote from: Grek_Kamchatka on February 12, 2006, 12:43:48 AM
Quote
Hello Grek, your english is great! It's much better than my Russian could ever be lol
Hi, lol...
P.S. They can't view Karma links in profiles, because they haven't proper permissions.
I think it will be better to divide View karma permission. May be in KDM ver.2.0 =)
yes I understand what you mean but the only 'karma permissions' I have is to let member see the karma log:
View forum statistics
View the memberlist
View Who's Online
View Karma Log <-------------------------so this will let them see everyone's karma, I just want them to see their own
Search for posts and topics
Change other people's karma
I reinstalled again and still the same problem. Either I check view karma log and everyone sees all the karma descriptions for everyone or no one sees any.
There must be a way to get this to work correctly so that you can only see your own karma information?
Great Mod.
Thank You.
Hi can u tell me which version of this mod is compatiable with smf 1.06
I think 1.9.4
hi, thanks for great karma desc mod :D
is that possible to modify karma display to show like: 90% (26), means 90% applaud from total 26 karma?
is that possible to control and limit karma because my users trade karma between friends and make fake karma reason, how about karma only can gave once for each topic that user become replayer to topic starter?
any suggestion? thanks ;)
Quote from: perplexed on February 13, 2006, 02:27:27 PM
Quote from: perplexed on February 12, 2006, 06:21:27 AM
Quote from: Grek_Kamchatka on February 12, 2006, 12:43:48 AM
Quote
Hello Grek, your english is great! It's much better than my Russian could ever be lol
Hi, lol...
P.S. They can't view Karma links in profiles, because they haven't proper permissions.
I think it will be better to divide View karma permission. May be in KDM ver.2.0 =)
yes I understand what you mean but the only 'karma permissions' I have is to let member see the karma log:
View forum statistics
View the memberlist
View Who's Online
View Karma Log <-------------------------so this will let them see everyone's karma, I just want them to see their own
Search for posts and topics
Change other people's karma
I reinstalled again and still the same problem. Either I check view karma log and everyone sees all the karma descriptions for everyone or no one sees any.
There must be a way to get this to work correctly so that you can only see your own karma information?
I'm sorry to post this again but it is still not working correctly I think?
My understanding is that members would only be able to view who gave them karma and who they gave karma too.
However, if I enable 'view karma log' then they are able to view the whole log ie everyone's karma, but can also view the 'who gave me karma' and 'who I gave karma too' via their profile.
Is that what is supposed to happen? If you enable the 'view karma log' for members or groups they will now be able to see everyones karma reasons?
I'm not sure members would appreciate their private comments being read by other members.
Please confirm that this is the way it is supposed to work
~thanks
wheewww.. i read all 17 pages thus far.
First, MOD does work well on 'default theme'...
Will there be a KDM that will work on other themes, like Helios_Multi?
Or, if it is some simple copy/paste changes that can be made to have it work with other themes... that would be nice...
as far as i know it works fine on other themes, but the modifaction does not change the theme pages to add the new options.
So yeah.. its just a copy/paste thing, You could make the changes yourself by reading the Karma_Description_Mod.xml file found in the modifaction and altering the correct pages from the target theme.
I'm sorry but I dont think the mod is working or I am misunderstanding how it is meant to function?
in order for members to view who gave them karma or who they gave it to, you have to give them permission to see the karma log... however that gives them permission to see EVERYBODY'S karma reasons.
surely that cant be right?
This works on other software like vbulletin but you only get to see your own, not everyone's
Am I missing something? As it seems to be that members can see nothing (not even their own) or everything (everyone's karma reasons)
At the moment it is still switched off on my forum as members do not want other members reading their reasons.
*still confused*
Repeate. It will be in new version.
Quote from: Grek_Kamchatka on February 26, 2006, 12:03:02 AM
Repeate. It will be in new version.
Ok I'm sorry, I did not see where you said that before. Thank you :)
Hey Grek,
Is there something i can do to censor the description? My users are cursing in the karma log and its a public forum were we run the censors for the young people we have on the board. and im getting tired of phpmyadmin to change it. anyway you could make it so admins can change descriptions if they wanted to aswell?
Hi, SleePy. You can delete uncensored description by clicking on delete button. But i can made a standart forum censoring function. Is it need?
i would rather not delete them so they are their for record. but something either censor or allow me to edit them would be nice.
edit. would doing something in the karma were it saves it to the log would i do this maybe
$_POST['Description'] = AddSlashes($_POST['Description']);
censorText($_POST['Description']);
??? or would i have to load anything? i found this in the display.php while looking a bug i had.
Yep, you are right. It's standart SMF function. Use it
I have version 1.0.6 and I have attempted to install this mod.
I have downloaded the 1.9.2 version but, I'm unable to "apply mod"
The last 3 files I uploaded manually and changed the attributes to 777
What else do I need to do to make this mod work?
Install Actions for archive Karma_Description_Mod_ver11.1.9.2.zip:
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Sources/Admin.php Success
2. Execute Modification ./Sources/Karma.php Success
3. Execute Modification ./Sources/ModSettings.php Success
4. Execute Modification ./Sources/BoardIndex.php Success
5. Execute Modification ./Sources/Profile.php Success
6. Execute Modification ./Sources/ManagePermissions.php Success
7. Execute Modification ./Themes/default/Admin.template.php Success
8. Execute Modification ./Themes/default/BoardIndex.template.php Success
9. Execute Modification ./Themes/default/Profile.template.php Success
10. Execute Modification ./Themes/default/languages/Admin.english.php Success
11. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
12. Execute Modification ./Themes/default/languages/Who.english.php Success
13. Execute Modification ./Themes/default/languages/Help.english.php Success
14. Execute Modification ./Themes/default/languages/index.english.php Success
15. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
16. Execute Modification ./Themes/default/languages/Errors.english.php Success
17. Execute Modification ./Themes/default/languages/Profile.english.php Success
18. Execute Modification ./index.php Success
19. Execute Code db_change.php
20. Extract File ./Sources/Viewkarma.php
21. Extract File ./Themes/default/Viewkarma.template.php
22. Extract File ./Themes/default/DescriptionKarma.template.php
Admin-Feautures and Settings-Karma-Enable Karma Description Mod
Quote from: Grek_Kamchatka on March 03, 2006, 09:32:54 AM
Admin-Feautures and Settings-Karma-Enable Karma Description Mod
I can not locate Features and Settings. .......is that the same as Features and Options?
and under that, I have
Karma...Karma Mode:
I only have 3 options: Enable Karma Total, Disable Karma & Enable Karma Positive/Negative
HELP
Yes, i mean Features and Options, sorry =)
You haven't any karma settings there, because you don't installed my mod. You have all successfull options, but you must press the apply button.
By the way, in 1-2 day it will be a new version of KDM. You can waiting it. But if you can't, try KDM 1.9.4.
KDM 1.9.5 now available. Enjoy!
Hello Greg
Thank you for this update. I have been waiting for this option for users to only see their own karma descriptions, however...
I installed this mod today on my testforum but I still have the same problem - users can see everyone's karma reasons.
Maybe I am doing something wrong. Can you please tell me exactly how to set it up so that users can only read their own karma reasons and not the whole karma log?
Karma
Karma mode Disable karma Enable karma total Enable karma positive/negative
Enable Karma Description Mod
Members per page in Karma Description log
Use member names as link to their profiles
Allow users view Karma Description log (See Permissions)
Enable karma links in users profiles
Only profile owner can view links to their karma log
Display users karma(+/-) in Karma Description Log
Enable "Where" field in Karma Description Log
Show other Karma Statistics
Applaud or smite users without explanation
Write this in the log, when explanation is disabled
Censor karma explanation
Can you tell me how the above should be set?
I have tried all different options and switching the permissions on and off but with the 'view karma log' switched on in permissions they can still see the whole list of karma reasons and with 'view karma log' switched off they see no karma reasons, not even their own.
It still seems to be ruled by permissions regardless of what other options are set in the karma features and options
~thanks
In permissions - Disable viewing karma log for all users
In Features and Options - "Allow users view KD log" - disable
In Features and Options - "Only profile ownercan view links to their karma log" - enable.
Quote from: Grek_Kamchatka on March 06, 2006, 10:29:09 PM
In permissions - Disable viewing karma log for all users
In Features and Options - "Allow users view KD log" - disable
In Features and Options - "Only profile ownercan view links to their karma log" - enable.
Hello Greg
I tried this and users can not see the whole karma log which is good but they still can't see their own karma.
When I go to profile to view 'who gave me karma' I get the following error message
QuoteAn Error Has Occurred!
Sorry - you don't have the proper permissions to view the Karma Description list.
Back
Whoops, sorry) You are right!
Try this steps:
1. Disable "View Karma Log" permission in Permissions to your users
2. "Allow users view Karma Description Log" must be enabled
3. "Only profile ownercan view links to their karma log" must be enable.
It work for me...
Quote from: Grek_Kamchatka on March 07, 2006, 06:43:07 PM
Whoops, sorry) You are right!
Try this steps:
1. Disable "View Karma Log" permission in Permissions to your users
2. "Allow users view Karma Description Log" must be enabled
3. "Only profile ownercan view links to their karma log" must be enable.
It work for me...
Hello greg
sorry it is still doing the same thing, giving the same error message, and not allowing members to view their karma.
As the admin, I can see it at all times but as a regular user on a test account, I get the error message and cant see any karma reasons. My other test users get the same error message also
I'm sorry to hassle you but I really want this mod to work but it still gives the same errors. :(
I undestand you. Sorry again man =) 15 min.
Edit
Ok, KDM 1.9.6 now available.
4 perplexed.
1. Enable "View Karma Log" permission in Permissions section to your users
2. "Allow users view Karma Description Log" must be enabled
3. "Only profile ownercan view links to their karma log" must be enable.
P.S. Not Greg)) I'm Grek
Hi GREK (sorry about the Greg, its a habit)
I uninstalled 1.9.5 and got an error on the uninstall /sources/karma.php
I installed 1.9.6 and it installed successfully but I got an error message at the top of the screen saying:
Error: Database modifications failed!Error: Database modifications failed!
Do you know what this means and how to fix it? Does it have something to do with the error on the uninstall?
Also 1.9.6 works perfectly with regard to users only being able to see their own karma :) thanks for that.
Everything ok. You resieved this error because db_change.php can't create 2 fields in your database because this fields already exist in your DB. In next version i substitute it for "Notice:"
Hi Grek
I got a little problem :(
Parse error: parse error, unexpected $ in /home/mysite/public_html/testforum/Sources/Karma.php on line 631
Can you help please?
Quote<?php
/******************************************************************************
* Karma.php *
*******************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* =========================================================================== *
* Software Version: SMF 1.1 RC2 *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2005 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it *
* under the terms of the provided license as published by Lewis Media. *
* *
* This program is distributed in the hope that it is and will be useful, *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
******************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');
/* This file contains one humble function, which applauds or smites a user.
void ModifyKarma()
- gives or takes karma from a user.
- redirects back to the referrer afterward, whether by javascript or
the passed parameters.
- requires the karma_edit permission, and that the user isn't a guest.
- depends on the karmaMode, karmaWaitTime, and karmaTimeRestrictAdmins
settings.
- is accessed via ?action=modifykarma.
*/
function ModKarm()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic, $scripturl;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
if (!empty($modSettings['karmasurv']))
ModKarm();
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
// Start off with no change in karma.
$action = 0;
(!isset($modSettings['karmawhatwrite'])) ? $Description='' : $Description=$modSettings['karmawhatwrite'];
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
/*
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{ $request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
*/
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod'])){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
if (!empty($modSettings['karmacensor']))
censorText($_POST['Description']);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
else
{
echo '
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]',']></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
function ModKarm()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
// Start off with no change in karma.
$action = 0;
(!isset($modSettings['karmawhatwrite'])) ? $Description='' : $Description=$modSettings['karmawhatwrite'];
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{ $request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
else
{
echo '
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]',']></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
// Modify a user's karma.
function ModifyKarma()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic, $scripturl;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
if (!empty($modSettings['karmasurv']))
ModKarm();
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
//Loading Template of Description
if (!empty($modSettings['karmadescmod'])){
loadTemplate('DescriptionKarma');}
//Prepare some variables
$context['page_title'] = $txt['viewkarma_title'];
$context['linktree'][] = array(
'url' => $scripturl . '?action=modifykarma',
'name' => $txt['viewkarma_title'] );
// Start off with no change in karma.
$action = 0;
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
/*
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
// Put it in the log.
db_query("
REPLACE INTO {$db_prefix}log_karma
(action, ID_TARGET, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], $ID_MEMBER, " . time() . ')', __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
// If you are gonna try to repeat.... don't allow it.
if ($action == $dir)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
// You decided to go back on your previous choice?
db_query("
UPDATE {$db_prefix}log_karma
SET action = $dir, logTime = " . time() . "
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
*/
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod'])){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
if (!empty($modSettings['karmacensor']))
censorText($_POST['Description']);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
// JavaScript as a last resort.
/*
else
{
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]]></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
*/
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
{
global $context;
if (strpos($_GET['action'], 'mozilla') !== false && !$context['browser']['is_gecko'])
redirectexit('http://www.getfirefox.com/');
elseif (strpos($_GET['action'], 'mozilla') !== false)
redirectexit('about:mozilla');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>The Book of Unknown, ', @$_GET['verse'] == '2:18' ? '2:18' : '4:16', '</title>
<style type="text/css">
em
{
font-size: 1.3em;
line-height: 0;
}
</style>
</head>
<body style="background-color: #444455; color: white; font-style: italic; font-family: serif;">
<div style="margin-top: 12%; font-size: 1.1em; line-height: 1.4; text-align: center;">';
if (@$_GET['verse'] == '2:18')
echo '
Woe, it was that his name wasn\'t <em>known</em>, that he came in mystery, and was recognized by none. And it became to be in those days <em>something</em>. Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind. And thus what was to be known the <em>secret project</em> began into its existence. Henceforth the opposition was only <em>weary</em> and <em>fearful</em>, for now their match was at arms against them.';
else
echo '
And it came to pass that the <em>unbelievers</em> dwindled in number and saw rise of many <em>proselytizers</em>, and the opposition found fear in the face of the <em>x</em> and the <em>j</em> while those who stood with the <em>something</em> grew stronger and came together. Still, this was only the <em>beginning</em>, and what lay in the future was <em id="unknown" name="[Unknown]">unknown</em> to all, even those on the right side.';
echo '
</div>
<div style="margin-top: 2ex; font-size: 2em; text-align: right;">';
if (@$_GET['verse'] == '2:18')
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 2:18</span>';
else
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 4:16</span>';
echo '
</div>
</body>
</html>';
obExit(false);
}
}
?>
(forgot to say) they are getting the error message when they click on applaud or smite when trying to give someone karma.
Hm. I don't know, but i just now install vanilla smf forum and upload and install KDM 1.9.6 and everything work fine.
Uninstall KDM 1.9.6, upload vanilla source and template forum files and install KDM 1.9.6 again.
By the way, try to download KDM 1.9.6 again. May be you have corrupt file.
Hi Grek, Uninstalling 1.9.5 gave me that error in /sources.karma.php in the uninstall as I mentioned above. and then when I installed 1.9.6 I got the 'parse' problem above...
so what I did today was upload a fresh copy of /sources.karma.php and made sure I could give karma without errors and then reinstalled 1.9.6 again
Everything is working now as far as I can see. I can give karma and I can see my own karma reasons, so I think it's ok now.
But you may want to check that problem with the uninstall.
~thanks again
Yep, you resieved this error because you edit karma.php by hand. I think so...
Now everything ok and it's wonderfull.
thanks for the new version of Karma Mod :)
but i need to really strict Karma in my forum, is that possible?
- karma limited with post amount, so if they already post 5 times they only have 5 karma to give
- karma only can be give to a topic starter by their replier.
thanks,
ek kian
Quote
- karma limited with post amount, so if they already post 5 times they only have 5 karma to give
It's possible, but i think it unclaimed. In additions it's hard.
Quote
- karma only can be give to a topic starter by their replier.
Open Errors.english.php and past at the end of the file this string:
$txt['karma_not_topic_starter'] = 'Sorry, it\'s not topic starter.';
Then open Karma.php and find this code in ModKarm() and ModifyKarma() functions:
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
Past after it this
$request = db_query("
SELECT ID_MEMBER_STARTED
FROM {$db_prefix}topics
WHERE ID_TOPIC = $_REQUEST[topic]
LIMIT 1", __FILE__, __LINE__);
$row = mysql_fetch_row($request);
mysql_free_result($request);
if ($_REQUEST['uid'] != $row[0] && $user_info['is_admin']!=1)
fatal_lang_error('karma_not_topic_starter', false);
That's all. Now if your users will try to change karma other people, not to topic starter, they will resieve an error message.
Quote
thanks,
ek kian
You are welcome
P.S. In new version it will be a standart function
I had karma mod installed before it worked before fine but now every tim i want to add karma notes or view karma stats it gives me error message:
Unknown column 'lk.link' in 'field list'
File: C:\WWW\Apache2\htdocs\forum\Sources\Viewkarma.php
Line: 71
Please help me i know its probably some code that has been left out in my mysql database that i have to delete but which one?
thanks a lot
Quote
P.S. In new version it will be a standard function
thank you very much :D you the best Mr.Grek :)
i thought that karma desc mod have very great potential to expand SMF capabilities,
we can make kind of expert-exchange.com where topic starter choose one replier as
accepted answer and topic starter give karma to that replier, or we can make SMF
have kind of ebay-like feature where topic starter can choose one replier as someone
who win the bid and after that they can give karma each other.
please keep this mod alive.
thanks a lot :)
Ok this is driving me insane. Could someone post a Karma.php file from 1.0.6 with just the Karma mod installed? I mean, a source 1.0.6 with just the KDM installed? I'm dying here.
I've been working on it for the last 2 hours, and still nothing. I'm about to start tearing my hair out.
I get either a blank page or a page with an error, which, of course, I can't remake, since I have no idea how I made it.
Help?
This SMF1.0.6 with KDM 1.9.2 and works ;)
<?php
/******************************************************************************
* Karma.php *
*******************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* =========================================================================== *
* Software Version: SMF 1.0 *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2004 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it *
* under the terms of the provided license as published by Lewis Media. *
* *
* This program is distributed in the hope that it is and will be useful, *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
******************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');
/* This file contains one humble function, which applauds or smites a user.
void ModifyKarma()
- gives or takes karma from a user.
- redirects back to the referrer afterward, whether by javascript or
the passed parameters.
- requires the karma_edit permission, and that the user isn't a guest.
- depends on the karmaMode, karmaWaitTime, and karmaTimeRestrictAdmins
settings.
- is accessed via ?action=modifykarma.
*/
// Modify a user's karma.
function ModifyKarma()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic, $scripturl;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
// If you don't have enough posts, tough luck.
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
//Loading Template of Description
if (!empty($modSettings['karmadescmod'])){
loadTemplate('DescriptionKarma');}
//Prepare some variables
$context['page_title'] = $txt['viewkarma_title'];
$context['linktree'][] = array(
'url' => $scripturl . '?action=modifykarma',
'name' => $txt['viewkarma_title'] );
// Start off with no change in karma.
$action = 0;
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
/*
if (empty($action))
{
// Put it in the log.
db_query("
REPLACE INTO {$db_prefix}log_karma
(action, ID_TARGET, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], $ID_MEMBER, " . time() . ')', __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
// If you are gonna try to repeat.... don't allow it.
if ($action == $dir)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
// You decided to go back on your previous choice?
db_query("
UPDATE {$db_prefix}log_karma
SET action = $dir, logTime = " . time() . "
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
*/
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod'])){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start']);
// JavaScript as a last resort.
/*
else
{
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!--
history.go(-1);
// --></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
*/
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
{
global $context;
if (strpos($_GET['action'], 'mozilla') !== false && !$context['browser']['is_gecko'])
redirectexit('http://www.getfirefox.com/', false);
elseif (strpos($_GET['action'], 'mozilla') !== false)
redirectexit('about:mozilla', false);
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>The Book of Unknown, 2:18</title>
<style type="text/css">
em
{
font-size: 1.3em;
line-height: 0;
}
</style>
</head>
<body style="background-color: #444455; color: white; font-style: italic; font-family: serif;">
<div style="margin-top: 12%; font-size: 1.1em; line-height: 1.4; text-align: center;">
Woe, it was that his name wasn\'t <em>known</em>, that he came in mystery, and was recognized by none. And it became to be in those days <em>something</em>. Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind. And thus what was to be known the <em>secret project</em> began into its existence. Henceforth the opposition was only <em>weary</em> and <em>fearful</em>, for now their match was at arms against them.
</div>
<div style="margin-top: 2ex; font-size: 2em; text-align: right;">
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 2:18</span>
</div>
</body>
</html>';
obExit(false);
}
}
?>
KDM 1.9.6 compatible with SMF 1.0.6
Quote from: Grek_Kamchatka on March 18, 2006, 11:56:50 PM
KDM 1.9.6 compatible with SMF 1.0.6
Could you please post a Karma.php modified only with KDM 1.9.6 so I can see if it works for me? I tried about 30 different version of the file, none worked. But the one posted by z3nith (Thank you so much!) works like a charm.
Thanks a lot!
You don't understand... You must install KDM 1.9.6 on your forum, not copy Karma.php. You resieved errors because KDM 1.9.6 has new functions, (by the way, not only in Karma.php), so you uploaded new Karma.php but other needed files is old.
Could you make an upgrade script for 1.9.4 to 1.9.6 on 1.1 RC2?
I tried to install and got:
QuoteThis package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
I uninstalled the old version last time I updated this mod but it erased all data from the mod. :s
Look at the KDM 1.9.4 archive. Is there present uninstall.php? If you have this file in archive, all data will be erased, but if no, everything will be fine. And 2nd variant...download your KDM 1.9.4 arch from your.forum.com/Packages, and edit package_info.xml.
Delete line where you will find uninstall.php. Then pack it back and upload archive to the forum. Now you can uninstall kdm without any data erasing.
Quote from: Grek_Kamchatka on March 19, 2006, 04:46:04 AM
You don't understand... You must install KDM 1.9.6 on your forum, not copy Karma.php. You resieved errors because KDM 1.9.6 has new functions, (by the way, not only in Karma.php), so you uploaded new Karma.php but other needed files is old.
I do understand, but everything else works in the package, all the files that needed to be edited have been edited correctly, I get the stats and all the other features, but the Karma.php has been corrupted somehow. That's why I would need that specific file, because I tried modding it myself (the original Karma.php), but I can't get it to work.
They have been edited by older KDM version.
I meant the original Karma.php found in the fresh 1.0.6 zip. Like a brand new one that hasn't been touched before.
What's your problem? I'll try to help you. Can you install new KDM 1.9.6 version?
Quote from: Grek_Kamchatka on March 19, 2006, 11:14:34 PM
What's your problem? I'll try to help you. Can you install new KDM 1.9.6 version?
Ok, I'm going to start over.
I installed KDM through the package manager, and about the 3 first times, it didn't install well. I went to the files and changed their permissions, and it finally got installed.
Someone on the board then mentioned that they're having a problem giving people Karma, that when they click on [applaud], they get a blank page. After checking all the files that were modified by KDM and the new files that got installed with KDM, I found that my Karma.php is screwed up. The whole code in it is messed up.
I opened a fresh Karma.php page from the SMF zip, and I tired modifying it, but it wouldn't work. The blank page was still there, and sometimes, I got an error message.
I tried about 20 different variations of Karma.php, and none work, so I would need someone to please upload a Karma.php (compatible with SMF 1.0.6) where only KDM 1.9.6 has been installed because I am getting very tired of trying new variations.
I hope this makes more sense.
Quote from: Grek_Kamchatka on March 08, 2006, 05:11:22 PM
Everything ok. You resieved this error because db_change.php can't create 2 fields in your database because this fields already exist in your DB. In next version i substitute it for "Notice:"
I can't get the db_update to work either. Never mind, I think the database is fine.
Now I can't get to the karma log. It takes me back to the index page.Fixed this as well. The package installer did not do the index.php edits.
When i tried to uninstall 1.9.6 to upgrade to 1.9.7 i got a fail for Karma.php. I got around it by removing the mod anyway then re-uploading karma.php again.
Can anyone else confirm this fail?
Unknown column 'link' in 'field list'
File: C:\apache\htdocs\forum\Sources\Karma.php
Line: 119
Unknown column 'lk.link' in 'field list'
File: C:\apache\htdocs\forum\Sources\Viewkarma.php
Line: 182
Unknown column 'lk.link' in 'field list'
File: C:\apache\htdocs\forum\Sources\Viewkarma.php
Line: 289
and more
latest karma mod
1.1 rc2 dedicated server
www.happyserver.be
got the same problem as ArkServer this mod is buggy
The mod is fine, i've used it from a very early version and have had very little problems.
The problem you are having is because you have used a version that pre-dated the feature to list where the karma was changed from.
If you took the time to read this topic you would have found that this "bug" has been reported before and also how to fix it.
http://www.simplemachines.org/community/index.php?topic=49088.msg475867#msg475867
Thank you veru much, Chronic667.
I can't repeat it 100 times. =)
Chronic667 i did followed that step and it finally works now i can vie the karma log, but when i try to give someone a karma point it just displays a blank screen, any fix for that?
thank you
it could be your settings for the mod, is "Enable "Where" field in Karma Description Log" enabled? if so, try playing with other options.. just make a note of the previous settings so you can revert.
Post here your error log, pls
I installed everything fine and have the new options. However, I don't see the [karma stats] link near the [more stats] on my index page. I am using SMF 1.0.7 and Cerberus theme on my forum. I am new to forums, but I think I've followed all of the instructions correctly (I have Enabled Karma Description Mod). Can anyone offer me any help? I want to be able to see who's giving karma, but not make it public to my forum.
Oz
I found a workaround for this for the time being, I just put the link into my browser and can get to the log.
Since I have that sort of figured out, a nice feature for a future update would be to allow someone to see their comment but not see who sent it. Then when they hit a certain karma level, allow them to see who gives them karma. Any thoughts?
Read this topic again. This mod only for default theme. You must edit your boardindex.template.php by your hands.
Quote from: Grek_Kamchatka on April 16, 2006, 08:11:19 AM
Read this topic again. This mod only for default theme. You must edit your boardindex.template.php by your hands.
I didn't see that written anywhere, but thank you for the quick answer.
Any thoughts on my suggestion for a future version? Is it even possible?
Oz
Thank you very much Grek for this hard and very beautiful work! :)
There is a way - now (with some little work on code :-\ ) or in the future - to have:
Normal users (by permissions) to see only the other statistics and not the entire Karma log?
Thanx again however!
I installed the mod of smf 1.0.7 - everything was OK. But in admin panel i don't see option to view the karma log in the left side where all admin main option are.
I have a few feature requests...
Please could you make it so people cannot changed the karma or banned accounts.
And also could you make it so people can only change the karma of people once per day.
I think that last one might need more explaining so here goes:
Currently a member can change the karma of as many people he/she wishes with in the time you set to allow them to change the karma again (mine is set to 24 hours). This means person A can change person B, C, and D's karma without any problem.
Could you add a feature that would allow this to be prevented so person A could only change person B or C or D, not all.
Maybe permissions could be added to this so this only affects certain member groups.
I have problems.
Members with the permissions can only see the Karma that people have given them, and no where to be seen is a box which lets them give a comment
How can the admin see the complete karma log without to enable the karma links in users profiles?
Thank you?
Quote from: ivo2296 on April 26, 2006, 12:11:02 PM
How can the admin see the complete karma log without to enable the karma links in users profiles?
Features and Options -> KARMA -> Enable Karma Description Mod [V] (checked, and control permissions).
Features and Options -> KARMA -> Enable karma links in users profiles [ ] (unchecked).
Hope it helps.
Quote from: Raffaele on April 26, 2006, 03:10:48 PM
Quote from: ivo2296 on April 26, 2006, 12:11:02 PM
How can the admin see the complete karma log without to enable the karma links in users profiles?
Features and Options -> KARMA -> Enable Karma Description Mod [V] (checked, and control permissions).
Features and Options -> KARMA -> Enable karma links in users profiles [ ] (unchecked).
Hope it helps.
Thanks, but where i have to click to see that log.
you should have a link in the Forum Stats box on the main index page
[more stats] [karma stats]
Quote from: perplexed on April 27, 2006, 08:12:43 AM
you should have a link in the Forum Stats box on the main index page
[more stats] [karma stats]
Thanks a lot, i was modified classic theme but not fully, when i switched to default one i saw the log.
Thanks one more time!
Hi guys. Do you need a "Notification" function when your users karma was changed? Like PM 4example.
Quote from: L.G.S on April 26, 2006, 11:32:39 AM
I have problems.
Members with the permissions can only see the Karma that people have given them, and no where to be seen is a box which lets them give a comment
Hello, everybody.
I want translate this mod to spanish, but i don't know whats files exactly must be translated.
¿Can anybody explain me?
Thanks
Quote from: gragry on May 05, 2006, 03:15:13 PM
Hello, everybody.
I want translate this mod to spanish, but i don't know whats files exactly must be translated.
Can anybody explain me?
I use this way: open with a text editor the main file of mod (Karma_Description_Mod.xml) and search for the word
english; then I find some english file the mod changes:
- Admin.english.php
- ModSettings.english.php
- Who.english.php
- Help.english.php (a little difficult for me, so I leave it unchanged)
- index.english.php
- ManagePermissions.english.php
- Errors.english.php
- Profile.english.php
Then I apply at each file in my language (for you, they will be Admin.spanish.php, and so on...) the blocks of code (in Karma_Description_Mod.xml) translated in my language.
Example: For Admin.english.php, Karma_Description_Mod.xml says:
<search position="before"><![CDATA[
$txt['maintain_logs'] = 'Empty out unimportant logs.';
]]></search>
<add><![CDATA[
$txt['maintain_karmalog'] = 'Empty out Karmachange Description log';
]]></add>
so in Admin.
language.php i search for
$txt['maintain_logs'] =
and, before this, i add
$txt['maintain_karmalog'] = 'translation of Empty out Karmachange Description log';
Sorry for such a long reply, but I hope it helps just a little..
Thank you, Raffaele
Quote from: Grek_Kamchatka on May 05, 2006, 06:26:54 PM
Thank you, Raffaele
Thanx to you, Grek! for this very great mod! :D
i have problems:
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
any someone can help me?
can install manually?
Hallo
I have problems withs Karma_Description_Mod_ver.1.8
I have install Forum version: SMF 1.1 RC1 after I am install 1. Karma Description Mod 1.3
all is good but when i am install Karma_Description_Mod_ver.1.8 writing error apply mod
view
Installations actions for "Karma Description Mod":
Installing this package will perform the following actions:
view
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg152.imagevenue.com%2Floc74%2Fth_88577_image.JPG&hash=7e5d5b9484a1ac4be33addf4120013f888c46068) (http://img152.imagevenue.com/img.php?loc=loc74&image=88577_image.JPG)
what can i do ?
thanks
PS : Sorry for my English
Use KDM_1.9.2
Quote from: Grek_Kamchatka on May 09, 2006, 05:41:33 PM
Use KDM_1.9.2
HI
I have Uninstall KDM 1.3 before than install KDM 1.92 or not
thanks
yes, you must uninstall KDM 1.3, upload vanilla source files to you host and then you can install KDM 1.9.2
re: Grek_Kamchatka
thanks you for help
u are welcome ;-)
HI
sorry my question but this morning i see this
Unknown column 'lk.link' in 'field list'
File: /mnt/data/accounts/p/********/data/www/Sources/Viewkarma.php
Line: 175
*****my host
what can i do ?
thanks
Read this topic again.
Maybe I missed it, but I haven't been able to find the Karma log. I want to view it, how do I do that?
Never mind, I found it. I wasn't expecting it to be on the front page. DUH!!
I am running SMF 1.1RC2 and tried to uninstall this mod. I got the error below. Can I manually uninstall it?
Quote
!!Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
Thank you for testing my mod. Bye-bye =)
Uninstall Actions
Uninstall Actions "Karma Description Mod":
Installing this package will perform the following actions: 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/BoardIndex.php Test successful
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Themes/default/Admin.template.php Test successful
8. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
9. Execute Modification ./Themes/default/Profile.template.php Test successful
10. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
11. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
12. Execute Modification ./Themes/default/languages/Who.english.php Test successful
13. Execute Modification ./Themes/default/languages/Help.english.php Test successful
14. Execute Modification ./Themes/default/languages/index.english.php Test successful
15. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
16. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
17. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
18. Execute Modification ./index.php Test successful
From the information you posted its almost impossible for you to get the exact help you need. You'll need to post if you're upgrading from a previous KDM, or any other mods that may have altered the karma.php file.
But assuming its not because of another mod, you could maybe just upload the karma.php again then try installing KDM. Remember to backup before you do this incase things go wrong.
I am trying to uninstall the KDM mod. As far as I know, none of my other mods have altered the karma.php file.
Could I do the uninstall and then just upload the old karma.php file?
suggestions for this mod (future releases)
- Add a visualization to the whole 'karma' business so that instead of + and - we see small green and red button
- reputation grouping meaning:
- a user with 0 reps = no one knows him
- a user with 50 reps = he is known around here
- a user with 100 reps = is a familiar face
etc etc
- a reputation log which can be displayed ONLY to the user to whom the reps are given as opposed to everyone seeing it (only displays last 10 rep points recieved)
- no time limit on reps, that REALLY sucks - there should be a max number of reps a person can give and reps cant be given to the same person oevr and over until X no of people have recieved reps
- some sort of "rep power" so tht members with higher rep points have the power to give more rep points to the same user )2 or 3 or 4 depending on their rep power)
- a visual representation of rep power
- ability to change the name of "karma" to something else so that we can choose according to our needs
tats all i have for now
hope in the future we can see these :D
Quote from: ohioreef on May 12, 2006, 08:33:48 PM
I am trying to uninstall the KDM mod. As far as I know, none of my other mods have altered the karma.php file.
Could I do the uninstall and then just upload the old karma.php file?
yes, that will work fine.
Thank you.
laxcoo, sorry for my mistake. The latest version of the mod is 1.9.7. Update your mod please. Sorry again.
HI
thanks you your help is good mod 1.9.2 is functional
laxcoo
besides problem with karma.php, also mod doesn't delete files it uploads (Viewkarma.php, Viewkarma.template.php, DescriptionKarma.template.php)
So, should I remove those manually?
I did the uninstall and then just reloaded the default karma.php file and everything seems to be fine at this point.
You can do what you want. If you will install new KDM version, this files will be uploaded by new ver.
I have 1.1RC2
Installations actions for "Karma Description Mod":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Sources/BoardIndex.php Test successful
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Themes/default/Admin.template.php Test successful
8. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
9. Execute Modification ./Themes/default/Profile.template.php Test successful
10. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
11. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
12. Execute Modification ./Themes/default/languages/Who.english.php Test successful
13. Execute Modification ./Themes/default/languages/Help.english.php Test successful
14. Execute Modification ./Themes/default/languages/index.english.php Test successful
15. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
16. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
17. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
18. Execute Modification ./index.php Test successful
19. Execute Code db_change.php
20. Extract File ./Sources/Viewkarma.php
21. Extract File ./Themes/default/Viewkarma.template.php
22. Extract File ./Themes/default/DescriptionKarma.template.php
but error for:
Fatal error: require() [function.require]: Failed opening required '/xxx/html/forum/Packages/temp/./db_change.php' (include_path='.:/usr/lib/php') in /xxx/html/forum/Sources/Packages.php on line 534
anyone can help me?
Is there any working demo for this mods that i could have a look at the mods 1st ?
The mod Works Great.It is showing everything.
Just One Lil Problem.
When I (or any user) click on Applaud or Smit, It gives following error
Session verification failed. Please try logging out and back in again, and then try again.
However, It worlks if I disable the Mod.
Pls. Help.
I liked the mod... but it killed my query limit.
installed the mod (successfully, it says), no errors, howver, no modification in my forum (I looked for Features and otions->karma->enable karma description, is not there)
Try to uninstall, I get "Modification parse error"
???
Hello, already I have this mod installed in my forum SMF 1.1RC2 and need that in the index of the forum the top users appear karma+ , that code tendria that to stick and in qeu file??... I am using the theme default of the forum SMF..
resgards
Grek,
I installed fresh since I have been having problems with the mod and it would be an upgrade.
When I went to go give karma I got an error.
I had to change these two lines
FIND:
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
CHANGE:
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}
and
FIND:
// JavaScript as a last resort.
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
REPLACE
// JavaScript as a last resort.
}
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
Not Sure if its a typo or what ever but I had to change those lines to make the mod work.
Sleepy, do you resieved any errors without this changes? What kind?
One wouldn't even load the page (the first one) and gave me a $ error on line 299 (or something like that) and checking in my editor that line was ?>
After finding that error because of reading the if statement above was pretty much closed off soon as it opened and I knew it shouldn't because it was the main part of the function it gave me another error so I read through it and found out that it was missing a } to close off and start another function.
Ok, thank you again $-)
QuoteUnknown column 'lk.Description' in 'field list'
File: /home/gbxemu/public_html/forum/Sources/Viewkarma.php
Line: 71
I'm getting this error when trying to view karma stats. I tried the fix someone else posted, but it didn't do anything.
My Highest Karma list shows users with negative scores at the top. Any idea how to fix this?
I found the fix for my problem.
ALTER TABLE `YOURPREFIX_log_karma`
ADD `Description` TEXT NOT NULL
i just started a new SMF board 1.0.5 and did the upgrade to 1.0.7.
i put this mod in and it seems to work fine but i get 4 errors in the
log for everytime a page is refreshed.
8: Undefined index: common_stats
File: /home/xxx/public_html/smf/Themes/default/BoardIndex.template.php (eval?)
Line: 354
what is causing this?
thanks
KARMA DECRIPTION MOD 1.9.7
Hi there!
I have a problem with my forum page, I wish somebody would be able to help me..
I tried to search for his problem before writing here; but because of the error that occurs whenever I tried to find out this via search engine, I couldn't find any help with this problem.. And I tried to look for this in the whole community topics as much as I can.. But the result was fail.. Consequently, I thought that I should open a topic here.. I tired to obey the rules but in any case, I may be not obeying the whole rules, please skip it over and I apologize for this beforehand.
Firstly, I want to give some details with my forum.
(dipnot-1)Smf 1.1rc2, theme Ig-OH edited.
The (2)mods installed manually are these: Membercolorlink , Boardnotes11rc2 , Streaming_4.2.1b_TR , BarOfExperience12_10
I installed the "Smf Karma Description Mod 1.9.7" manually without any deficiency. But when I (3a)pass the "db_change.php file" (3b)through scanner, an error like this had been occurred:
Error: Database modifications failed!Error: Database modifications failed!
It means the database couldn't be changed, I think.. Then, I tried the "db_change.php file" with setting the "ch mod" (4)up to 777. But I received the same error again. I skipped over this error and went on my way, but at that time, I received (5)the error when I tried to (6)"give Karma". When I tried as a normal user, an error occurred and it had been said that "inform the admin". But when I tried as admin, I received this error:
Unknown column 'Description' in 'field list'
File: /home/saidnurorg/domains/saidnur.org/public_html/forum/Sources/Karma.php
Line: 118
It means an error as an unknown column.
How can I solve these problems and install the mod with proper stability? Can you help me?
Meanwhile, which things in the admin panel must be chosen to work the "Karma Mod". With another saying, to work the Karma Mod, which things on the admin page have to be chosen? I normally close the sp1 type statistics, must they be on? Should I open them, chose them?
When I click the list of users that changed my "Karma" in my profile, this error is shown:
Unknown column 'lk.Description' in 'field list'
File: /home/saidnurorg/domains/saidnur.org/public_html/forum/Sources/Viewkarma.php
Line: 182
When I click the list of users whose Karma's were changed by me, this error is shown:
Unknown column 'lk.Description' in 'field list'
File: /home/saidnurorg/domains/saidnur.org/public_html/forum/Sources/Viewkarma.php
Line: 289
I think all these errors occur due to undefined command. How can I correct all these? I need your help..
Wishing to hear from you soon..
Sincerely..
Good-bye..
Hi, Lemalar. Have you any mysql admin interface? You must add two fields in your database. See db_change.php for complete description.
Hi Grek_Kamchat,
our site doesn't have Mysql, at least I don't know whether does or not.. And also does not have "cpanel".. So, How can we use db_change.php file via ftp?
and how can we solve these problems?
Lemalar...
how the heck are you running SMF if you don't have a mySQL database?
Quote from: steven in houston on July 03, 2006, 02:51:20 PM
i just started a new SMF board 1.0.5 and did the upgrade to 1.0.7.
i put this mod in and it seems to work fine but i get 4 errors in the
log for everytime a page is refreshed.
8: Undefined index: common_stats
File: /home/xxx/public_html/smf/Themes/default/BoardIndex.template.php (eval?)
Line: 354
what is causing this?
thanks
What theme do you use?
Quote from: Kindred on July 05, 2006, 09:37:49 PM
Lemalar...
how the heck are you running SMF if you don't have a mySQL database?
He wanted to say that they haven't any admin panel, i think.
Lemalar, try to use phpMyAdmin. It will help you.
Quote from: Grek_Kamchatka on July 05, 2006, 11:35:57 PM
What theme do you use?
i see it now.
it is caused by the new theme.
thanks
Firstly complements on a great mod, worked really well for a while and now I have a problem when we try to give or deduct points, I use SMF with MKPorta (the CMS)..
At the very top of the page we see this when we try to give out points...
Parse error: parse error, unexpected $end in e:\domains\s\**URL**\user\htdocs\form\Sources\Karma.php on line 1124
And the error we get is:
Unable to load the 'main' template.
We are using deafult template...
To fix a previous problem I did uninstall and then re-install this mod, could that be the problem and what should I try now. Any help much appreciated.
Cheers
Grek,
This is actually the first third party mod for SMF that I have ever installed (sorely needed for my slightly out-of-control forum). All I can say is that it will be a hard act to follow:
FLAWLESS INSTALL...great features. thank you for the hard work and the fantastic support you have provided in this forum. you should be highly commended. I almost wish I didn't need a little help and can just leave my post like this! Oh well...
Maybe I am missing something here. It seems like an obvious thing to me, but maybe that's just my perspective: Is there any way to make karma applauses and smites administrator approved only? My forum has had some recent feuds between parties and I want to be able to be able to approve karma votes before they actually affect someone's karma. The post minimum needed is great....so is the wait period...but I only want the admins to be able to instantly affect karma. Everyone else should have to wait for approval. Otherwise, on my forum, this feature will be abused...no doubt.
Maybe this has nothing to do with your mod, I am not sure.
But anyway, thank you very, very much! Bravo!
That's pretty funny ssoltz. When I had this mod on my forum, there was no way to control the Karma comments. In many cases, you didn't want to cause they were so damn funny.
Still waiting for the dust to settle before re-installing. :)
Yes, it should be very interesting.
I am just going to let it fly and see what happens...if I have to go into some member's profile and adjust Karma manually...so be it.
So far, everyone is being pretty well-behaved. We'll see how long that lasts.
Take care,
Parse error: syntax error, unexpected $end in /home/arksvr/public_html/forum/Sources/Karma.php on line 675
line:
</html>';
obExit(false);
}
}
?>
Quote from: ArkServer on July 25, 2006, 02:09:35 PM
Parse error: syntax error, unexpected $end in /home/arksvr/public_html/forum/Sources/Karma.php on line 675
line:
</html>';
obExit(false);
}
}
?>
Read this topic again.
Quote from: Grek_Kamchatka on July 25, 2006, 04:23:21 PM
Quote from: ArkServer on July 25, 2006, 02:09:35 PM
Parse error: syntax error, unexpected $end in /home/arksvr/public_html/forum/Sources/Karma.php on line 675
line:
</html>';
obExit(false);
}
}
?>
Read this topic again.
Readign 25 pages would take me quite some time, you know on what page it is?
OK...here's one for you:
For my forum, it is very important for karma givers to remain anonymous, except to admins. currently, I have karma log turned off for users. I would like to use the "view own log only" because I will be penalizing people who reach a certain level of total negative karma OR have a certain amount of smites. since there is no way for users to see how many applauds or smites they have (I am using the total karma method) OR where they received bad karma.
I would like them to be able to learn from their mistakes (we have a handful of grown people behaving like school children on our forum) by seeing where their posts were received badly AND to see how close they are getting to the karma smite limit in addition to the information they already can see concerning total karma (as you may have surmised, the karma log does use the +/- option).
If they could see their OWN karma log only without the "Whom" column, that would be great. I do want this info to display for admins. I may also want to disable the "When" column because these crafty petulants will look to see who was online at the time they received a smite.
Let me know if anyone can help with this.
Thanks,
ssoltz, this is for you:
You can make all these changes in Viewkarma.template.php
Find:
echo'
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=exec', $context['sort_direction'] == 'down' && $context['sort_by'] == 'exec' ? ';asc' : '', '">', $txt['karmawho'], '', $context['sort_by'] == 'exec' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=targ', $context['sort_direction'] == 'down' && $context['sort_by'] == 'targ' ? ';asc' : '', '">', $txt['karmawhos'],'', $context['sort_by'] == 'targ' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="10%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=action', $context['sort_direction'] == 'down' && $context['sort_by'] == 'action' ? ';asc' : '', '">', $txt['karmawhat'],'', $context['sort_by'] == 'action' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="31%" align="center"><b>', $txt['karmadesc'],'</b></td>
'; if (!empty($modSettings['karmaurl'])) echo '<td width="6%" align="center"><b>', $txt['karmawhere'],'</b></td>'; echo '
<td width="25%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=time', $context['sort_direction'] == 'down' && $context['sort_by'] == 'time' ? ';asc' : '', '">', $txt['karmatime'],'', $context['sort_by'] == 'time' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
'; if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>'; echo '
</tr>';
Replace with:
if ($user_info['is_admin'])
{
echo'
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=exec', $context['sort_direction'] == 'down' && $context['sort_by'] == 'exec' ? ';asc' : '', '">', $txt['karmawho'], '', $context['sort_by'] == 'exec' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=targ', $context['sort_direction'] == 'down' && $context['sort_by'] == 'targ' ? ';asc' : '', '">', $txt['karmawhos'],'', $context['sort_by'] == 'targ' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="10%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=action', $context['sort_direction'] == 'down' && $context['sort_by'] == 'action' ? ';asc' : '', '">', $txt['karmawhat'],'', $context['sort_by'] == 'action' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="31%" align="center"><b>', $txt['karmadesc'],'</b></td>
'; if (!empty($modSettings['karmaurl'])) echo '<td width="6%" align="center"><b>', $txt['karmawhere'],'</b></td>'; echo '
<td width="25%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=time', $context['sort_direction'] == 'down' && $context['sort_by'] == 'time' ? ';asc' : '', '">', $txt['karmatime'],'', $context['sort_by'] == 'time' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
'; if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>';
}
else
{
echo'
<td width="14%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=exec', $context['sort_direction'] == 'down' && $context['sort_by'] == 'exec' ? ';asc' : '', '">', $txt['karmawho'], '', $context['sort_by'] == 'exec' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="10%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=action', $context['sort_direction'] == 'down' && $context['sort_by'] == 'action' ? ';asc' : '', '">', $txt['karmawhat'],'', $context['sort_by'] == 'action' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
<td width="31%" align="center"><b>', $txt['karmadesc'],'</b></td>
'; if (!empty($modSettings['karmaurl'])) echo '<td width="6%" align="center"><b>', $txt['karmawhere'],'</b></td>'; echo '
<td width="25%" align="center"><b><a href="' . $scripturl . '?action='.$WhatPage.';start=', $context['start'], ';sort=time', $context['sort_direction'] == 'down' && $context['sort_by'] == 'time' ? ';asc' : '', '">', $txt['karmatime'],'', $context['sort_by'] == 'time' ? '<img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></b></td>
'; if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>';
}
echo '
</tr>';
Find and remove:
echo '</td>
<td width="14%" align="center"><a href="'. $scripturl . '?action=profile;u=' . $member['id_targ'] . '" title="' . $txt[92] . ' ' . $member['target'] . '">' . $member['target'] . '</a>';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['targetkarmagood'],'/-',$member['targetkarmabad'],')</span>';
Find and remove:
echo '</td>
<td width="14%" align="center">' , $member['target'] , '';
if (!empty($modSettings['karmakarma']))
echo' <span class="smalltext">(+',$member['targetkarmagood'],'/-',$member['targetkarmabad'],')</span>';
This works for me and I'm using version 1.1 RC2.
Let me know if you need any help.
Good luck!
Awesome!
I'll give it a try and let you know!
Thank you!
OK, I'm getting the [Karma Stats] button for a Regular user now, but when I try to access the Karma log (as a Regular Member), it says that I do not have adequate permission. I'm a little confused. I changed every membergroup to allow viewing the karma log. I wasn't even aware of the two links in the profile thing...is this where the user would access their own karma log and not with the [Karma Stats] button on the index page? I am not seeing these links even when I have everything checked in the Karma settings in the admin panel.
Also, the second "find and remove" messed up the admin's Karma log. I took that out and Karma log looks normal for admin.
This may just be a settings issue.
To get this last bit to work, do I need to enable "View Karma Log" for each membergroup I wish to have see their own karma log?
Better yet, Surf...can you let me know what settings you are using for karma (in the admin panel) to get your mod above to work?
I would prefer it if the users could just link to their own version (no "Whom" column) from their profile ONLY but this is not a big issue.
Thanks for the help,
Yeah here are my settings for karma:
Here's the admin side:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg48.imageshack.us%2Fimg48%2F7209%2Fadminha9.png&hash=2ef63202f139e6b00d249f79bae25f77ad684b7d)
And then in the permissions for all members, I have "view karma log" enabled.
Oops...I think I got it working but I think my confusion was because I don't think that we have the same objective here. Just to be clear:
You are making it so that all of your members have access to the karma description log - the complete one that has all of the forums smites and applauds BUT does not display who is receiving the karma. this is about exactly opposite of what I'm trying to do...which is:
I only want the user to see his own RECEIVED karma (or karma he gave and received...doesn't matter). I also do not want that user to be able to see who gave it to him.
Or are you trying to do a similar thing and I just implemented it wrong? Let me know.
I have a feeling the default settings for "Enable karma links in users profiles" and "Disable whole karma log for users but enable own karma log" are the key settings (which I now have off) but I need to get rid of that "Whom" column (who SENT the karma).
Either way, it helped me get a head start on this and I thank you for your time and assistance!
OK...so where are these profile karma links supposed to appear?
EDIT:
OK...I figured that part out...I am not using the default template so I had to make the necessary changes to my Profile.template.php
Also, Surf, this miscommunication was my fault...it is the "Who" column I want to turn off...not the "Whom"...those terms always confuse me...I think I can figure it out from here...hopefully...will post my results.
Of course, if I use the two profile links, I actually would want to turn off the "Who" in the karma received link and "Whom" in the karma given. But I really don't care about the given link, especially if this just creates more work. I probably will just disable that link.
Thanks again!
Haha no problem!
Just let me know if you need anymore help.
Does anyone here have a phpmyadmin dump for this mod? the package db modifier doesnt work for some reason.
Thanks
Surf,
Got it working pretty much perfectly. On minor flaw. If I turn on permissions for the membergroup, even if the "Users can view karma log" is off in the admin panel, they will still see the link for [Karma Stats] in their index. Now, they do get an permissions error if they try to actually USE this link. Obviously, if I turn off the permission for "view karma log" for the membergroup, then the profile links get the permission error (no surprise there).
All I did was add a user['is_admin'] to my BoardIndex and that took care of it. All's well for now.
Now, if I need to figure out a way to make it so that posts only have a certain time limit during which they can receive karma. I don't want a user who is pissed off at someone to track a persons posts and give bad karma to every one. That will cause some admin headaches. Also, I would love to be able to turn off the ability to give karma in PMs.
If anyone knows quickly how to do these...great...otherwise, I will figure them out when I have time...these are not huge priorities.
Thank you for this great mod and mods on the mod...and thank you, Surf for the great assistance...it's working great!
Take care,
SMF Version: SMF 1.1 RC2
Im getting karma error on my forum >
Parse error: syntax error, unexpected $end in /home/pf/public_html/forum/Sources/Karma.php on line 444
anyone please assist me. Thanks
I did have this mod working correctly but I had to recopy my themes folder cause of a problem that occured with page errors. Then I had to reinstall my mods again and ever since then.....this mod wont show the area in ur profile where u can chose to see who smited u or appluaded u. I have all the settings correct in the admin panel but it wont show.....can I manually edit something in one of the php files to get this to show? And if so.....what can I add cause all my members are so upset about this.....they LOVE this mod.
Any help would be greatly appreciated
Hi, Parijs. You must open you themes template files and add some changes, which you can see in default template files, maded by my mod.
I am new to this stuff.....could someone post to me exactly what files must be changed and what to change in them? I would very much appreciate it. I am using the TP_WoW-DK theme for my SMF 1.1 RC2
KDM fails to install on 1.1 RC3 with the Admin.Template.php file.
Any news on 1.1 RC3 compatibility?
If no one has a hack for it, I will have to wait for a compatible version before I upgrade to RC3, since this mod is such a big feature (and hit!) on my forums now. I am using RC2 and bridge 1.1.5 currently.
Thank you...I love this mod!
yeah, I am waiting for rc3 compatibility, too. It's a great mod.
ok.. this has I sure been answered but after doing many searches I can not find it.
I changed "Karma" to another name. What do I need to change to make Karma Description Mod match?
Not sure on my answer here because i'm not really sure of your questions.. but if i understood it correct then just alter the language files.
Thanks, I did find that...
The other thing I would like help on is... how do I remove the "Top 5 smited users" field in the main Karma Description page? We don't use smiting.
For that you'd have to do a bit of work on the viewkarma.template.php file.
EDIT:
I just had a quick look at the file i mentioned and it seems straight forward as to commenting out, or deleting lines 145 to 150 (or maybe 144 to 151).
Any word yet on RC3 compatibility?...I guess I should say...
*bump*
I fixed the admin template incompatibility for RC3, looking at the database part now..
If you need it, I have a fully working version for RC3.
Quote from: bl968 on September 02, 2006, 01:57:51 PM
If you need it, I have a fully working version for RC3.
could you upload it please ?
Well thank you, but I am getting the following error when I trie to install it:
The package you tried to upload either is not a valid package or has become corrupted.
Karma Description Mod ver. 1.9.7-2 now available.
Quote from: Grek_Kamchatka on September 03, 2006, 07:11:53 PM
Karma Description Mod ver. 1.9.7-2 now available.
Any new features or just RC3 support?
Quote from: bl968 on September 03, 2006, 07:43:06 PM
Any new features or just RC3 support?
Just RC3 compatible. I don't know what new functions i can do with this mod.
Off the top of my head PM on Karma. sends a pm to the person letting them know who, what, why, and their new karma total :) Anyone else have any ideas? Since the why requires your mod it would be best if it was added as a feature to it instead of done seperately
I made another notification when karma was changed. It was like a popup window, when you receive a new PM (and there was two buttons 'Yes', 'No' to view own karma log). Is this what you need, or only PM?
Quote from: Grek_Kamchatka on September 03, 2006, 10:21:22 PM
I made another notification when karma was changed. It was like a popup window, when you receive a new PM (and there was two buttons 'Yes', 'No' to view own karma log). Is this what you need, or only PM?
An option either way would be nice
In Admin
Enable Karma Change Notifications:
( ) Yes
IN Profile....
Karma Change Notification:
( ) PM
( ) Popup
( ) None
Ok. I'll try.
Quote from: Grek_Kamchatka on September 03, 2006, 11:05:33 PM
Ok. I'll try.
Forgot an option above... Added None for notification type
Quote from: Grek_Kamchatka on September 03, 2006, 07:11:53 PM
Karma Description Mod ver. 1.9.7-2 now available.
Do you have the dutch version please? I installed it and it worked but your language settings have to be english otherwise it will not work.. unless you have the dutch file for me?
Sorry, but i don't know dutch.
Can't I modify the english file into a dutch file? .. I know dutch but i don't know how to modify en what I have to change in the script.
Quote from: LocoTurk on September 05, 2006, 05:12:40 AM
Can't I modify the english file into a dutch file? .. I know dutch but i don't know how to modify en what I have to change in the script.
I think you simply have to add the strings to the language file for your language. It adds them by default to the english ones..
./Karma_Description_Mod.xml: <file name="$themedir/languages/Admin.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/ModSettings.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/Who.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/Help.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/index.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/ManagePermissions.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/Errors.english.php">
./Karma_Description_Mod.xml: <file name="$themedir/languages/Profile.english.php">
Admin.[language].phpAfter:
$txt['maintain_logs'] = 'Empty out unimportant logs.';
Add:
$txt['maintain_karmalog'] = 'Empty out Karmachange Description log';
$txt['maintain_optimize'] = 'Optimize all tables to improve performance.';
$txt['maintain_version'] = 'Check all files against current versions.';
$txt['maintain_return'] = 'Back to Forum Maintenance';
ModSettings.[language].phpAfter
$txt['karmaSmiteLabel'] = 'Karma smite label';
add
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic starter karma';
Who.[language].phpAfter
$txt['whoall_.xml'] = 'Viewing an XML feed.';
add
$txt['whoadmin_viewkarma'] = 'Viewing <a href="' . $scripturl . '?action=viewkarma">Karmachange Description Log</a>.';
$txt['whoall_modifykarma'] = 'Changing karma.';
Help.[language].phpBefore
$helptxt['karmaMode'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can
Add
$helptxt['karmapermiss'] = 'By default this option is switched off and Karma Log can look only admins. If you want to do Karma Log available for other users or moderators, etc, enable this option and give the right that group, which can look Log in "Permissions" section.';
$helptxt['karmalinks'] = 'If you enable this feauture, users will see two links in their profiles (Own or other users). They can see who change their karma and whom they change it. Karma Description Mod must be enabled';
$helptxt['karmakarma'] = 'It\'s display users karma in Karma log opposit the usernames. For example: Username (+12/-8)';
$helptxt['karmaurl'] = 'If you enable this option, you and your users can view where their karma was change';
$helptxt['karmaisowner'] = 'If you enable this option, only profile owner will see two links to his own karma log. By the way, your users will resieve an error if they input an url adress (like http://your_forum.com/index.php?action=ownkarma;u=other_user) by the hand if you don\'t want your users can view other users karma log. Whole karma log will be disabled too. ONLY OWN KARMA LOG.';
index.[language].phpAfter
$txt['ajax_in_progress'] = 'Loading...';
add
$txt['karmaview'] = 'Karma Modification Log';
$txt['whykarmamod'] = 'Karma Modification';
$txt['Description'] = 'No Description';
$txt['karmamoder'] = 'Why are you modifying this user\'s karma?';
$txt['karmarequare'] = '(Required field)';
$txt['karmawho'] = 'By';
$txt['karmawhos'] = 'To';
$txt['karmawhat'] = '(+/-)';
$txt['karmadesc'] = 'Reason';
$txt['karmatime'] = 'When';
$txt['karmanumb'] = 'Values: ';
$txt['statkarma'] = '[Karma Stats]';
$txt['viewkarma_title'] = 'Viewing Karma Modification Log';
$txt['deletekarma'] = 'Delete';
$txt['clearkarma'] = 'Clear';
$txt['nextver'] = 'In next mod version';
$txt['karma_delete_confirm'] = 'Are you sure you want to delete this record?';
$txt['karma_back'] = '< Back';
$txt['karma_continue'] = 'Continue >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';
$txt['karmawhere'] = 'Where';
$txt['karmawhereurl'] = 'In topic';
$txt['karmawhereurl2'] = 'In PM';
$txt['karma_delete'] = 'Delete';
$txt['sure_about_karma_remove'] = 'Are you sure you want to delete this record?';
$txt['karma_stat'] = 'Karma Stats';
$txt['karma_top_applaud'] = 'Top 5 applauded users';
$txt['karma_top_smite'] = 'Top 5 smited users';
$txt['karma_other_stat'] = 'General Statistics';
$txt['karma_max_appl'] = 'Applauds the most:';
$txt['karma_max_smit'] = 'Smites the most:';
$txt['karma_today'] = 'Karma points today';
$txt['karma_today_plus'] = 'Today "+"';
$txt['karma_today_minus'] = 'Today "-"';
MangagePermissions.[language].phpat the end of the file before the
?>
add
$txt['permissionname_karmalog_view'] = 'View Karma Log';
$txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the Karma Description screen by clicking the link in the \'Karma Stat\' section of the board index.';
Errors.[language].phpat the end of the file before the
?>
Add
$txt['cannot_karmalog_view'] = 'Sorry - you don\'t have the proper permissions to view the Karma Description list.';
$txt['viewkarma_error'] = 'User ID must be a number';
$txt['karma_not_topic_starter'] = 'Sorry, he is not topic author.';
Profile.[language].phpat the end of the file before the
?>
add
$txt['who_change_my_karma'] = 'Karma received?';
$txt['whom_i_change_karma'] = 'Karma given?';
Do not edit the part before the = sign only what is in the single quotes after.
You of course have to do your own translations. I have edited some of these from the original text, and removed the comments since I couldn't read them anyway.....
So I have to add these codes to the language files and translate te words that are inside 'here' into dutch? Like below?
$txt['karma_top_smite'] = 'Top 5 smited users'; BECOMES --> $txt['karma_top_smite'] = 'Top 5 Karma gebruikers';
$txt['karma_other_stat'] = 'General Statistics'; BECOMES --> $txt['karma_other_stat'] = 'Algemene Statistieken';
Quote from: LocoTurk on September 05, 2006, 06:11:20 AM
So I have to add these codes to the language files and translate te words that are inside 'here' into dutch? Like below?
$txt['karma_top_smite'] = 'Top 5 smited users'; BECOMES --> $txt['karma_top_smite'] = 'Top 5 Karma gebruikers';
$txt['karma_other_stat'] = 'General Statistics'; BECOMES --> $txt['karma_other_stat'] = 'Algemene Statistieken';
Yep! Once you have done a language you should think about sending a list of the translations to Grek_Kamchatka so he can add it to future versions of the mod.
Err...well I, for one would just like to say "thank you!" to Grek!
I love the mod the way it is, I just needed RC3 compatibility...now I can move forward with my upgrade...
thank you again!!!
when I install the latest version of your mode on my 1.1 RC3 forum, it says that it installed correctly, but at the top of the page I got this message:
Error: Database modifications failed!Error: Database modifications failed!
any idea?
Quote from: KD on September 05, 2006, 01:28:19 PM
when I install the latest version of your mode on my 1.1 RC3 forum, it says that it installed correctly, but at the top of the page I got this message:
Error: Database modifications failed!Error: Database modifications failed!
any idea?
3 statements can generate that error. Try running each one in phpmyadmin or whatever you use....
Replace {$db_prefix} with the prefix you use for your SMF database.
ALTER TABLE `{$db_prefix}log_karma`
ADD `Description` TINYTEXT NOT NULL,
ADD `link` TEXT NOT NULL
ALTER TABLE `{$db_prefix}log_karma`
DROP PRIMARY KEY
The last one is a bit harder so if the first two run then it's most certainly the last....
// Turn the array defined above into a string of MySQL data.
$string = '';
foreach ($mod_settings as $k => $v)
$string .= '
(\'' . $k . '\', \'' . $v . '\'),';
// Sorted out the array defined above - now insert the data!
if ($string != '')
$result = db_query("
" . ($overwrite_old_settings ? 'REPLACE' : 'INSERT IGNORE') . " INTO {$db_prefix}settings
(variable, value)
VALUES" . substr($string, 0, -1), __FILE__, __LINE__);
// Uh-oh spaghetti-oh!
if ($result === false)
echo '<b>Error:</b> Database modifications failed!';
Quote from: KD on September 05, 2006, 01:28:19 PM
when I install the latest version of your mode on my 1.1 RC3 forum, it says that it installed correctly, but at the top of the page I got this message:
Error: Database modifications failed!Error: Database modifications failed!
any idea?
Everything ok. It is because of your database already contain KDM fields. (Description and logtime)
I couldn't make a dutch language file for this Modification :( Could anyone help me please.
I love this mod.
My only problem with it, and something I'm trying to change, is the spotty English listed in the summary. "Who change my karma?" should be "Who changed my karma?" and "Whom I change karma?" should probably be something like "Whose karma have I changed?"
I've been looking through the package files, and I can't find the files these descriptions are in. Could somebody please point me to them?
Quote from: citrusmirakel on September 05, 2006, 09:19:28 PM
I love this mod.
My only problem with it, and something I'm trying to change, is the spotty English listed in the summary. "Who change my karma?" should be "Who changed my karma?" and "Whom I change karma?" should probably be something like "Whose karma have I changed?"
I've been looking through the package files, and I can't find the files these descriptions are in. Could somebody please point me to them?
Thank you, citrusmirakel. Sorry for my bad english, i'm from Russia $-)
You'll find this strings in Karma_Description_Mod.xml
ok, well I have a little problem.
the logs are accessible (but empty since I uninstalled the last version to install this one) but when I want to change someone's karma, it gives me this error:
Parse error: parse error, unexpected $ in /home/kddio/public_html/forum/Sources/Karma.php on line 670
and the line 670 in my file is the end of the file, which is simply:
?>
so I don't know what to do :(
I tried uninstalling it and reinstalling it, but it doesn't work.
nevermind
I took the karma.php file from another forum that I manage and it works now
After uninstalling the mod, i advice to upload vanilla karma.php.
This is a great mod. THANKS!! Will you be adding an update soon with the email or pm function when karma is changed?
QuoteThank you, citrusmirakel. Sorry for my bad english, i'm from Russia $-)
Hey, your English is a lot better than my Russian.
Thanks, got it changed. Incidentally, for anyone who might be curious, the file you're looking for is Themes/default/languages/profile.english.php. The strings $txt['who_change_my_karma'] and $txt['whom_i_change_karma'] (they're at the end) are what you'll want to change.
Quote from: bl968 on September 05, 2006, 06:13:40 AM
Yep! Once you have done a language you should think about sending a list of the translations to Grek_Kamchatka so he can add it to future versions of the mod.
It worked thanks... I would like to upload the files i have changed.. but i can't attach any files here?
KDM 2.0 rc1 now available. Please read the releasenotes on download page. http://mods.simplemachines.org/index.php?mod=192
Release notes:
Karma_Description_Mod_ver.2.0_rc1*Added notification function (Users can choose how they'll be notified when their karma will be changed. [None][Popup Message][Personal Message]. In PM they can see link to own karma log, reason of a change and link to the message where karma was changed.
*There are some bugs in this version that i know. 1st After installing the mod, until you checked 'Enable karma notify' you will resieve some errors in error log. 2nd If you disable KDM, but karma function still be worked you will resieve an error in error log.
Please, if you'll find any other bugs PM me, or post it here. Have a nice day.
1st bug is fixed. If you want to fix it manually, open Subs.php find code:
if ($modSettings['karmanotifier'] && !$user_info['is_guest'] && (!isset($options['enable_notify'])))
in line 3115 and replace it with this code:
if (isset($modSettings['karmanotifier']) && !$user_info['is_guest'] && (!isset($options['enable_notify'])))
Then find code:
if ($modSettings['karmanotifier'] && !$user_info['is_guest'] && ($options['enable_notify'])==1)
in line 3119 and replace it with this code:
if (isset($modSettings['karmanotifier']) && !$user_info['is_guest'] && ($options['enable_notify'])==1)
2nd bug in Profile.template.php is fixedIf you go to 'Look and Layout Preferences' in your profile, you will see this comment '//Karma Description Mod (Notifier)'. It must be invisible. To fix this bug, please open Profile.template.php and find this code:
//Karma Description Mod (Notifier)
';
if ($modSettings['karmanotifier'])
replace it with this code:
';
//Karma Description Mod (Notifier)
if ($modSettings['karmanotifier'])
3rd bug is fixedIf you disable KDM, but karma function still be worked you will resieve an error in error log - fixed.
Open Karma.php, find this code:
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod'])){
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}}
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
and replace it with this code:
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod']))
{
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}
}
else
{
$_POST['Description']='';
}
{ if ( empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
This bugs is fixed in Karma_Description_Mod_ver.2.0_rc2
http://rapidshare.de/files/33452133/Karma_desc_Dutch_languagepack.rar.html
I have uploaded the dutch language files for the karma description mod.. Those are my files so there could be other modifications inside them.
Could you adjust them into the new version of Karma Description Mod
Quote from: LocoTurk on September 17, 2006, 11:04:46 AM
I have uploaded the dutch language files for the karma description mod.. Those are my files so there could be other modifications inside them.
It's not full. Please, download a new version of my mod and translate new language files
Karma Description Mod ver.2.0 Release Candidate 2 now available.
Quote from: Grek_Kamchatka on September 18, 2006, 01:42:10 AM
Karma Description Mod ver.2.0 Release Candidate 2 now available.
Cool, thanks! Do you just install right over Karma_Description_Mod_ver.1.9.7-2.zip for RC3 or do you have to uninstall, then re-install new version?
Quote from: RoarinRow on September 18, 2006, 01:58:08 AM
Cool, thanks! Do you just install right over Karma_Description_Mod_ver.1.9.7-2.zip for RC3 or do you have to uninstall, then re-install new version?
Yup, uninstall previous version (1.9.7-2) and install new version (2.0) on vanilla source files. Don't forget to backup, please.
Quote from: Grek_Kamchatka on September 18, 2006, 02:03:36 AM
Quote from: RoarinRow on September 18, 2006, 01:58:08 AM
Cool, thanks! Do you just install right over Karma_Description_Mod_ver.1.9.7-2.zip for RC3 or do you have to uninstall, then re-install new version?
Yup, uninstall previous version (1.9.7-2) and install new version (2.0) on vanilla source files. Don't forget to backup, please.
Thank you!
On smf 1.1 RC3 new installtion of the mod i got this error in the log:
http://www.myhost.com/index.php?action=modifykarma;sa=applaud;uid=212;topic=10548.0;m=53984;sesc
8: Undefined index: karmanotifier
File: /home/myhost/public_html/Sources/Karma.php
Line: 433
What version man?! I'm not a telepat
Quote from: ivo2296 on September 24, 2006, 11:58:10 PM
On smf 1.1 RC3 new installtion of the mod i got this error in the log:
http://www.myhost.com/index.php?action=modifykarma;sa=applaud;uid=212;topic=10548.0;m=53984;sesc
8: Undefined index: karmanotifier
File: /home/myhost/public_html/Sources/Karma.php
Line: 433
I got this same problem and i'm using version 2.0...
Quote from: Grek_Kamchatka on September 25, 2006, 02:32:34 AM
What version man?! I'm not a telepat
Just downloaded the latest 2.0
2.0 rc2?
Quote from: ivo2296 on September 24, 2006, 11:58:10 PM
On smf 1.1 RC3 new installtion of the mod i got this error in the log:
http://www.myhost.com/index.php?action=modifykarma;sa=applaud;uid=212;topic=10548.0;m=53984;sesc
8: Undefined index: karmanotifier
File: /home/myhost/public_html/Sources/Karma.php
Line: 433
Quote from: Grek_Kamchatka on September 25, 2006, 02:32:34 AM
What version man?! I'm not a telepat
Quote from: ivo2296 on September 25, 2006, 10:56:21 AM
Quote from: Grek_Kamchatka on September 25, 2006, 02:32:34 AM
What version man?! I'm not a telepat
Just downloaded the latest 2.0
Quote from: Grek_Kamchatka on September 25, 2006, 06:57:01 PM
2.0 rc2?
smf 1.1 RC3 :)
Thanks
Quote from: Grek_Kamchatka on September 25, 2006, 11:22:15 PM
Version of the mod. 2.0 rc2 ?
That is the latest version, so yeah that's the one i got...
Just installed this successfully (most recent version of SMF and this mod) but get the error:
Unknown column 'lk.Description' in 'field list'
File: /home/content/m/a/s/massyboy/html/clan/smf/Sources/Viewkarma.php
Line: 289
when trying to look at the "Whose karma have I changed" link and the following error:
Unknown column 'lk.Description' in 'field list'
File: /home/content/m/a/s/massyboy/html/clan/smf/Sources/Viewkarma.php
Line: 182
when trying to look at the "Who changed my karma" link
Please help cos I have some person smiting people and wanna weed them out
1. You use older version of viewkarma.php (from older version of the mod)
2. You havent Description field in your database
3. You use other version of the forum and mod then SMF RC3 and KDM 2.0 rc2
It is already fixed in new version.
I'm using SMF 1.1 RC3 and Karma_Description_Mod_ver.2.0_rc2
I thought these were the latest descriptions
Quote from: Massyboy on September 27, 2006, 05:56:28 PM
Just installed this successfully (most recent version of SMF and this mod) but get the error:
Unknown column 'lk.Description' in 'field list'
File: /home/content/m/a/s/massyboy/html/clan/smf/Sources/Viewkarma.php
Line: 289
when trying to look at the "Whose karma have I changed" link and the following error:
Unknown column 'lk.Description' in 'field list'
File: /home/content/m/a/s/massyboy/html/clan/smf/Sources/Viewkarma.php
Line: 182
when trying to look at the "Who changed my karma" link
Please help cos I have some person smiting people and wanna weed them out
I think you use older version of viewkarma.php file. Please post it here or send me email with it. And look at your database. Have you 'Description' field in _log_karma table.
Karma Description Mod 2.0 Release now available
*Fixed error with Undefined index: karmanotifier
*Upgraded karmalog outputing visual style.
I advise you upload new karma.php file and remove older Viewkarma.php and Viewkarma.template.php files
I might be missing it, but is their a way to set all of my members karma notification to PM. Right now it seems it they want to recieve it they need to set it themselves in their preferences and I want to set it for them by default.
Quote from: n1kki6 on October 01, 2006, 02:05:38 PM
Right now it seems it they want to recieve it they need to set it themselves in their preferences
Yep, you are right. By default it is disabled. You can open your database (ie by phpMyAdmin) and set 'karmanotifier' variable by default = 2 in _members table.
Quote from: Grek_Kamchatka on September 30, 2006, 10:43:05 PM
I think you use older version of viewkarma.php file. Please post it here or send me email with it. And look at your database. Have you 'Description' field in _log_karma table.
My database looks like:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bsfclan.com%2Fimages%2Fsql.JPG&hash=3541af547897b2bd8124a8415741397516be2e43)
Do I need to add something and if so, what/where?
Thanks a lot
How do i get it to work on other skins ? :(
Quote from: Massyboy on October 01, 2006, 11:05:31 PM
Do I need to add something and if so, what/where?
Thanks a lot
I'm asking for you, have you 'Description' field in your database, but you didn't answer. You haven't this field, so KDM installation was failure. Upload new release and install it again. Advice to upload vanilla source files.
Quote from: HHwarriors on October 01, 2006, 11:35:10 PM
How do i get it to work on other skins ? :(
http://www.simplemachines.org/community/index.php?topic=38184.0
Quote from: Grek_Kamchatka on October 02, 2006, 12:02:42 AM
I'm asking for you, have you 'Description' field in your database, but you didn't answer. You haven't this field, so KDM installation was failure. Upload new release and install it again. Advice to upload vanilla source files.
Sorry, the picture was meant to show you what fields I had. It doesn't have it there and I have again tried to install the new versio but am having the same problem. Can I add the field manually?
Quote from: Massyboy on October 02, 2006, 10:14:13 AM
Quote from: Grek_Kamchatka on October 02, 2006, 12:02:42 AM
I'm asking for you, have you 'Description' field in your database, but you didn't answer. You haven't this field, so KDM installation was failure. Upload new release and install it again. Advice to upload vanilla source files.
Sorry, the picture was meant to show you what fields I had. It doesn't have it there and I have again tried to install the new versio but am having the same problem. Can I add the field manually?
I've the same problem where
'lk.description' column is not found in 'field list' error whenever Viewkarma.php is loaded. And
'Description' column is not found in 'field list' error whenever Karma.php is loaded.
Might be database problem? As I'm sure I got the columns in my MySql by default.
Quote from: Grek_Kamchatka on October 02, 2006, 12:29:48 AM
Quote from: HHwarriors on October 01, 2006, 11:35:10 PM
How do i get it to work on other skins ? :(
http://www.simplemachines.org/community/index.php?topic=38184.0
I tryd but i dident get it. can anyone install it on this skin for me. ? neon http://www.simplemachines.org/community/index.php?topic=99742.0
^^THANX in advance^^ PLZ
Quote from: Massyboy on October 02, 2006, 10:14:13 AM
Sorry, the picture was meant to show you what fields I had. It doesn't have it there and I have again tried to install the new versio but am having the same problem. Can I add the field manually?
Open your database in phpMyAdmin and enjoy this query
ALTER TABLE `your_prefix_log_karma`
ADD `Description` TINYTEXT NOT NULL,
ADD `link` TEXT NOT NULL
Where 'your_prefix_' is your smf base prefix.
Then this one
ALTER TABLE `your_prefix_log_karma`
DROP PRIMARY KEY
That's all
Great thanks. all is working now-brilliant
However when I try to applaud/smite people I now get:
Parse error: parse error, unexpected $ in /home/content/m/a/s/massyboy/html/clan/smf/Sources/Karma.php on line 1893
*Update*
Ok, I've copied over the karma.php file from a new download of smf and replaced the old one (72kb in size) with the new one (only 8kb in size). Just curious as to why the file sizes are so different. Hopefully I won't run into any problems
Oh man, you use older version of Karma Description Mod.
Quote from: Massyboy on October 01, 2006, 11:05:31 PM
Quote from: Grek_Kamchatka on September 30, 2006, 10:43:05 PM
I think you use older version of viewkarma.php file. Please post it here or send me email with it. And look at your database. Have you 'Description' field in _log_karma table.
My database looks like:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bsfclan.com%2Fimages%2Fsql.JPG&hash=3541af547897b2bd8124a8415741397516be2e43)
Do I need to add something and if so, what/where?
Thanks a lot
In Your Image... Why Does it say
"Your SQL query has been executed successfully
ALTER TABLE `smf_log_karma` DROP `Description`"
To me it looks like you deleted the Description field.. Why?
Quote from: SleePy on October 02, 2006, 09:49:02 PM
To me it looks like you deleted the Description field.. Why?
SleePy, Wow, what a beautiful attention.
Massyboy, can you answer?
Quote from: Grek_Kamchatka on October 01, 2006, 05:56:58 PM
Quote from: n1kki6 on October 01, 2006, 02:05:38 PM
Right now it seems it they want to recieve it they need to set it themselves in their preferences
Yep, you are right. By default it is disabled. You can open your database (ie by phpMyAdmin) and set 'karmanotifier' variable by default = 2 in _members table.
That worked, but make it a pop up, should it be a number 3 for a Personal message?
Quote from: n1kki6 on October 02, 2006, 11:39:52 PM
That worked, but make it a pop up, should it be a number 3 for a Personal message?
Nope, try = 1
Actually neither worked. I had mine already site for my profile but logging in as a normal user it didnt do a pop up or pm. oh well know big deal.
Whoops, it's not a _members table. It is a _setting table, i forget it. So it is a dynamical table, and it can't consist default value. You only can edit Profile.template.php lines with Karma Description Mod to set default value = 2
I attempted to add the Description field manually but didn't know what to set it as (ie text, tinytext etc) soI deleted it again as it didn't work. the field just wasn't created for some reason. And I have only been using the latest versions of karma description mod so it most certaintly wasn't an old version. Only been using the version 2 builds. all seems to be working now though
I dont have the notifications turned on, so it seems that the karmanotifier variable is unset, thus filling my error logs with:
8: Undefined index: karmanotifier
File: /var/www/vhosts/mydomain.com/httpdocs/Sources/Karma.php
Line: 175
the error gets logged whenever someone modifies karma. i dont think this should be done by default if the karma notifications are turned off, so did you miss a global variable assignment somewhere in the code?
other than that, the rest works like a champ!
-mark
Quote from: markd on October 04, 2006, 09:08:22 PM
I dont have the notifications turned on, so it seems that the karmanotifier variable is unset, thus filling my error logs with:
8: Undefined index: karmanotifier
File: /var/www/vhosts/mydomain.com/httpdocs/Sources/Karma.php
Line: 175
the error gets logged whenever someone modifies karma. i dont think this should be done by default if the karma notifications are turned off, so did you miss a global variable assignment somewhere in the code?
other than that, the rest works like a champ!
-mark
What version of Karma Description Mod?
I can't seem to execute this command
ALTER TABLE `smf_log_karma`
DROP PRIMARY KEY
When I try doing any in SMF it says that it failed, so I went manual and this one doesn't work.. I get this error:
#1091 - Can't DROP 'PRIMARY'; check that column/key exists
Quote from: rockinaway on October 07, 2006, 04:57:44 PM
I can't seem to execute this command
ALTER TABLE `smf_log_karma`
DROP PRIMARY KEY
When I try doing any in SMF it says that it failed, so I went manual and this one doesn't work.. I get this error:
#1091 - Can't DROP 'PRIMARY'; check that column/key exists
I think it's already dropped. #1091 - Can't DROP 'PRIMARY';
check that column/key exists
Well if it gave the error that DB hadn't been done when I was installing.... oh well!
Quote from: rockinaway on October 08, 2006, 05:24:05 AM
Well if it gave the error that DB hadn't been done when I was installing.... oh well!
You recieved this error, because your database already contain Description field and dropped primary key. Read this topic again.
Yes, but it didn't have the last one.
Can you look at this though, it is a bigger problem..
http://www.simplemachines.org/community/index.php?topic=118854.0
Quote from: rockinaway on October 09, 2006, 11:44:58 AM
Yes, but it didn't have the last one.
Can you look at this though, it is a bigger problem..
http://www.simplemachines.org/community/index.php?topic=118854.0
What do you want? I don't understand you. You tried to install or uninstall my mod?
I installed it the first time, but when I clicked karma it went to a karma error with $end, and then I decided to check code, still same problem. So I removed the code manually, then basic karma worked. So to get the mod working again I added the code manually and I get the new error which is on the page with the two bits of code.
Anyone with smf 1.1 rc3
With the 2.0 version of this mod...
Having apache problems? I mean i havent tested this enough... but it seems my apache keeps restarting...
[Thu May 12 15:22:38 2006] [notice] Parent: child process exited with
status 128 -- Restarting.
[Thu May 12 15:22:38 2006] [notice] Apache/2.2.20 configured -- resuming
normal operations
This happens all the time when the mod is installed but when i uninstall mod i do not recieve the error, and my site runs fine...
I noticed this cos i have alota file downloads, and everyones fikles keep getting reset.
Anyone have similar issue..
ill let you know if i find out more.
Quote from: M3THOD on October 11, 2006, 09:35:07 PM
Anyone with smf 1.1 rc3
With the 2.0 version of this mod...
Having apache problems? I mean i havent tested this enough... but it seems my apache keeps restarting...
[Thu May 12 15:22:38 2006] [notice] Parent: child process exited with
status 128 -- Restarting.
[Thu May 12 15:22:38 2006] [notice] Apache/2.2.20 configured -- resuming
normal operations
This happens all the time when the mod is installed but when i uninstall mod i do not recieve the error, and my site runs fine...
I noticed this cos i have alota file downloads, and everyones fikles keep getting reset.
Anyone have similar issue..
ill let you know if i find out more.
No, your web server can't restart from this mod.
Quote from: Grek_Kamchatka on October 03, 2006, 01:02:51 AM
Whoops, it's not a _members table. It is a _setting table, i forget it. So it is a dynamical table, and it can't consist default value. You only can edit Profile.template.php lines with Karma Description Mod to set default value = 2
Im a little confused now, so I should change it in profile.template and change something in the DB? or this can't be done.
hey I got no help ??? ???
Quote from: rockinaway on October 12, 2006, 11:38:46 AM
hey I got no help ??? ???
Can you upload fresh files to your forum? Do it.
I just upgraded to the last update of this mod, but when someone wants to give someone karma, the following error message appears:
QuoteParse error: syntax error, unexpected $end in /hsphere/local/home/reynard/alterego.vault.ign.com/board/Sources/Karma.php on line 577
I checked the karma.php file and the only thing which is on line 577 is: ?>
any suggestions?
After uninstalling the mod, i advice you upload new Karma.php couse package manager can't clean normaly this file
I wrote this 1000 times, i can't repeat it on each page. It's a last time i write this.
Woot it works! You legend!
I am getting this error when ever a member changes another members karma.
8: Undefined index: current_topic
File: /home/eaglebay/public_html/newforum/Themes/default/PersonalMessage.template.php (eval?)
Line: 303
8: Undefined index: current_topic
File: /home/eaglebay/public_html/newforum/Themes/default/PersonalMessage.template.php (eval?)
Line: 302
This is the code in the PersonalMessage.php lines 303 and 302
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaApplaudImage'], '" alt="', $modSettings['karmaApplaudLabel'], '" title="', $modSettings['karmaApplaudLabel'], '" border="0" /></a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaSmiteImage'], '" alt="', $modSettings['karmaSmiteLabel'], '" title="', $modSettings['karmaSmiteLabel'], '" border="0" /></a><br />
Any comments
8)
Do you have another installed mod? Like karma buttons?
New version of Karma Description Mod now available.
*Fixed small defect with error log. Thanks to SleePy
*Added another one function. Now you can restrict to change karma to defined users. For example, you can restrict to change your karma and your users will be noticed about it.
After uninstalling the mod, i advice you upload new Karma.php couse package manager can't clean normaly this file
Woot! New version!
is there some way to lesen the karma wait time to 5 mins?
Maybe put decimal?
i've tried putting a decimal....dosent seem to work
In regards to the small defect with error log. Can you tell me what I need to look for and replace so I can do it manually.
I don't want to risk messing up the db. Plus when I try to un-install I get a failure for karma.php, boardindex.template.php, and index.english.php
Thanks!
That change was mainly to the viewkarma.template.php
It had to do with collecting what action you were on so when you sorted different it would stay on that action..
Uploading viewkarma.template.php should fix it.. Unless Greks new action added to it..
I have upgraded before and never had a problem of this.. The Uninstall shouldn't touch the database and since when you install it should have a check to see if it exists.. and if it does it wont do anything. So you should be safe..
Though if you want to be safe you can go to phpmyadmin and backup smf_log_karma to save it just incase..
Quote from: SleePy on October 28, 2006, 09:53:50 PM
That change was mainly to the viewkarma.template.php
It had to do with collecting what action you were on so when you sorted different it would stay on that action..
Uploading viewkarma.template.php should fix it.. Unless Greks new action added to it..
I have upgraded before and never had a problem of this.. The Uninstall shouldn't touch the database and since when you install it should have a check to see if it exists.. and if it does it wont do anything. So you should be safe..
Though if you want to be safe you can go to phpmyadmin and backup smf_log_karma to save it just incase..
ok. I'll wait to see Greks response if he made any changes to the viewkarma.template.php. If he didn't then I'll backup and upload the new one.
Just hate to touch the other files if I don't have to. Thank you!
New version of Karma Description Mod now available.
*I changed restrict karma function from User name to user ID, because of users can changed their realname so engine can't restrict karma action
*Added another one restrict karma function.
RoarinRow, you can upload viewkarma.template.php from new version of KDM 2.2. It's only bug fixes and nothing new in this file.
Quote from: Grek_Kamchatka on October 29, 2006, 12:40:47 AM
New version of Karma Description Mod now available.
*I changed restrict karma function from User name to user ID, because of users can changed their realname so engine can't restrict karma action
*Added another one restrict karma function.
RoarinRow, you can upload viewkarma.template.php from new version of KDM 2.2. It's only bug fixes and nothing new in this file.
Cool, great Grek 8) Thanks!
aahh the new version givin me too many errors
but ill update manually later
thanks
Quote from: akulion on October 29, 2006, 08:13:04 PM
aahh the new version givin me too many errors
but ill update manually later
thanks
In package manager?
yup nothing to worry about though...just the usual glitches between code edits by older versions vs other mods vs default code - if u get what i mean :)
install failure...will dig into the xml file when i have time
OK.
This is the only good karma mod there is out there. Works perfectly and has lots of options.
It would be great if you could have some reprocusions because of your karma. Such as people with certain karma points can enter a certain forum which the rest cannot; being able to have increased PM space; being able to change their forum title; etc. ALso for people with below 0 karma not to be able to give out karma; not to be able to post that much; etc.
With inclusions such as this or mabye even the shopping mod with karma points, then there would be nothing else to include.
Great mod. I could nt install before because install test failed on few script. The newest version went well.
There is option that I would like added: possibility for admins to cancel Karma point, when they realize that point is given without justified reason or with inproper description (bad language for instance).
Also it would be good to have an options to forbid setting karma for Admins, forum modes or board mods (in boards where they are mods).
Option to forbid user to set karma if he does not have some minimum karma. now we can limit setting carmba based on number of posts but it is not good criteria. It is better to allow user to set karma if he has some positive karma points (meaning that others treat him as positive member).
Hello,
I uninstalled the 2 mods I have in order to apply the update to 1.09 and then reinstalled the karma description mod. But now when you try to change someone's karma, you get an error
Parse error: syntax error, unexpected '}' in /home/***/public_html/Sources/Karma.php on line 1302
When I uninstalled the mod to perform the update, I got a Failure notification on executing mod on ./Sources/Karma.php. When I try to reapply the mod I get the same error.
****Okay...I saw this in the previous posts: After uninstalling the mod, i advice you upload new Karma.php couse package manager can't clean normaly this file
From where do I upload the new Karma.php? I'm sure this sounds stupid. I just don't know exactly what to do to fix this file. Can someone help dummy me fix this?
Thank you in advance.
Alright...this dummy fixed it.
Deleted Karma.php and uploaded new copy, etc.
:)
This mod is not working for us. We get the same error mentioned above. We uploaded a new copy of the karma.php file. We get a karma log, but the description part never shows up, and the logs resets itself frequently. Help would be appreciated!
Since this is SSI, is there any hopes of getting an output as a joomla module?
Below is the link to the description of the my problem. I beleive its this mod that is causing it and its flooding my error log with 50 to 100 pages of errors PER PERSON whenever they do whatever to set it off.
http://www.simplemachines.org/community/index.php?topic=125498.0
remove >>> and <<< from your line.
Well duh. I added those so you would know what line its on. Those arent in the actual code. Give me a bit more credit and I did say that in my post that those werent in the code that I had just added them so you all would know what line was in question.
Hello
I've installed the KDM... but I ran into problems
* the uninstall feature doesn't work properly saying that karma.php can't be deleted (not important but should be easy to correct)
* When s/o change karma with user notification set, It run into troubles saying "Hacking attempt..." on file : karma.php , line = 511. If I (or s/o else) change the karma of s/o that didn't set "PM notification" it works all right.
* looking around line 511, I've seen one problem :
$modSettings['karma_pm_send_changelink'] ? $karma_pm_body = $karma_pm_body_with : $karma_pm_body_without;
if (!$modSettings['karma_pm_send_changelink']) $karma_pm_body = $karma_pm_body_without;
those 2 lines could be corrected be a single
$karma_pm_body = $modSettings['karma_pm_send_changelink'] ?$karma_pm_body_with : $karma_pm_body_without;
but I didn't manage to correct the "hacking attempt" :(
the last thing
* I'm really not sure the code is secure. I think it is a great risk of SQL injection...
You should use db_insert_id instead of db_query("INSERT INTO...
It is in subs.php script and it prevents those many nasty things.
Some improvement (for later) :
* ability to let anonymous karma changes (if admin accept)
I think I will remove that mod as it is too risky now ::)
but next version should be nice ;) there is a great job done.
Grek. I am still having a big problem. Your last response for the fix what not even the problem. Here is the current situation and I need a fix as soon as you can get one. It seems to be a major problem.
http://www.simplemachines.org/community/index.php?topic=125498.msg830751#msg830751
Thanks.
Add "is_read" field in your database at smf_log_karma table with default value = 0.
type int?
Here is a query
ALTER TABLE `{$db_prefix}log_karma`
ADD `is_read` INT NOT NULL
Don't set default value
Any news for supporting SMF V 1.1? (final)
I want to use this cool mod on SMF 1.1 also :)
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?
:-\
Has anyone got this working on Orange Light 4a yet?
Anyone try on 1.1 Final yet? :)
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
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
2.2 V
SMF 1.1 Final
I am getting
Execute Modification - Modification parse error
and no error in "Forum Error Log"
Any ideas ???
What can I change in the script or database to change all members to PM karma notify?
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!
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.
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...
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,
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!
I figured it out.
You have to have "Enable SP1 style statistics..." checked under Theme settings.
Thanks!
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!
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
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
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.
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 ^^
Great mod, thanks!
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 "?>"
I told it many times.
Sorry guy :-[ but as you see, your mod is one of the tops and your thread here at smf-forum is getting larger and larger, so trying (or searching with smf search function) is a time-killer action. I found the solution myself and wanted to share with others.
You said that you told it many times, but why not changing the package content ???
PS:I can delete my post if you want or you can delete it; no problem for me
Quote from: pheadrus on January 15, 2007, 06:36:18 AM
Sorry guy :-[ but as you see, your mod is one of the tops and your thread here at smf-forum is getting larger and larger, so trying (or searching with smf search function) is a time-killer action. I found the solution myself and wanted to share with others.
You said that you told it many times, but why not changing the package content ???
PS:I can delete my post if you want or you can delete it; no problem for me
Hi, pheadrus. I didn't wish you to offend. Very well that you have repeated this information, but iI can't change a content the mod, because a problem in a modinstaller (forum engine).
Understood :-[
Thanx again for this great tool :) My forum's users love it ;D
Thx for the Mod. After applying the database-patch it seems to work quite well, except that an update clears the karma-log.
As I had to translate it anyway, I packaged the translation into a mod. Maybe, someone finds it usefull.
Cheers, ThK
Quote from: eNoyx on January 02, 2007, 01:23:05 PM
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
Hi there, I am getting the same error except it points to line 91
LIMIT $context[start], $modSettings[karmamaxmembers]", __FILE__, __LINE__);
I heard there was a database-patch? Does anyone know if it would fix this problem?
Thanks in advance! Wonderful mod by the way!
EDIT: Ah, nevermind! I solved the problem. Apparently the mod does not automatically make the "Description" and "link" fields in SMF_log_Karma so I had to do that manually. Both should be "text" type and no default should be set.
The mod works well, but i have some questions. When i looked into the Karma_Description_Mod.xml I found this code
<search position="after"><![CDATA[</table>
</td>
</tr>';
// Show the standard "Save Settings" profile button.
]]></search>
<add><![CDATA[
';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>';
echo '
]]></add>
But when i checked my $themedir/Profile.template.php" for inserted code i didn't found it ...even like other themes for
<search position="after"><![CDATA[</table>
</td>
</tr>';
// Show the standard "Save Settings" profile button.
]]></search>
Tell me please What does this code make? and why i coudn't find it in $themedir/Profile.template.php"
<search position="after"><![CDATA[</table>
</td>
</tr>';
// Show the standard "Save Settings" profile button.
]]></search>
But I have
<td><input type="text" name="secretAnswer" size="20" /><span class="smalltext" style="margin-left: 4ex;"><a href="', $scripturl, '?action=helpadmin;help=secret_why_blank" onclick="return reqWin(this.href);">', $txt['secret_why_blank'], '</a></span></td>
</tr>';
}
// Show the standard "Save Settings" profile button.
and i don't know where i should insert adding code.
Hi everybody ^^ I've made a little improvement for this marvelous mod, but I'm getting a couple of errors in my Error Log for each user that appears in the topic.
I wanted the "Karma: xx" text (in the zone of the avatar and that stuff) to be linked to the user's Karma Log "Who changed my Karma". So, I basically copied the code in Profile.template.php to Display.template.php and made some changes; although I don't know PHP/MySQL at all, I got this to work o.o But the problem is that, as I said before, a couple of errors get registered for each user that replies in a topic. For example, in a topic with 3 replies, 3 pairs of the errors get registered. These errors are:
8: Undefined index: show_karmastat
File: [ ... ]/Themes/default/Display.template.php (main sub template - eval?)
Line: 319
8: Undefined index: owner
File: [ ... ]/Themes/default/Display.template.php (main sub template - eval?)
Line: 317
The code I've made is:
// Is karma display enabled? Total or +/-? linked to user's log
if ($modSettings['karmaMode'] == '1')
{
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo ' ';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<a href="'. $scripturl . '?action=ownkarma;u=' . $message['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], '</b></a> ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br /> ';
elseif (empty($modSettings['karmaisowner'])) echo'
<a href="'. $scripturl . '?action=ownkarma;u=' . $message['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], '</b></a> ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br /> ';
elseif ($context['user']['is_admin']) echo '
<a href="'. $scripturl . '?action=ownkarma;u=' . $message['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], '</b></a> ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br /> ';
else { echo ' ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
}
}
}
elseif ($modSettings['karmaMode'] == '2')
{
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo ' ';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], ' </b></a>: +', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '<br /> ';
elseif (empty($modSettings['karmaisowner'])) echo'
<a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], ' </b></a>: +', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '<br /> ';
elseif ($context['user']['is_admin']) echo '
<a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '" title="Mi Log de Karma"><b>', $modSettings['karmaLabel'], ' </b></a>: +', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '<br /> ';
else { echo ' ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';
}
}
}
By the way, theorically, it only has to link the user's karma log. I mean, a user only sees linkedto his karma in his posts, not other ones'.
I suppose I have to add a few lines to "define the index?"
Is there a way to not have banned users show up in the log? I am referring to the top 5 lists at the bottom of the karma log. Thanks!
Package Installer Problem: parse error
So I manually installed it, which took about an hour.
Everything worked fine (after I added the } to one of the files) until I tried it out. When adding a description to an applause, I clicked the "continue" button, it logged the applause, then didn't redirect anywhere. It just stayed at the "Enter description" screen. If you enter another description and click continue again, it scolds you, so that works fine.
I tore apart the code, tried forcing it to redirect back out.. even to the forum index, nothing happened. I even put a die() command in there, and it still didn't work.
I've had it, I give up on this damned mod. What a great mod it would've been, too... I'll just wait for a stable release to come out, I guess. What a friggin shame. That's a few hours of my life gone I'll never be able to get back.
Hi there, I seem to have encountered another error.
QuoteDatabase Error
Duplicate entry '57-1' for key 1
File: /homepages/31/d94457059/htdocs/TG/forum/Sources/Karma.php
Line: 429
I know that this was brought up before but no one seems to have found a solution yet. Any ideas? I would greatly appreciate it!
Also the Java Pop-up notification seems to be giving my users "internal server errors" when they choose it from the drop down menu and the error continues to stay as long as they are logged in. I had to comment it out to get things back to normal. Is anyone else getting this problem?
Thanks in advance!
getting this when i click on
who changed my karma or whose karma have i changed.
An Error Has Occurred!
Unable to load the 'main' template.
Also get this error when i try to leave karma?
Parse error: parse error, unexpected '}' in /home/content/j/d/v/jdvarner/html/Sources/Karma.php on line 797
what can i do to fix?
What about this error ?
Unknown column 'link' in 'field list'
File: /home/diego/public_html/Sources/Karma.php
Line: 391
Any suggestions ?
Best Regards ! ;)
Quote from: diegolyanky on February 01, 2007, 09:32:52 PM
What about this error ?
Unknown column 'link' in 'field list'
File: /home/diego/public_html/Sources/Karma.php
Line: 391
Any suggestions ?
Best Regards ! ;)
check the query, what are lines 391+/-
What query ?
Line 389 -- (action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
Line 390 -- VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
Line 391 -- ", __FILE__, __LINE__);
I installed trought the MODS manager, and ... :'(
I love this MOD !! ... I upgraded to 1.1.1 just for use it !! ...
Please Grek ! .. .HELP ME !!!! :'(
diegolyanky, i think you haven't а "link" field in your database.
Hi Grek ! ... Long time without talking ...
What about Spanish Learning ? ;)
So ?
What can I do ?
Regards !!
I installed that karma but I have these error(could u help me ,please):
Parse error: syntax error, unexpected '}' in /home/kahkaha/public_html/forum/Sources/Karma.php on line 797(it is error when click on the karma button)
$txt['maintain_karmalog'] = 'Delete the recording list for explain of karma' ;(it is error on the top of the website when language of website is Turkish )
Unknown column 'Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Karma.php
line: 391 (after you write reason of karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 202(it is error when I want to see who changed my karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 309(it is error when I want to see users list which I changed their karma)
SMF: 1.1.1 MOD:2.2
do you have this version of mod to 1.1.1 which doesn't have any problem ?
the members of my forum really like this mod.
is there a way to change the number of characters entered in the "Reason for changing the karma of this user" field? currently, it appears that only 62 characters can be entered.
Quote from: jagatai on February 02, 2007, 06:42:08 AM
I installed that karma but I have these error(could u help me ,please):
Parse error: syntax error, unexpected '}' in /home/kahkaha/public_html/forum/Sources/Karma.php on line 797(it is error when click on the karma button)
$txt['maintain_karmalog'] = 'Delete the recording list for explain of karma' ;(it is error on the top of the website when language of website is Turkish )
Unknown column 'Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Karma.php
line: 391 (after you write reason of karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 202(it is error when I want to see who changed my karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 309(it is error when I want to see users list which I changed their karma)
SMF: 1.1.1 MOD:2.2
do you have this version of mod to 1.1.1 which doesn't have any problem ?
please help me?
Hi I installed this mod and it works great except now the feature that only allowed 1 karma point per 24 hours does not work. Members can give unlimited Karma out. How can I adjust this?
I tried to install this mod.. It looked like a succes, but then my forum didn't work anymore.
It gives now the following error!!!!!!
Fatal error: Call to undefined function: db_query() in /local/web/websites/6993155865/www/web/forum/Sources/Load.php on line 155
Could someone help please!
Quote from: Loverboy on February 04, 2007, 01:18:21 PM
I tried to install this mod.. It looked like a succes, but then my forum didn't work anymore.
It gives now the following error!!!!!!
Fatal error: Call to undefined function: db_query() in /local/web/websites/6993155865/www/web/forum/Sources/Load.php on line 155
Could someone help please!
What version you running?
1.1.1 ..
the mod has deleted the Subs.php file for some reason :S
In Forum error log, I accept these errors
Quoteh#tp://www.pare-dose.net/forum/index.php?action=pm
8: Undefined index: current_topic
File: /home/paredose/public_html/forum/Themes/default/PersonalMessage.template.php (eval?)
Line: 302
Quoteh#tp://www.pare-dose.net/forum/index.php?action=pm
8: Undefined index: current_topic
File: /home/paredose/public_html/forum/Themes/default/PersonalMessage.template.php (eval?)
Line: 303
These are the lines
Quote// Is this user allowed to modify this member's karma?
if ($message['member']['karma']['allow'])
echo '
<div align="', $karmaButtonAlign, '">
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaApplaudImage'], '" alt="', $modSettings['karmaApplaudLabel'], '" title="', $modSettings['karmaApplaudLabel'], '" border="0" /></a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaSmiteImage'], '" alt="', $modSettings['karmaSmiteLabel'], '" title="', $modSettings['karmaSmiteLabel'], '" border="0" /></a><br />
</div>';
I have noticed, that when the Karma is changing in personal messages area, then in the notify pm, the link which quides to place, that the Karma was changed, is like this:
Quoteh#tp://www.pare-dose.net/forum/index.php?topic=0.msg16#msg16
This link doesn't show the personal message where the Karma was changed, but the main index (index.php).
I think the error is located in bolded section.
Can anyone help?
P.S. SMF 1.1.1 - KDS 2.2 - and Karma Buttons
Hi, great mod however I did run across a problem when trying to block a member from recieving karma.
In the changes to karma.php this needs to be added twice not once.
//This users karma can't be changed
if (empty($modSettings['karmacantmodify'])) $modSettings['karmacantmodify']='';
$array_value = explode (',', $modSettings['karmacantmodify']);
if (in_array(($_REQUEST['uid']), $array_value))
fatal_lang_error('karma_cant_modify', false);
//This users can't changed karma to other users
if (empty($modSettings['karmacantmodify2'])) $modSettings['karmacantmodify2']='';
$array_value2 = explode (',', $modSettings['karmacantmodify2']);
if (in_array($ID_MEMBER, $array_value2))
fatal_lang_error('karma_cant_modify2', false);
The location is the same for both, just above:
// Start off with no change in karma.
Thanks :)
Greetings
After I enable Karma, is there a way I can make who applauded and who spited (for every message) visible for everyone?
Quote from: jagatai on February 02, 2007, 05:36:39 PM
Quote from: jagatai on February 02, 2007, 06:42:08 AM
I installed that karma but I have these error(could u help me ,please):
Parse error: syntax error, unexpected '}' in /home/kahkaha/public_html/forum/Sources/Karma.php on line 797(it is error when click on the karma button)
$txt['maintain_karmalog'] = 'Delete the recording list for explain of karma' ;(it is error on the top of the website when language of website is Turkish )
Unknown column 'Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Karma.php
line: 391 (after you write reason of karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 202(it is error when I want to see who changed my karma)
Unknown column 'lk.Description' in 'field list'
File: /home/kahkaha/public_html/forum/Sources/Viewkarma.php
line: 309(it is error when I want to see users list which I changed their karma)
SMF: 1.1.1 MOD:2.2
do you have this version of mod to 1.1.1 which doesn't have any problem ?
please help me?
ı'm waiting answer
Hi there guys! First of all, i think this is a great mod!
Im Having a problem though, basiccally when a user activates de Karma Notification by PM!
If i modify someones Karma when they choose to be notified with a PM, i get an error that says something:"Error contact your administrator".
In other words, since i cant write/speak english that well:
- User B has 1 Pm in his folder and has +3 Karmas
- User A gives a +1 Karma to User B in a Topic
- User A Gets an "Error, contact admin"
- User B Still gets the +1 User A send him, so he has +4 Karmas
- User B does not recieve any notification
- User B gets a PM, but it does not count! He has 1 PM in his folder, allthough he really has 2
I hope you can understand my problem :)
1.1.2?
how to speed up this mod,because the tmp table is a slow query on my forum, any suggestions?
Quote from: jagatai on February 14, 2007, 11:02:51 AM1.1.2?
I want to know too. :) Is it 1.1.2 compatible?
Hello I have an error with this mod. Its not fixable by the maker of another mod that makes the error stand out. Whats wrong?
Error:
Database Error: Unknown column 'PM' in 'where clause'
File: /home/12985/public_html/forums/Sources/Subs-Seo4SMF.php
Line: 480
and that area is
if (isset($modSettings['seo4smf_split_char']))
$split_char=$modSettings['seo4smf_split_char'];
else
$split_char="_";
$request = db_query("SELECT m.subject,b.name
FROM {$db_prefix}messages as m left join {$db_prefix}boards as b on m.ID_BOARD=b.ID_BOARD where m.ID_TOPIC=".$topic_id." LIMIT 1", __FILE__, __LINE__);
list($subject,$board)=mysql_fetch_row($request);
mysql_free_result($request);
line 480 is
FROM {$db_prefix}messages as m left join {$db_prefix}boards as b on m.ID_BOARD=b.ID_BOARD where
should PM be there somewhere?
SEO SMF
I have installed SMF 1.1.2 and Karma Description Mod 2.2
Everything works good in Karma Description mod but;
User ID\'s, whose karma can\'t be changed.
User ID\'s, who can\'t modify karma.
For example in second field I am entering just one user's ID (ie. 1429)
But 1429 still modifies karma
What I want to say; These two fields doesnt work in my SMF
Any idea?
I solved my problem
//This users karma can't be changed
if (empty($modSettings['karmacantmodify'])) $modSettings['karmacantmodify']='';
$array_value = explode (',', $modSettings['karmacantmodify']);
if (in_array(($_REQUEST['uid']), $array_value))
fatal_lang_error('karma_cant_modify', false);
//This users can't changed karma to other users
if (empty($modSettings['karmacantmodify2'])) $modSettings['karmacantmodify2']='';
$array_value2 = explode (',', $modSettings['karmacantmodify2']);
if (in_array($ID_MEMBER, $array_value2))
fatal_lang_error('karma_cant_modify2', false);
The location is the same for both, just above:
// Start off with no change in karma.
I repeated this one
//This users karma can't be changed
if (empty($modSettings['karmacantmodify'])) $modSettings['karmacantmodify']='';
$array_value = explode (',', $modSettings['karmacantmodify']);
if (in_array(($_REQUEST['uid']), $array_value))
fatal_lang_error('karma_cant_modify', false);
//This users can't changed karma to other users
if (empty($modSettings['karmacantmodify2'])) $modSettings['karmacantmodify2']='';
$array_value2 = explode (',', $modSettings['karmacantmodify2']);
if (in_array($ID_MEMBER, $array_value2))
fatal_lang_error('karma_cant_modify2', false);
As a SUPER ADMIN;
I can see Karma Descriptions of all user in thie profile
and Karma Statistics in main SMF page
But my MODERATOR cant see
How can I open their authority?
Any idea?
Just give them permission 4 it.
Quote from: Grek_Kamchatka on March 04, 2007, 05:26:33 PM
Just give them permission 4 it.
Dear Kamchatka
What does it mean? I dont understand
Can you explain in a little detail ?
Admin panel - permissions - choose moderator group and add "View KarmaDescription log" permission
After uploading and before install of Mod I get 2 test failed with the following error:
1. Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Themes/default/Admin.template.php Test failed
5. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
6. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
7. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
8. Execute Modification ./Themes/default/languages/Who.english.php Test successful
9. Execute Modification ./Themes/default/languages/index.english.php Test successful
10. Execute Modification ./index.php Test successful
11. Execute Code db_change.php
12. Extract File ./Sources/Viewkarma.php
13. Extract File ./Themes/default/Viewkarma.template.php
14. Extract File ./Themes/default/DescriptionKarma.template.php
Running version 1.1.2 Any ideas ???
Dear Kamchatka
Moderators already have "View KarmaDescription log" permission
But cant see Karma Statistics in main SMF page
Any idea?
2 cagatay
I don't understand what is the main SMF page. index.php? But karma log in other place... index.php?action=viewkarma and if you enabled "Other karma statistic" your users will see this feature.
4 verderacer
It seems to me, that your Admin.template and Boardindex.template files was already modified by other mod(s) so they are not compatible with my mod.
Quote from: Grek_Kamchatka on March 05, 2007, 04:53:37 PM
I don't understand what is the main SMF page.
I mean the FRONTPAGE of SMF
There is KARMA STATISTICs in the Forum Stats section near to [More Stats]
It's not a KARMA STATISTIC... it's a KARMA LOG. This is a link to this action (index.php?action=viewkarma) So, in admin panel (karma section) check this functions: "enable karma description mod", "allow users to see karma log (see perm.)" That's all.
i have this error when view the karma from a member or myself
Unknown column 'lk.link' in 'field list'
Datei: /var/www/html/web1361/html/riga/Sources/Viewkarma.php
Zeile: 91
Have you a "link" field in your database? (logKarma table)
That is correct. I have the following mods installed:
1. Advanced Visual Verification 1.1.2
2. Gender On Registration 1.0
3. All Topics Unsubscriber 1.1
4. VisualWarning 1.32
Is there one that I should uninstall that will make this one work ?
Quote from: Grek_Kamchatka on March 05, 2007, 04:53:37 PM
4 verderacer
It seems to me, that your Admin.template and Boardindex.template files was already modified by other mod(s) so they are not compatible with my mod.
VisualWarning mod.
i have the field now added ... :) ... perfectly
I have this error after uploading russian or english version (see attachment).
And I have installed next mods:
1. Reg Bar (ru-UTF8) 1.0
2. Merge Double Posts (ru-UTF8) 1.0.6
3. Registered Links (ru-UTF8) 1.0
4. Line Numbers Mod 1.01
5. Users Online Today Mod (ru-UTF8)
6. Wrap Text Around Image 1.0
7. YouTube BBC Tag (XHTML Compliant) (ru-UTF8) 1.0
8. LiveJournal Mod 1.0
9. MessagePreviewOnHover 1.4
10. PagesToGo 1.3
11. View Single PM (ru-UTF8) 1.1
12. Inline Attachments 1.0.4.2 (ru-UTF8)
I've tried to install other mods and... no errors. Can you help me?
And the same situation up to the 1.9.4 version of this mode. :-\
From 1.9.5 this error (see above).
When i try to install the mod, it appears this:
1. Execute Modification - Modification parse error
2. Execute Code db_change.php
3. Extract File ./Sources/Viewkarma.php
4. Extract File ./Themes/default/Viewkarma.template.php
5. Extract File ./Themes/default/DescriptionKarma.template.php
I havn't altered the XML file. This thing happens only for this mod. I have the latest version of SMF - 1.1.2
Mamaia Vice
It's because U use PHP5.2 and size of «Karma_Description_Mod.xml» lager then 28780 bytes. Sounds weird? I think so, but if you cut it to 28780 and no one byte more - all tests will be passed without errors (PHP bug?). But I don't know mod's crafting well and cannot split it into several files.
10x for the info. I'm gonna split it into smaller files. If you want the mod splitted, PM me and i'm gonna send you.
Bad news: i can't split the file...somebody help me...please?
Could you please clean up the code changes made to Profile.template.php, it's interfering with my mod. Instead of commenting out the code just remove it. Any mod that changes this part will not work because you've commented it out.
And please keep the stuff you don't need to change the same. Specifically, this part (note the tabs):
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
Thanks.
Quote from: look up on February 02, 2007, 10:20:21 AM
the members of my forum really like this mod.
is there a way to change the number of characters entered in the "Reason for changing the karma of this user" field? currently, it appears that only 62 characters can be entered.
Quote from: look up on February 02, 2007, 10:20:21 AM
the members of my forum really like this mod.
is there a way to change the number of characters entered in the "Reason for changing the karma of this user" field? currently, it appears that only 62 characters can be entered.
Quote from: look up on February 02, 2007, 10:20:21 AM
the members of my forum really like this mod.
is there a way to change the number of characters entered in the "Reason for changing the karma of this user" field? currently, it appears that only 62 characters can be entered.
anyone?
Quote from: Mamaia Vice on March 11, 2007, 12:30:10 PM
When i try to install the mod, it appears this:
1. Execute Modification - Modification parse error
2. Execute Code db_change.php
3. Extract File ./Sources/Viewkarma.php
4. Extract File ./Themes/default/Viewkarma.template.php
5. Extract File ./Themes/default/DescriptionKarma.template.php
I havn't altered the XML file. This thing happens only for this mod. I have the latest version of SMF - 1.1.2
I am having the same problem :(
And me and my users would love to have this mod installed, if it does what I think it does.
Same error here too :(
WHAT IS YOUR PHP VERSION???
5.2.1
dexx
It's because U use PHP5.2 and size of «Karma_Description_Mod.xml» lager then 28780 bytes. Sounds weird? I think so, but if you cut it to 28780 and no one byte more - all tests will be passed without errors (PHP bug?). But I don't know mod's crafting well and cannot split it into several files.
Would manually installing it bypass the problem?
Quote from: dexx on March 18, 2007, 08:04:49 PM
Would manually installing it bypass the problem?
Yep
Grek,
I've split the Karma_Description_Mod.xml file into two and amended the package-info.xml so that it installs both of the new files, repacked it and tried my amended version on a test forum running a completely fresh (and clean of any other mods) SMF v1.1.2 on php 5.2.1...all went well...no errors. If you want an account to try it and check that all is working as it should you'd be welcome to have one...PM me.
I'll add the hacked up mod to this posting so you can play with it yourself...what I did was a very simple fix but it appears to have got round the problem...unless I'm missing something obvious...not exactly a new thing for me.
BTW thanks for all your hard work on this mod...much appreciated!...and I hope that the file will be of use.
omg I love you, I was about to try and do it manually...then I saw how massive the file was
Quote from: dexx on March 18, 2007, 09:42:17 PM
omg I love you, I was about to try and do it manually...then I saw how massive the file was
Oh how I hope you're female after that comment ROFL!
Anyway it's worked for me but it could certainly do with some testing before we say we're home and dry.
Will try it right now...
It works! Good Job!
And its a platonic SMF-brotherly love! No worries! 8)
Have a virtual pint of beer with me then...
If we can have a few more happy testers and...as it should be...if Grek himself is happy with what I've done perhaps we might persuade Grek to post it as a new version with a note saying that it is fine with php 5.2.x Assuming nobody finds some flaw in it obviously...
Quote from: dexx on March 18, 2007, 09:53:20 PM
And its a platonic SMF-brotherly love! No worries! 8)
LOL =)
2 TrueSatan
Thx
My pleasure Grek...it's nice to be able to give something back once in a while.
Hrm maybe I'm just a newb but I enabled the mod (checkbox and all) but I dont the link to the log on my forum list or admin panel?
Uh oh!! Error!
Unknown column 'Description' in 'field list'
File: /home/mrdexx/public_html/networked/smf/Sources/Karma.php
Line: 134
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.2, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.
I got that when trying to change karma. How do I fix this?!
Open db_change.php and manualy do all changes in your database from this file
oh jeez this is gonna be scary, never tried to manually alter my DB before.
There's nothing I can do to the file itself and then just uninstall/reinstall the mod to make it work?
Or is there a way to get my database to upgrade to 1.1.2? It hasnt had a problem with any of the others mods :S
It looks as though you're trying to load a karma history when there is no history to load.
As regards your testing you're making one really bad error...don't test on your main forum. Make yourself at least one forum that is just for testing mods on and nothing else...personally I use two...a completely new, clean, fresh install and a copy of my live/production forum. If a new (to me) mod works properly on the clean forum then having tested it quite a bit I'll try it on the copy of my live/production forum and test it thoroughly there too before ever considering adding it to my main/live/production forum.
How did you do the upgrade to SMF 1.1.2? Was it via the upgrade package?
If it was via the upgrade package then having backed up your database and files and having set permissions of all files to 777 I'd try uninstalling the upgrade package and then re-installing it....then setting the file permissions back to what they were.
If you go to your profile do you see additional links in the Karma area saying Who changed my karma Whose karma have I changed...they take you to the karma log.
BTW...failing the above go back to Grek's reply for your next move.
Ooo good idea with the dual forums, I'll do that.
I did upgrade via the package, so uninstall and reinstall and my database should upgrade so the mod has no problem? (Just changed all files in the /smf folder to 777 permission?)
My profiles are link with Joomla! community builder and not the regular SMF profile, if that makes a diff.
Put it this way...it might save you having to do manual work on the database and if not it won't do any harm to try it...those mods shouldn't make a difference...fingers crossed for you.
Heh well I just tried uninstalling the Karma Mod for now and it worked fine except it wasnt able to unmodify Karma.php it said, and now attempts to change Karma give a main.template error.
Good thing I backed up the site first tho, so I'll just reupload the previous Karma.php from before install. :P
That's odd...wonder if there was an error uninstalling prior to my fiddling with it?
I added the necessary changes to the uninstall in the package so it looks as though there shouldn't have been a problem.
Generally SMF tries to help...it makes a copy of the file it modifies with a tilde (~) after the extension so that it ceases to be a php file...you can often reverse damage by using that copy. Mind you doing it how you've done it is the right way...take a proper file and database backup.
A new version now available.
http://www.simplemachines.org/community/index.php?topic=49088.msg1002181#msg1002181
I don't know what the problem. If your mod search this lines after my mod was installed it can find it in 227, 228 and 229 lines. So, if i will remove this code (between /* and */) you will asking me to stay it there, because your mod cand find this code? LoL
Grek,
I've been playing around with an idea...dexx reported his uninstall issue and on investigation I saw that the problem is that SMF doesn't (for some odd reason) properly backup the karma.php file. I wondered if we could get around that and the sad fact that many users won't read your many notes about backing up their files prior to installing the mod (yes I know you've told them countless times...I know how you must feel.) I wondered if we could include a folder in the package that would install with it and if we could make the package move copies of the old versions of the existing files to it as part of the installation process. I chose to call the folder kdm_bak...it would be part of the package.
I tried the idea out but didn't make it work...the folder installed properly but the file in it (karma.php) is o bytes long so obviously the backup failed. Would you have a look at what I did and see if you might be able to see a way round the failure and if the idea would be of use. I have a feeling that it's the package manager at issue and that it can't copy between folders on the server...hope I'm wrong.
Thanks!
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>IvanV.PetrovichAkaGrek:KarmaDescriptionMod</id>
<name>Karma Description Mod</name>
<version>2.3</version>
<type>modification</type>
<install>
<readme type="inline">Karma Description Mod (ver. 2.3) Don't forget to BACKUP, please.</readme>
<modification>Karma_Description_Mod_1.xml</modification>
<modification>Karma_Description_Mod_2.xml</modification>
<code>db_change.php</code>
<require-dir name="kdm_bak" destination="$sourcedir" />
<require-file name="$sourcedir/karma.php" destination="$sourcedir/kdm_bak" />
<require-file name="Viewkarma.php" destination="$sourcedir" />
<require-file name="Viewkarma.template.php" destination="$boarddir/Themes/default" />
<require-file name="DescriptionKarma.template.php" destination="$boarddir/Themes/default" />
</install>
<uninstall>
<readme type="inline">Thank you for testing my mod.</readme>
<modification reverse="true">Karma_Description_Mod_1.xml</modification>
<modification reverse="true">Karma_Description_Mod_2.xml</modification>
<require-file name="$sourcedir/kdm_bak/karma.php" destination="$sourcedir/karma.php" />
</uninstall>
</package-info>
require-file name="$sourcedir/karma.php in your code... it is easy create a file named karma.php with 0 syms it's not backing up this file.
Maybe I'm missing something...I'm trying to take the existing karma.php (8.565Kb in a fresh SMF install) in the sources directory and copy it to the new directory kdm_bak prior to doing the rest of the mod. I tried having a karma.php with 0Kb in the kdm_bak directory but that didn't help....as you say it's not backing up the file. Any ideas?
Quote from: Grek_Kamchatka on March 19, 2007, 05:40:13 AM
I don't know what the problem. If your mod search this lines after my mod was installed it can find it in 227, 228 and 229 lines. So, if i will remove this code (between /* and */) you will asking me to stay it there, because your mod cand find this code? LoL
The problem is that there are now two places where the code is, and so any mod that tries to change that code finds the first one and applies it there, but this area of the code is commented out so even though the install works fine the changes aren't in effect becayse theyve been commented out by your code.
The second thing I mention was that the duplicate code you made alters that code as well by not preserving the correct whitespace.
My point was that your mod doesn't need to make these kinds of changes; it can be installed with fewer changes to the code.
Quotefinds the first one and applies it there
Nope, if there will be a second code you search and the third code, your mod will make changes everywhere.
QuoteMy point was that your mod doesn't need to make these kinds of changes; it can be installed with fewer changes to the code.
No again. It is a difficult construction there. I can't put my code to that place, cause there only <tr> <td> tags. Of course i can try to find
</td>
</tr>';
but this code meets during the all the file profile.template.php so i can't past my code before or after it.
Sorry, you don't seem to understand what I'm saying. The code in question is also not complex, and there is no reason for your code to change this:
echo '
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
Just do the following:
<operation>
<search position="replace"><![CDATA[ // If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
]]></search>
<add><![CDATA[// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
elseif ($modSettings['karmaMode'] == '2')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}]]></add>
</operation>
This way you mod doesn't change what it doesn't need to, and it doesn't leave duplicate code.
Ok, i'll think about it.
This seems to work, although a little work to get it installed on a custom theme and other language. Thanks.
When I try to install it, I get thist message :(
And me and my users would love to have this mod.
Installations actions for "Karma Description Mod":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification Karma_Description_Mod_1.xml Modification parse error
2. Execute Modification - Modification parse error
3. Execute Modification Karma_Description_Mod_2.xml Modification parse error
4. Execute Modification - Modification parse error
5. Execute Code db_change.php
6. Extract File ./Sources/Viewkarma.php
7. Extract File ./Themes/default/Viewkarma.template.php
8. Extract File ./Themes/default/DescriptionKarma.template.php
And in the error-log I get this message:
http://***.*****.dk/index.php?action=packages;sa=install;package=Karma_Description_Mod_ver1.2.3.zip
8: Undefined index: package_readme
File: /******/******/*****/Sources/Packages.php
Line: 294
Quotehttp://***.*****.dk/index.php?action=packages;sa=install;package=Karma_Description_Mod_ver1.2.3.zip
ver1.2.3 ? What is this? I havn't this mod version. 2.3 only.
Any possibility of having a version where you could exclude certain boards (in a comma separated list) from having the karma enabled? I have offtopic-boards where the karma has gone wild (in a not-so-good way).
Thanks for listening.
Quote from: Grek_Kamchatka on March 22, 2007, 09:58:56 PM
Quotehttp://***.*****.dk/index.php?action=packages;sa=install;package=Karma_Description_Mod_ver1.2.3.zip
ver1.2.3 ? What is this? I havn't this mod version. 2.3 only.
It is the version 2.3 downloadet here at SMF I am trying to install..
I don't know why it writes "Karma_Description_Mod_ver1.2.3.zip" in the error-log :-\
Ohh, I just tried to have a look at the zip-file..
It is called "Karma_Description_Mod_ver[1].2.3.zip" Can that be the reason?
(It is, what is suggested as filename, when downloading the file)
Moped...I suggest that you try the download again...the file is called Karma_Description_Mod_ver.2.3.zip as per the download page http://custom.simplemachines.org/mods/index.php?mod=192 (http://custom.simplemachines.org/mods/index.php?mod=192)
It downloads as that...my computer uses that name...it doesn't add a "1" into it.
You may have a bad download.
Do/did you have another version of the mod...do/did you try to download it twice to the same location...either might explain your odd naming of it.
I've used the mod as downloaded above and there was no problem with parse errors or, indeed, any other problem.
Please delete your questionable version and start again with a fresh download of the mod using the name given to it on the download page.
Quote from: TrueSatan on March 24, 2007, 12:32:17 PM
Moped...I suggest that you try the download again...the file is called Karma_Description_Mod_ver.2.3.zip as per the download page http://custom.simplemachines.org/mods/index.php?mod=192 (http://custom.simplemachines.org/mods/index.php?mod=192)
It downloads as that...my computer uses that name...it doesn't add a "1" into it.
You may have a bad download.
Do/did you have another version of the mod...do/did you try to download it twice to the same location...either might explain your odd naming of it.
I've used the mod as downloaded above and there was no problem with parse errors or, indeed, any other problem.
Please delete your questionable version and start again with a fresh download of the mod using the name given to it on the download page.
Strange :-/
That is where I downloadet it form, and it keeps suggesting the name "Karma_Description_Mod_ver[1].2.3.zip" even if I delete my temporary internet-files :-/
First I tried to install the install the on one of the SMF-forums I have in use, there I had tried to install the ver.2.2 getting a similar.
This time I installed it on at totally clean SMF 1.1.2, And I got the error there too.
(But it was with the filename mentioned I tried to install it).
I will now try to make a new clean install of SMF, and try to rename the mod so it get the right name. and I'll try to and it, and see what happens.
the new RU files give errors, but the plain one seems fine for me
Moped...
Try the file below...it's the same as the one on the download page but having used it myself I know that it's fine.
K I got a new forum going on a test site.
After installing the new package, and enabling it, still no link shows up on the forum listing index. And when I go to modify anyone's Karma it says:
Unknown column 'Description' in 'field list'
File: /home/mrdexx/public_html/test/smf/Sources/Karma.php
Line: 134
But no longer says my database is old.
Any ideas? Installing package showed no errors.
Dexx,
Firstly sorry you're still having problems...secondly...let's try to sort them out.
Prior to installing the mod did you do the following:
Admin>Packages>Options
Set up your ftp details and save them
Cleanup Permissions>Select "All Files Are Writable">Change File Permissions
If you didn't do that (and you should do it prior to installing any mod...and change the permissions to have less files writable after installation if you so wish) then you might have a file permissions issue.
Can you please make sure that you change permissions to all files are writable now and check that the following have been made writable:
/Sources/Viewkarma.php
/Themes/default/Viewkarma.template.php
DescriptionKarma.template.php
/Sources/ModSettings.php
/Sources/Subs.php
/Sources/BoardIndex.php
/Sources/Profile.php
/Sources/ManagePermissions.php
/Themes/default/Admin.template.php
/Themes/default/BoardIndex.template.php
/Themes/default/Profile.template.php
/Themes/default/languages/Admin.english.php
/Themes/default/languages/ModSettings.english.php
/Themes/default/languages/Who.english.php
/Themes/default/languages/Help.english.php
/Themes/default/languages/index.english.php
/Themes/default/languages/ManagePermissions.english.php
/Themes/default/languages/Errors.english.php
/Themes/default/languages/Profile.english.php
index.php
/Sources/Admin.php
/Sources/Karma.php
If that doesn't fix the problem:
Assuming that you had made them all writable prior to the install you did earlier I would have expected you to have been without problems...as that may not have been the case perhaps it might be wise for you to uninstall the mod...replace the /Sources/karma.php with a fresh copy from the backup you should have taken prior to installing the mod or, failing that, from the SMF installation pack.
Try the installation again...see what happens.
Assuming you still have problems extract copies of all the above files...put them in a single zip file and attach it to a posting here detailsing what the problems still are...I hope that covers all bases.
dexx, it is because you haven't Description field in your database.
Quote from: Grek_Kamchatka on March 25, 2007, 06:11:19 AM
dexx, it is because you haven't Description field in your database.
I figured the error-free install of the mod meant the mod added the needed fields to the database
Well...let's think about how it can be fixed...and I hope Grek will put me right if I'm wrong on this...
By the looks of it if you ftp the db_change.php from the package to the board directory and navigate to it using your browser that should run the database changes again. I'm not sure if it would be a good move to change line 5:
$overwrite_old_settings = false;
to:
$overwrite_old_settings = true;
Maybe try it without first than make the change if needed.
Let's see what Grek has to say though.
Quote from: TrueSatan on March 25, 2007, 11:11:23 AM
By the looks of it if you ftp the db_change.php from the package to the board directory and navigate to it using your browser that should run the database changes again. I'm not sure if it would be a good move to change line 5:
No. No effect would be if you do it
Quote
$overwrite_old_settings = false;
to:
$overwrite_old_settings = true;
Maybe try it without first than make the change if needed.
Let's see what Grek has to say though.
No again. All old karma log will be erased.
Sorry for my english.
Hi. Does this mod have norwegian translated files? Or do I do this my self? If I have to do the translate myself, where will I do this?
The downloading to my forum failed. Guess I will have to do this manually then wont I? I use the Dilber MC theme Use SMF version 1.1.2
I am supposed to find this
<td>', $context['member']['last_login'], '</td>
</tr>';
So i can add this */ after, but I can only find this
<li><strong>', $txt['lastLoggedIn'], ': </strong>', $context['member']['last_login'], '</li>';
Have I overlooked the first code somewhere.
hi i installed version 2.3 and im having probs getting members to view the karma log (index.php?action=viewkarma) now all the settings are right, in Features and Options the option is checked (see pic) and in permissions they have access to it. ive even had a look at the database and its been enabled as karmalog_view (see pic) they are also using the correct group with that access. I havnt modifed any of it manualy.
Any1 got any ideas
wait im a idiot i had "Disable whole karma log for users but enable own karma log" enabled, notice it when i was looking at the pics.
Sorry for wasting any1s time
Try to install this package to my forum. I get test successful in all of the files. And it works to. But errors occurs when wanting to view profiles. I get syntaxerrors like : Unecspected '*', or '/' or '}' and so on And it does not get any better when I try to modify the Profile.template.php. Which is where I get the messages that the errors are. Don't get the Karma stats- link on mainpage either, Even though I try modifinge the boardindex.template.php (the boardindex template is the only file I can find in the dilber mc theme which is supposed to be modified, I believe that would be the one to modify to get the karma stats link on mainpage??)
Ok. So I get the description mod to work, but still don't have the [karma stat] on main page. Anyway, I have now translated most of the files into norewegian. But I cant find the file so that I can translate this page:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi35.photobucket.com%2Falbums%2Fd185%2FLillyen%2Fbilde.png%3Ft%3D1176026542&hash=9e89125747b9fe7f16dbbd6b7041d668316a6199) (http://i35.photobucket.com/albums/d185/Lillyen/bilde.png?t=1176027430)
So that when I use norwegian-utf8 in mye fourm I wont have this more or less blank page when trying to view the karma description log.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi35.photobucket.com%2Falbums%2Fd185%2FLillyen%2FBilde2-2.png%3Ft%3D1176027319&hash=aca1290d219f1ad53b7650a0301ee72e89257a66) (http://i35.photobucket.com/albums/d185/Lillyen/Bilde2-2.png?t=1176026828)
Hope someone will help me with this
I keep solving problems and keep bumping into them. All of my other problems with this mod, I have solved. Now I need to make "Where" work with norwegian. I have enabled it in features and options but the "In Topic" link does not show when using the norwegian utf8 language. So how to make it work. The name Where it self I have translated, it is only the In topic link I need to translate. Where do I find it?
Quote from: Lemare on April 09, 2007, 08:45:40 AM
I keep solving problems and keep bumping into them. All of my other problems with this mod, I have solved. Now I need to make "Where" work with norwegian. I have enabled it in features and options but the "In Topic" link does not show when using the norwegian utf8 language. So how to make it work. The name Where it self I have translated, it is only the In topic link I need to translate. Where do I find it?
Help, please :)
Have you any errors in error log?
Quick question:
For some reason, as of late, my karma log (smf_log_karma table) keeps getting deleted.
Any reason that this should be happening out of nowhere?
I am using version 2.2, I believe.
Is there a setting I inadvertently changed?
Thanks in advance,
It was deleted a table or all data in this table? If last, i think you cleared karma log in admin panel
Quote from: Grek_Kamchatka on April 10, 2007, 05:20:47 PM
Have you any errors in error log?"
Nope. No errors. I believe the only thing I need to do is to translate the "In Topic" link into norewegian so that it will be able to show when using the nowegian language on my forum. But I can't find that word so that I can translate it.
index.english.php
$txt['karmawhereurl'] = 'In topic';
Greg,
I have not been deleting the logs in admin. Strangely, it seems to be keeping the last 48 hours or so of karma logs but deleting the data from before that.
I haven't experienced this before...is there a setting for "keep only logs for last X hours or X days" possibly?
Weird...
Quote from: Grek_Kamchatka on April 11, 2007, 09:41:57 PM
index.english.php
$txt['karmawhereurl'] = 'In topic';
Thank you so much.
I've looked over and over this thread. I install the package and it says it's installed. When I go to Karma on the Admin, I get nothing but check boxes and no text. And this error:
8: Undefined index: statkarma
File: /home/dutchjac/public_html/expatlair/Themes/default/BoardIndex.template.php (eval?)
Line: 375
Any ideas? I'm running 1.1.2 with no other mods.
Is it possible to make the comment field manage more words, so that one can write longer comments.
Quote from: Lemare on April 13, 2007, 07:16:16 AM
Is it possible to make the comment field manage more words, so that one can write longer comments.
i asked this question a loooong time ago, but never got a response. i actually found the file in the package that you need to edit, but i don't know how to edit the file on my server.
Quote from: look up on April 13, 2007, 05:52:16 PM
Quote from: Lemare on April 13, 2007, 07:16:16 AM
Is it possible to make the comment field manage more words, so that one can write longer comments.
i asked this question a loooong time ago, but never got a response. i actually found the file in the package that you need to edit, but i don't know how to edit the file on my server.
Which file would that be?
Quote from: Lemare on April 13, 2007, 07:16:16 AM
Is it possible to make the comment field manage more words, so that one can write longer comments.
File: DecriptionKarma.template.php
Find
<td align="center"><input type="text" name="Description" size="84" maxlength="62"/></td>
And change to (edit cols and rows for input box size)
<td align="center"><input type="text" name="Description" cols="80" rows="3"/></td>
Bad idea =)
yeah, that's the file. and it's still zipped on my server. so that's why i can't figure out how to edit it.
anshar, why would you not just change the number after maxlength?
I may be a total idiot here, but I am unable to find a fix for this. Perhaps there is not one. I have searched and found a few poeple posting having the same problem, however the two fixes I had found did not work.
Here is my problem:
QuoteAn Error Has Occurred!
Unable to load the 'main' template.
I have uploaded the three files as sugested, and still no go.
I am using a modified theme, and not sure if that is it or not. The one I am using is Bloc's Leviathan (with modified graphics)
I did read and follow all three responces to what could work, but I am at a total losss right now. Any help would be greatly appreciated.
Thank you in advance,
Sarrene'
How come even after changed the [Appluad] [Smite] to different words they still appear every where else..including the "lastest changes in karma" page, any way to change it completely
I have been getting an error since installing this mod. I started a topic on it here. http://www.simplemachines.org/community/index.php?topic=166325.15 and it was recommended that I come here and see if the author of this mod had an answer. Here is the error I am getting and if you go to the topic I posted above you will see what has been tried before. Here is the error I get
I get this one when I change karma
http://xxxxxxxxxxxx.com/smf/index.php?action=modifykarma;sa=applaud;uid=345;topic=1374.0;m=6898;sesc
8: Undefined index: karma_pm_send_changelink
File: /home/content/i/b/e/xxxxxxxxx/html/smf/Sources/Karma.php
Line: 195
Here is this line 195 on karma .php third line down. [pre] $link=='PM' ? $url=$scripturl.'?action=pm' : $url=$scripturl.'?topic='.$link;
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_changelink'])
{
$karma_pm_body = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_changelink'].$url;
} [/pre]
Hi! Im having problems with the Karma-Notify option, Can someone help me out?
The main problem happens, when someone chooses to be notified by PM when a user changes his Karma..
They dont get any notification, i mean, the (PM)-inbox says it has no new messages, but if they open the Inbox, they see the notifications... i mean it says they dont have any new messages when they actually have messages in the inbox, is there a way to fix this?
Quote from: tick on April 23, 2007, 06:39:57 PM
I have been getting an error since installing this mod. I started a topic on it here. http://www.simplemachines.org/community/index.php?topic=166325.15 and it was recommended that I come here and see if the author of this mod had an answer. Here is the error I am getting and if you go to the topic I posted above you will see what has been tried before. Here is the error I get
I get this one when I change karma
http://xxxxxxxxxxxx.com/smf/index.php?action=modifykarma;sa=applaud;uid=345;topic=1374.0;m=6898;sesc
8: Undefined index: karma_pm_send_changelink
File: /home/content/i/b/e/xxxxxxxxx/html/smf/Sources/Karma.php
Line: 195
Here is this line 195 on karma .php third line down. [pre] $link=='PM' ? $url=$scripturl.'?action=pm' : $url=$scripturl.'?topic='.$link;
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_changelink'])
{
$karma_pm_body = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_changelink'].$url;
} [/pre]
Just a bump
QuoteHow come even after changed the [Appluad] [Smite] to different words they still appear every where else..including the "lastest changes in karma" page, any way to change it completely
Any Help!!
Grek_Kamchatka could you explain why is it a bad idea and what is your idea to do it right?
How to exted the description over 256 chars?
hii..i think this is a great mod ^^
Btw, i have a question (sorry if this sounds stupid)..
I am just wondering where do u get to see the karma change log? =)
Btw, does this mod works with the dilber MC theme? Thanks a lot!!
I use it with dilber mc you just have to make these changes to your board index template.
find
[pre]// Show YaBB SP1 style information.[/pre]
and add befor
[pre]*/
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="middletext">
', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
<br /> ' . $txt[659] . ': <b>"' . $context['latest_post']['link'] . '"</b> ( ' . $context['latest_post']['time'] . ' )<br />
<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
';
if ((!empty($modSettings['karmadescmod'])) && (empty($modSettings['karmaisowner'])))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
elseif ((!empty($modSettings['karmadescmod'])) && ($context['user']['is_admin']))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
echo'
</span>
</td>
</tr>';
}
[/pre]
and be sure to make a backup of this file before making these edits. Just in case. But it works for me
EDIt: take out the pre with the brackets around them out
at the start and finsh. I dont know why they are there. I did not put them there
Tick, thanks a lot for ur help! I hope it works for me ^^
hihi..ah..after adding the code, it sort of worked..
but there are two forum stats in the info centre - one with just forum stats and one with forum stats + karma stats..
I was wondering if there's away to delete the one with just forum stats?
Thanks
It;s okie..i solved the problem already =)
Quote from: tick on April 23, 2007, 06:39:57 PM
I have been getting an error since installing this mod. I started a topic on it here. http://www.simplemachines.org/community/index.php?topic=166325.15 and it was recommended that I come here and see if the author of this mod had an answer. Here is the error I am getting and if you go to the topic I posted above you will see what has been tried before. Here is the error I get
I get this one when I change karma
http://xxxxxxxxxxxx.com/smf/index.php?action=modifykarma;sa=applaud;uid=345;topic=1374.0;m=6898;sesc
8: Undefined index: karma_pm_send_changelink
File: /home/content/i/b/e/xxxxxxxxx/html/smf/Sources/Karma.php
Line: 195
Here is this line 195 on karma .php third line down. [pre] $link=='PM' ? $url=$scripturl.'?action=pm' : $url=$scripturl.'?topic='.$link;
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_changelink'])
{
$karma_pm_body = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_changelink'].$url;
} [/pre]
I have also narrowed it down to it only happens when karma is given to users who have karma notification turned on. Is anyone still supporting this mod.
Bump. Is the author of this mod still supporting this mod. Or does anyone know this mod well enough to tell me why this error is occurring. Thanks so much to anybody who can help.
Last and final bump.
Post here your karma.php file
Thanks for the response. here it is.
Ok, i found one small bug in mod. Thanks. Wait a new version - 2.4
To fix this problem with error log, you can check:
1. Send link in personal message to own karma log
2. Send the reason in personal message
3. Send link in personal message to message where karma was changed
in Karma section. Save this settings, applaud this user and then uncheck all this functions. Errol log must be clean after it.
The problem is when the ARE checked. But I cant ask 600 users to uncheck this. I can clear the errors for know. Do you have a estimate on when this next version will be out.
Quote from: tick on May 07, 2007, 09:56:40 PM
But I cant ask 600 users to uncheck this
Nope, it is in admin panel in karma section.
Quote
I can clear the errors for know. Do you have a estimate on when this next version will be out.
I don't know. May be in 2 days
Ok thanks for your time to answer my questions. You have made a great mod.
Hmm... I don't have the time to delve into the mod really so, has anyone got a fix for the error:
Unable to load the 'main' template.
34 pages wow, but I guess this question is new (I hope); is there a way to show how much Karma is given each time ?
I had a quick look at the mod and I am thinking about installing it on my forum. I noticed the mod changes one of the DB tables and I was wondering whether those changes will be rolled back when you uninstall the mod.
In other words:
Will uninstalling the mod return your database to its original form?
Quote from: Lost1 on May 18, 2007, 08:40:29 PM
In other words:
Will uninstalling the mod return your database to its original form?
Nope
Many mods leave database changes behind if they are uninstalled...it's now accepted officially by SMF that they may do so...not a requirement to remove any/all added databases and settings upon uninstallation.
If the tables and settings a mod leaves behind aren't being used by any other parts of a forum's code then they are a trivial matter and can be safely ignored...if you really wish to do so you can tidy up your database via phpMyadmin (having first made a backup of it.) In general it's not worth the effort of doing anything about them.
Thanks for your quick response guys. I enabled karma on my forum the other day and so far it looks like its not going to last. What the prospect of getting a few smites can do to some people. :P
Maybe I'll install this mod and see whether it's easier for people to accept if they can see the reason of the applauds and smites. Anyway, thanks for the quick answers.
To upgrade from 2.2 to 2.3, do I NEED to uninstall 2.2 first?
Hey guys quick question: Can I set this so that only admins can view who changed the karma?
I'm looking for a solution to prevent a recent spate of karma attacks on prominent community members. I'm looking for this as an administrative tool - rather than a public feature.
Any demo now? No registration needed please
Quote from: drswift on May 27, 2007, 07:50:14 AM
Hey guys quick question: Can I set this so that only admins can view who changed the karma?
that's how it's set up on mine now. members can see who changed their own karma, and admins can see who changed everyone's karma.
There were errors (send error, /* error, etc) in my karma.php file in many line. So i uninstall this mod.
Quote from: KGIII on May 11, 2007, 10:41:03 AM
Hmm... I don't have the time to delve into the mod really so, has anyone got a fix for the error:
Unable to load the 'main' template.
I have this error too is there a solution to it. We have not long set up our site so if there is please could you explain in easy to understand language :).
Stupid question here : How do i see a karma log ?
Quote from: Vinspire on June 06, 2007, 04:37:16 AM
Stupid question here : How do i see a karma log ?
It gives me a warm feeling inside to answer a question from somebody who normally answers questions rather than asking them.
Presumably you've gone to ACP>Features and Options>Karma and enabled the mod and put the settings as you want them (and gone through the permissions masks changes as needed)...if so then the log is available via those profiles you've allowed to see it.
Quote from: TrueSatan on June 06, 2007, 05:12:00 AM
Quote from: Vinspire on June 06, 2007, 04:37:16 AM
Stupid question here : How do i see a karma log ?
It gives me a warm feeling inside to answer a question from somebody who normally answers questions rather than asking them.
Presumably you've gone to ACP>Features and Options>Karma and enabled the mod and put the settings as you want them (and gone through the permissions masks changes as needed)...if so then the log is available via those profiles you've allowed to see it.
Hehehe ... Glad to know that you weren't annoyed with my question and thanks for the answer.
I've gone through everything as you stated and currently i am viewing the karma by putting in http://weburl/index.php?action=viewkarma. Is there any other way for me to view it ?
Quote from: Vinspire on June 06, 2007, 10:00:58 PM
Quote from: TrueSatan on June 06, 2007, 05:12:00 AM
Quote from: Vinspire on June 06, 2007, 04:37:16 AM
Stupid question here : How do i see a karma log ?
It gives me a warm feeling inside to answer a question from somebody who normally answers questions rather than asking them.
Presumably you've gone to ACP>Features and Options>Karma and enabled the mod and put the settings as you want them (and gone through the permissions masks changes as needed)...if so then the log is available via those profiles you've allowed to see it.
Hehehe ... Glad to know that you weren't annoyed with my question and thanks for the answer.
I've gone through everything as you stated and currently i am viewing the karma by putting in http://weburl/index.php?action=viewkarma. Is there any other way for me to view it ?
I've found the answer to this question after playing through the feature.
Anyway, is it possible for me to censor the name of the person who gave karma to the specific person ?
Not that I know of...you're allowing them to see the karma log so unless you were to hack the mod such that the log didn't record those names there's not much to be done about it....maybe Grek might have another idea but I don't see a way around this one.
Glad you got it working BTW...all credit to Grek as it is a very nice mod.
Quote from: TrueSatan on June 07, 2007, 04:36:46 AM
Not that I know of...you're allowing them to see the karma log so unless you were to hack the mod such that the log didn't record those names there's not much to be done about it....maybe Grek might have another idea but I don't see a way around this one.
Glad you got it working BTW...all credit to Grek as it is a very nice mod.
Yeah. It was an awesome mod. I need to disclose the person who give out the karmas from that person who received the karma to avoid an arguement especially those who received a negative karma.
Maybe you could keep the Karma log for staff viewing to combat abuse rather than allowing every member to see it? If a member wanted to know who or why then they could ask a staff member who would then be able to disclose or not as seemed suitable on each occasion.
Quote from: TrueSatan on June 07, 2007, 10:35:45 AM
Maybe you could keep the Karma log for staff viewing to combat abuse rather than allowing every member to see it? If a member wanted to know who or why then they could ask a staff member who would then be able to disclose or not as seemed suitable on each occasion.
If this is the case, the problem comes when you have a lot of members inquiring for their karma informations. You get what I mean ? :)
Absolutely...personally I'd restrict it to abuse queries and make it that if the query is spurious you deduct karma from the person making the request...there are ways you can handle this so that even on an big active forum you wouldn't load the staff with too much work. I do see what you're saying but all the same it's not just about what software you have but also about how you use it.
If you do the above or some other way of penalising unwarranted queries (restrict arcade access for instance...there are lots of things you could do) then there need not be a problem.
This may be a stupid question... but... I cannot find where should users pick should they receive notification of karmachange in PM or popup window?
I've searched profile all the way but no luck finding it...
Thanks in advance...
@ Zoky
1) You will need to be using the SMF default theme unless you have installed thre mod into a custom theme.
2) You will need to enable the mod and arrange the settings of it appropriately...ACP>Features and Options>Karma
3) You will need to set the member permissions masks appropriately to your needs.
Given all the above look in the Profile.
1) I am using it
2) http://img504.imageshack.us/img504/8031/slika1ti0.gif
3) I'm an admin, so all permisions should be here, if I'm right...
And I still can't find it >:(
The image you've shown shows that you haven't allowed users to view the log but as admin if you look at the profile of one of your forum members then you should see there options for you to view "Who changed my karma Whose karma have I changed" these will let you look at the log.
Ok, but shouldn't there be options for users to choose if they want to be notified if their Karma is changed? Via PM or popup window...
No...you, as admin, decide that for them by opting to have PM notification or not (ACP>Features and Options>Karma)
I've had the karma mod installed since 1.0.x and upgraded to 1.1.2 when it came out. I did a fresh install of 1.1.2 and all my mods, but when I went to apply the karma mod I got this upon test:
Quote
4. Execute Modification ./Themes/default/Admin.template.php Test failed
5. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
These are the mods I currently have installed:
1. URL Popup 1.0
2. Ad Managment 2.3
3. Create Topic on Report to Moderator 0.2
4. Rename Topic 1.0
5. Contact Page 1.0
6. audiblepm 1 1.0
7. ShowTopics 1.1
8. Merge Double Posts 1.0.7
9. Spam Black List 0.2.1
You will find similar queries to your one answered thousands (not an exaggeration) of times on these forums. When you get such fails it simply means that other mods you have installed have already edited the files this mod needs to edit so you will have to do a manual install of it.
Follow the directions given in the following link from SMF Documentation:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
and use this link to help with the details of the edits needed for this mod:
http://server.daniel15.com/smf/package.php (http://server.daniel15.com/smf/package.php)
Has anyone gotten the "who changed my karma" links to appear on the profile page with the Leviathan theme?
¿Who can I enable default notifiy PM (personal message), for all forum's members?
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
Thanks
Are you sure your post has to do with this topic?
I know the mod only says for 1.1.2, but I figured I would try it on 1.1.3 anyways. I believe it all works, but two things.
The Karma tab in the admin section is empty, I had to use a screenshot from someone else's board for a guide.
And this is the other problem: http://img184.imageshack.us/img184/8826/karmadescsi3.png
The second one is more important. Im wondering which file I should manually edit (try to) to get that to look right.
Is this even possible? Or is the mod just not going to work no matter what...
Thanks.
I'm using it on SMF 1.1.3 SMF default theme and have no problems or issues with it. I suspect that you may be using it in a custom theme and if so then you need to edit the theme files to add the mod to them...see http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
Please look at my picture, its the default theme (unless it changed?). Please help...I need that to work. If I have to manually do something, which file puts in that data?
Thanks in advanced.
Your screenshot really doesn't tell me anything useful though it does make me wonder if in ACP>Server Settings you have your forum language set to something other than english (english utf8 perhaps)...if so please set it to english and see if that helps. Many mods don't work properly if the language is set to english utf8.
Your questions don't make much sense to me, to be quite frank. Was that screenshot of the ACP for instance? Did your forum work properly prior to adding the mod? Did you try it on a fresh (no mods or themes or edits installed) test forum...if not that would confirm that the mod would work for you on your hosting so it's worth doing?
If it works for you on a test forum you may have some kind of mod conflict on your main forum.
Thus far I've so little information to go on as regards your problems that I can only make these suggestions and let you respond then from your responces see if we can work towards a solution.
THanks, after reading your post I learned that I chose to download the wrong one (the utf8 one was the wrong one I am guessing). So I got the regular one, and now everything in the admin panel shows correctly.
But...now im getting a different error when I click applaud or smite:
QuoteUnable to load the 'main' template.
Thats the error. Any idea now?
Thanks.
I've not come across it myself (thankfully) but from what I've seen reported before it seems to suggest that either your download of new files was corrupt, or didn't up zip properly or you had an ftp issue when uploading files to your site.
I'd begin by removing the mod, downloading a new copy of it (perhaps via a different browser) and using that...see if the error persists...if it does more drastic measures may be needed...
If you followed (as you should always do) standard SMF advice and backed up both your files and database prior to installing any mod or theme then you could go back to your last good version otherwise you may land up having to replace all your files.
You could do this replacement by first making the backups I mentioned above then deleting all but Settings.php and Settings_bak.php in your forum root then, via ftp, adding a fresh set of files from the SMF 1.1.3 installer minus the two files I just mentioned then adding your mods again. This wouldn't affect your database so no postings etc would be lost.
Download your mods and any themes again prior to adding them. Please remember backup of your database and files is important as it allows you to reverse from problems.
I tried to install the mod. Then uninstalled again because I wanted to study it first. Now, the karma option doesn't work in my forum. It says:
Unable to load the 'main' template.
What should I do?
^^Wow lol. I wont even say anything.
Ok, well now the message got put across twice whats wrong lol.
@TrueSatan, alright, I will re-download it (try from a different location) and will manually upload it. I will report back if there are any more problems.
Thanks.
Well it looks like Grek had best have a look at this if it's a general problem with his mod.
EDIT
Just in case it's a timeout issue on your server perhaps you might try putting the mod edits into karma.php manually (based on a fresh copy of the file...get it from the relevant SMF Forum installation package for your SMF version) then uploading that file to your server.
Quote from: LunaGirl on June 28, 2007, 12:23:15 AM
I tried to install the mod. Then uninstalled again because I wanted to study it first. Now, the karma option doesn't work in my forum. It says:
Unable to load the 'main' template.
What should I do?
The mod doesn't restore the old karma.php file on uninstallation...you can either try using karma.php~ (it should be on your server) and replacing the existing karma.php with that (rename the existing one to karma.phpold then rename karma.php~ to karma.php) or upload a fresh copy from an SMF forum installation package appropriate to your SMF version.
Quote¿Who can I enable default notifiy PM (personal message), for all forum's members?
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
Thanks
Quote from: KGIII on June 26, 2007, 06:38:50 AM
Are you sure your post has to do with this topic?
sure! ;)
look an author's post:
http://www.simplemachines.org/community/index.php?topic=49088.msg751970#msg751970
Somebody can help me?
Quote from: Vinspire on June 07, 2007, 01:54:21 AM
Anyway, is it possible for me to censor the name of the person who gave karma to the specific person ?
Vin,
Not sure if you got this answered. You may have to dig through this topic a bait but there is a solution that worked for me. Basically, it involves modifying the Viewkarma.template.php and creating an if then else to check for if ($user_info['is_admin']) and taking out the inappropriate columns (karmawho). I also made the comments only available for admins. I think you had to do this twice in this file but it was to long ago to remember.
Anyway, it's in this topic somewhere. Look for posts by me (someone else had the solution).
Good luck,
any update for 1.13 or already compatible with the latest smf version. plz help
I had it installed on my SMF 1.1.2 .. Updated the software with 1.1.3 and everything is still working fine... no problems...
Well, there are some errors, but they were there even before 1.1.2 (PM notifiyng not working properly, etc etc etc.).
I installed and enabled the mod, but don't know where to look to see the log. Any help appreciated.
Thanks.
Will it work with smf v1.1.3 ..... ???
Thanks in advance ;)
Quote from: TrueSatan on June 28, 2007, 05:20:09 AM
Quote from: LunaGirl on June 28, 2007, 12:23:15 AM
I tried to install the mod. Then uninstalled again because I wanted to study it first. Now, the karma option doesn't work in my forum. It says:
Unable to load the 'main' template.
What should I do?
The mod doesn't restore the old karma.php file on uninstallation...you can either try using karma.php~ (it should be on your server) and replacing the existing karma.php with that (rename the existing one to karma.phpold then rename karma.php~ to karma.php) or upload a fresh copy from an SMF forum installation package appropriate to your SMF version.
Thanks.
Quote from: mwapnitsky on June 29, 2007, 02:01:11 PM
I installed and enabled the mod, but don't know where to look to see the log. Any help appreciated.
Thanks.
Providing that in ACP you've enabled the mod, set it appropriately and given access permissions appropriately then members would be able to go to their profiles and see links to the log file....default theme only...custom themes will (as usual) need manual editing.
I installed this mod and its working great. Is there a way to find out all the karma changes that occured within a date range say for example from 1 to 30 june. Any help appreaciated. ;)
If those dates were prior to your installing the mod then they would not be in the log the mod generates so...no. If they were post your installing the mod then providing you enabled the mod and its log and had not cleared the log then...yes.
Thanks. Problem solved. I was looking for a way to bring up the records in a block on TP. Figured it out. Thanks.
Hello members..
I Spanish..
I a problem...
I installed the mod, the ultimate version and I am a problem...
When I am going to vote karma. It leaves the following error to me:
Parse error: syntax error, unexpected $end in /var/www/w11/foro/Sources/Karma.php on line 821
not that to do
I just installed 1.1.3 v and installed this mod on it ....
It worked fine ...
Thanks for it ;)
I got this error. Any idea what went wrong ?
Error code
Unable to load the 'main' template.
I've seen reports of that on a lot of the mod topics...post the upgrade from SMF 1.1.2 to 1.1.3. The problem seems to be a corrupt file each time (though as I can't replicate it I can't be sure)...you may need to upload your theme files again and re edit them to put in all your mods.
I haven't seen other solutions offered so the above is my best shot at it.
I have this mod working perfectly on my forum but I have one problem. I want to monitor when a member achieves 100 karma points. I would like to recieve a pm once this happens. How can I do this someone please?
Quote from: Vinspire on July 03, 2007, 05:02:49 AM
I got this error. Any idea what went wrong ?
Error code
Unable to load the 'main' template.
I get that message too. And when I go to Forum Error Log Area, I see below message:
2: call_user_func(ModifyKarma) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback
Tệp tin: /home/xxx/public_html/yyyy/index.php
Ở dòng: 148
Line 148 is:
// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());
plz help me!
I answered Vinspire above...unless anyone else can offer a better solution the same suggestion applies to your report too.
thank TrueSatan
I have re-uploaded the original Karma.php of SMF 1.1.3 and edit it manual. It works well now.
But I must add 2 "}" signs at the end of Karma.php
at the end of my Karma.php is
obExit(false);
}
}
}
?>
Quote
<search position="end"></search>
<add><![CDATA[
}
]]></add>
</operation>
Thanks for posting that fix Saosangmo...maybe Grek will get a chance to look at this and be able to offer some explanation or a new version.
I have a problem. When I click applaud it just comes up with a blank screen...
@ Fool I Ko
Are you using the SMF default theme...like almost all mods this one only installs into the SMF default theme. If you are using the SMF default theme then please follow the process as though you were doing a manual installation of the mod and make sure that all files and edits are in their proper places.
If you aren't using the SMF default theme you will need to do a manual installation into your custom theme. Please see the link below for details of how to do this:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
You may also find the following link useful for details of what edits etc the mod makes:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Hello,
I'm still running 1.1 RC3, and I have no intention to upgrade. Which version of Karma Description Mod should I install ?
what is the difference between those three versions of 2.3 ?
Karma_Description_Mod_ver.2.3.zip
Karma_Description_Mod_ver.2.3_RU.zip
Karma_Description_Mod_ver.2.3_RU_UTF8.zip
Which one should I install ?
v 2.3 is the most recent version and it still supports your version of SMF. The three versions you mention are the standard version, the Russian language version and the Russian language utf8 character set version. Your choice would largely depend on your need/use of the Russian language.
Thank you for your response.
Is this MOD stable now ?
I mean 38 pages of discussion kinda makes me worry.
I use it on a number of installations without problems...the number of pages of discussion aren't a good indicator of problems so don't be put off by that...they often indicate that a mod is popular and has a lot of users with comments to make whereas a mod with very few contented users might have almost no postings relating to it.
Ok, I installed it and it's running without a glitch on 1.1 RC3
I ran into some issues with this mod.. first of all I received the following errors. Several file not found errors. And on one of my sites I went ahead and installed it anyway.. although it didnt seem to break anything. I can not see the selection descriptions in the Karma setup and I do not see where it is allowing me to see karma changes on the site. Please advise.
Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
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 successful
8. Execute Modification ./Themes/default/Admin.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/default/Profile.template.php Test successful
11. Execute Modification ./Themes/default/languages/Admin.russian-utf8.php File not found
12. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php File not found
13. Execute Modification ./Themes/default/languages/Who.russian-utf8.php File not found
14. Execute Modification ./Themes/default/languages/Help.russian-utf8.php File not found
15. Execute Modification ./Themes/default/languages/index.russian-utf8.php File not found
16. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php File not found
17. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php File not found
18. Execute Modification ./Themes/default/languages/Profile.russian-utf8.php File not found
19. Execute Modification ./index.php Test successful
20. Execute Code db_change.php
21. Extract File ./Sources/Viewkarma.php
22. Extract File ./Themes/default/Viewkarma.template.php
23. Extract File ./Themes/default/DescriptionKarma.template.php
Firstly the "File not found" items refer only to Russian language files so unless you use Russian in your forums they can safely be ignored.
Secondly please go to ACP>Server Settings and make sure that your forum language is set to english and not english utf8.
Quote from: TrueSatan on July 25, 2007, 11:07:58 AM
Firstly the "File not found" items refer only to Russian language files so unless you use Russian in your forums they can safely be ignored.
Secondly please go to ACP>Server Settings and make sure that your forum language is set to english and not english utf8.
It is set to English. The other choice is not on my option list.
Assuming that in ACP>Features and Options>Karma you have enabled the mod then your problem appears to suggest that some of the edits this mod needs to make were not, in fact, made.
Please go through the mod following the process of a manual installation and check that all edits and new files are in place...the following link gives details:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
...you may also find the following helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Quote from: TrueSatan on July 25, 2007, 11:39:16 AM
Assuming that in ACP>Features and Options>Karma you have enabled the mod then your problem appears to suggest that some of the edits this mod needs to make were not, in fact, made.
Please go through the mod following the process of a manual installation and check that all edits and new files are in place...the following link gives details:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
...you may also find the following helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Thanks for you help!!!! I may have fixed the problem however seems the only way I can get to it is by going to an actual profile. It doesnt show up when I click on forum stats and go to more stats. Any ideas?
Ran into another issue.. for some reason it won't load the following now when the karma is changed. Unable to load the 'main' template. Any ideas as to what may be causing this error?
Another issue that I have run into... I dont get a box to type the reason for the karma. I think my previous issue is related to one particular site.
Let's pick away at it:
Have you checked the permissions and the setup of the mod? Setup in ACP>Features and Options>Karma and permissions in ACP>Members>Permissions
Your "main template" issue makes me think that you have a messed up theme and may need to reload the theme files (from the SMF installation package in the case of the SMF Default theme) and reapply all your mods to it. It's not as bad a task as it sounds. That is likely to also fix your last issue.
When I go to acp and karma I can see all the check boxes but not the writing next to them. Our karma hasn't been working for months so I don't really want to fiddle too much as I am not 100% yet (very new to smf). Would anyone be able to do me a screen shot of acp, features and options and karma just so I can check the right boxes etc.
Thank you in advance x.
Please go to ACP>Server Settings and make sure that your language is set to English and not English utf8 That is likely to fix your problem without a need for screenshots.
If you use a custom theme (any other theme than the SMF Default theme is a custom theme) you will need to manually edit the mod into it.
Please see:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Thanks for that. I have read them but I can't work it out as I don't understand it.
If you really can't understand the editing of your custom theme then I can only suggest that you revert to using only the SMF Default theme.
I went back to the default theme and still couldn't see the writing next to the boxes so I am not sure why that happened.
If your language is set correctly then I would suggest that one or more of the files the mod tries to edit were not edited.
Prior to installing the mod did you, as you always should prior to installing or uninstalling any mod or theme, backup your database, backup your files, go to ACP>Packages>Options>Installation Options make sure that details appropriate to your hosting are set >Cleanup Permissions> "All Files Writeable" then check, via ftp, that they are indeed writeable (set to CHMOD 777 or 775 depending on the particulars of your hosting.)
Were there errors shown during the installation of the mod...if this happens do not proceed with the installation of any mod.
You now need to follow the first link I gave you previously and check to see that the mod has properly edited the files it seeks to edit then do any manual editing needed to put right any omissions...the second link i gave you is likely to help in this process.
There were no errors showing when I installed it.
I set all files to writeable but am not sure how to check on ftp if they are.
I will have another go later when the children are in bed but think this may be beyond me.
ok here is the problem ...... 3 weaks ago i uploded this mod ... then i didnt work for me so i just simpy uninstall it .... and after that ... Karma thingy dosent work anymore to anyone ....
when someone click on add karma or suite thingy
we got this messsg
An Error Has Occurred!
Unable to load the 'main' template.
healp please
In the Read Me when you install this mod it says:
QuoteDon't forget to BACKUP
It says this because the Karma.php file in the Source directory has to be changed to much...though it is also standard advice whem installing or uninstalling any mod or theme. Hopefully you will find a copy of the old Karma.php file on your server in the kdm_bak directory in the Source directory but if there is any problem with that you will need to replace the file with one from the SMF installation package and edit it if any other mods you use need to alter the file to work.
First let me start by saying i love this mod and so do the members of my forums.
But I have a problem together with the SEO4SMF mod.
Both mods are heavily used on our forum. Now seo4smf is creating database errors when non admin users are looking at the karmalog of another user.
Stangely this doesn't happen when administrators look at stats or users look at their own karma stats.
The database error i get is:
Database error: Unknown column 'PM' in 'where clause'
File: /home/path_to/html/forum/Sources/Subs-Seo4SMF.php
Line: 739
I am using smf 1.1.3 and the 0.2.9.8 of seo4smf and the lates version of the karma description mod/
The forum is busy (over 2 million posts, 100000 pageviews a day) so these database errors really are a pain in the ...
Could anyone please help me solve this?
I noticed that users own karma log isn't working and giving a blank page and database error when a karma was given from a PM.
Going step by step.
SEO4SMF chokes on the "PM" value in the karmalog database. A function is called to retrieve an URL for the topic/message the karma was given in. This query errors because it gets a wrong parameter (PM).
I hope to find a solution but since i am not a programmer i need any help i can get!
Am getting this error when I try to access the karma log:
Unknown column 'lk.Description' in 'field list'
File: /home/albert/public_html/naijaspora/forum/Sources/Viewkarma.php
Line: 91
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.3, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Problem Solved:
Found it on this thread. Just ran the query
ALTER TABLE `YOURPREFIX_log_karma`
ADD `description` TEXT NOT NULL
http://www.simplemachines.org/community/index.php?topic=49088.340 (http://www.simplemachines.org/community/index.php?topic=49088.340)
Quote from: GC on February 21, 2007, 08:41:38 PM
Hello I have an error with this mod. Its not fixable by the maker of another mod that makes the error stand out. Whats wrong?
Error:
Database Error: Unknown column 'PM' in 'where clause'
File: /home/12985/public_html/forums/Sources/Subs-Seo4SMF.php
Line: 480
and that area is
if (isset($modSettings['seo4smf_split_char']))
$split_char=$modSettings['seo4smf_split_char'];
else
$split_char="_";
$request = db_query("SELECT m.subject,b.name
FROM {$db_prefix}messages as m left join {$db_prefix}boards as b on m.ID_BOARD=b.ID_BOARD where m.ID_TOPIC=".$topic_id." LIMIT 1", __FILE__, __LINE__);
list($subject,$board)=mysql_fetch_row($request);
mysql_free_result($request);
line 480 is
FROM {$db_prefix}messages as m left join {$db_prefix}boards as b on m.ID_BOARD=b.ID_BOARD where
should PM be there somewhere?
Seems i am not the only one with this problem :(
Are permissions and ownership set right on all files.
Quote from: Webrunner on August 20, 2007, 08:14:59 AM
I noticed that users own karma log isn't working and giving a blank page and database error when a karma was given from a PM.
Quote from: Webrunner on August 20, 2007, 11:16:47 AM
Quote from: GC on February 21, 2007, 08:41:38 PM
line 480 is
FROM {$db_prefix}messages as m left join {$db_prefix}boards as b on m.ID_BOARD=b.ID_BOARD where
should PM be there somewhere?
Strange. I have a forum with Seo4SMF and in my Subs file for it, that string is on a completely different line - and I'm running the same version.
NB ALL ALTERATIONS LISTED BELOW ARE IN Subs-Seo4SMF.php UNLESS OTHERWISE NOTED
IFF the permissions are all good, THEN see if this helps.... Find:
$excluded_actions = array('search2', 'keepalive', 'diradmin', 'seo4smfsitemaps');
Replace:
$excluded_actions = array('search2', 'modifykarma', 'pm', 'keepalive', 'diradmin', 'seo4smfsitemaps');
It won't be an end-all and cure-all. I'm going to install both mods on a test forum and try to replicate your error. I'm no expert on Seo4SMF and I don't even have the karma description mod installed (yet) but I've had issues with Seo4SMF before so I have a couple of ideas about what might be going wrong. My word is not gospel.
What is in the address bar when the error is displayed? (Oh... Minus the "sesc" bit of course...)
I get an error for this due to SQL syntax (although it's not important, this is just an example url):
http://sneakywhoami.com/testdrivesmf/index.php?action=modifykarma;sa=applaud;uid=2;f=inbox;start=0;;pm=1
Ok. I installed Seo4SMF 2.9.9 with Karma Description Mod ver.2.3 on SMF 1.1.2 patched to 1.1.3
I now have both mods installed AND I can modify Karma BUT it's not asking me for a description...
I did this:
Quote
IFF the permissions are all good, THEN see if this helps.... Find in Subs-Seo4SMF.php:
$excluded_actions = array('search2', 'keepalive', 'diradmin', 'seo4smfsitemaps');
Replace:
$excluded_actions = array('search2', 'modifykarma', 'pm', 'keepalive', 'diradmin', 'seo4smfsitemaps');
Which produced an error because the Seo4SMF signs array is dodgey...
So I changed the line beginning with
$signs = array("Re :", "Re:", "re:", "re :","~", "`", "!", "@", "#", "%body%quot;, "%", "^", "&", "*", "(", ")", "_", "+", "|", "\\", "=", "-", "{", "}", "[", "]", ":", "\"", ";", "'", "<", ">", "?", ",", ".", "/","°","º","","©","®","",
in Subs-Seo4SMF.php to read:
$signs = array("Re :", "Re:", "re:", "re :","~", "`", "!", "@", "#", "%body%quot;, "%", "^", "&", "*", "(", ")", "_", "+", "|", "\\", "=", "-", "{", "}", "[", "]", ":", "\"", ";", "'", "<", ">", "?", ",", ".", "/","°","º","","©","®","","","","æ","","","","±","·","b,","¯");
And then I encountered a further error elsewhere and turned off some option (I don't know what it does!!!! Did I disable the Karma mod by doing it!?) in Karma.php:
I found (in Karma.php):
// Users can change karma to only topic starter if you check this function
if (!empty($modSettings['karmatopicstarter']))
And replaced with:
// Users can change karma to only topic starter if you check this function
if (empty($modSettings['karmatopicstarter']))
Why I don't know what it does? Well... The Karma Description Mod installed fine on the default template in English, but no descriptions if the checkbox functions appear in the admin panel. So i see a row of checkboxes without labels and have to guess at what they do for some reason.
The mod installed without errors so it's beyond me.
I'm not sure what effect my changes will have on your particular forum - your mileage may vary.
But it does allow me to have both mods installed AND modify karma. Which is a start, at least.
First you have to activate the comments, or they won't show up.
I know now where the problem is but i can's solve it.
The karma desc mod can show a link where the karma was given (what topic/post). This link is build up from a field from the karmalog table where the topic and message ID are saved of the message where you klik the "applaud" or "smite" link.
The problem arises when people give a karma from a Personal Message. Then the link value that is saved is "PM". This makes SEO4SMF choke when it tries to create the URL.
As a workaround i removed the ability to give karma in a Personal Message and removed all the records with "PM" in the link field.
This works now and the database errors don't appear anymore.
However this is not a real solution.
Hope this helps a bit.
And... thanks for your help! ;)
How do I reset all karmas to zéro ?
I installed this Mod. It's working fine. But now members would like me to reset all karma to zéro. Is there a way to do that ? I'm not too good at phpmyadmin, so please explain thoroughly.
Thank you for any help
Quote from: ragots on August 24, 2007, 04:30:25 PM
How do I reset all karmas to zéro ?
I installed this Mod. It's working fine. But now members would like me to reset all karma to zéro. Is there a way to do that ? I'm not too good at phpmyadmin, so please explain thoroughly.
Thank you for any help
go to the profile and click: Forum Profile Information
scroll down and here you see Karma
How to reset karma to all members to 0 for a new beginningThank you. I did it. I think it may help others wanting to reset karma for all members to 0.
You log to your phpmyadmin and you select your database:
First you go to phpmyadmin, you clck on SQL:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpeter.north.free.fr%2Ffilechute%2Fsql-smf-members.jpg&hash=b09a82b1affcdd78c7e19e71eea81ab3e0af5413)
I the field you see, erase whatever you see there and type this:
QuoteUPDATE smf_members SET karmaGood = '0', karmaBad = '0';
here it is:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpeter.north.free.fr%2Ffilechute%2Fsql-smf-members2.jpg&hash=9101a098e2348f2bcefbeaad2208b9f093c3e754)
And you click go:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpeter.north.free.fr%2Ffilechute%2Fsql-smf-members3.jpg&hash=c73a3e031b0cbb2b86c82f3406abf92ae0298521)
That's it.
oh sorry, I did not read it correctly.
Can someone please explain how to use this with 1.1.3? I've downloaded it and it says it was successful, but the mod is not showing up.
Quote from: burningboardroom on August 28, 2007, 09:15:36 AM
Can someone please explain how to use this with 1.1.3? I've downloaded it and it says it was successful, but the mod is not showing up.
check the user profile it should show up or you have to set it up first under Admin check Karma to enable the mod
The IN TOPIC link opens a new page, I'd like it not to open a new page. How do I do that ?
Which file do I change that to _target="_parent" ?
Never mind. I found where. I looked in viewkarma.template.php and I changed all the target=_blank to target=_parent
I get the following error :
Warning: Unterminated comment starting line 328 in .../Themes/simplywhite/BoardIndex.template.php on line 328
Parse error: parse error, unexpected $ in .../Themes/simplywhite/BoardIndex.template.php on line 328
319: echo '
320: (<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
321: }
322: echo '
323: </span>
324: </td>
325: </tr>';
326: }
327:
328:
329: <br /><br />
330: <br />
331: <br /><br />
332: <br />
I tried removing the comment tag, and it just created another error. Any advice?
If you switch to the SMF Default theme does the mod work properly? If it does then please review the edits you have made to make it work in your custom theme.
Quote from: TrueSatan on September 04, 2007, 04:23:24 AM
If you switch to the SMF Default theme does the mod work properly? If it does then please review the edits you have made to make it work in your custom theme.
I have made the edits on all themes, but this theme is giving me that specific error.
Please query the theme developer on the topic for that theme.
Quote from: TrueSatan on September 04, 2007, 03:24:05 PM
Please query the theme developer on the topic for that theme.
Well if it is the MOD that is causing these issues with the boardindex file, shouldn't I query the mod author/mod topic for support? I would think so. :)
You have chosen to use a theme that is causing problems that don't exist with other themes...the mod is only required to work with the SMF default theme in any case (this is true for all mods) and therefore if you want help in sorting out why that particular theme won't work when others will you'd best ask the theme developer...
i accidentally installed the russian version...then uninstalled it...and now i get this message when trying to applaud and smite "Unable to load the 'main' template."
i installed the right one and it still says it
this mightent have happened if i knew which file i was supposed to download
how do i fix it please?
Firstly did you pay any attention to the text shown on installation where it says "Don't forget to BACKUP, please."...it's there for a reason!
You appear to have so mangled your karma.php file in your source directory that you may be best uninstalling the mod, renaming your current karma.php to karma.phpold, copying the karma.php from the karma_bak directory to the source directory and seeing if that cures the problem...it may not.
If that doesn't work you may need to get a fresh copy of the karma.php file from the SMF installation package (download it if you don't already have it) and copy that to your source directory...if things then work properly do the backup this time, backup both your files and your database and install the mod again.
You should always backup files and database before installing or uninstalling any mods or themes.
If you use other mods that edited the karma.php file and you have to replace it with a fresh copy then the edits these mods made will have been lost and so you'll need to do them again manually.
Quote from: TrueSatan on September 09, 2007, 05:01:34 AM
Firstly did you pay any attention to the text shown on installation where it says "Don't forget to BACKUP, please."...it's there for a reason!
i did back it up. theres been alot of posts since then though, so im not too hot on restoring.
ill see what happens
okay its fixed
thankyou :D
okay....how do i view the log?
Please note in my previous reply I advised that you not only back up your database but your files as well...your reply suggests that you ignored that advice.
Please look at the settings in your ACP...such matters as viewing the log will be obvious enough if you set it in such a way as to generate a log and then experiment with the mod....you would be best to test new, to you, mods in a test forum before deploying them to a live/production forum.
i did, i backed everything up.
and ran maintenance checks etc
im good now ;)
It installed okay, i am using default theme in 1.1.3 version. i tried to uninstall and got this error,
"Execute Modification ./Sources/Karma.php Test failed"
I have the following Mods installed,
Mod Name Version
1. SMF Staff Page 1.5.1 [ Uninstall ] [ List Files ] [ Delete ]
2. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
3. Bookmarks 1.0 [ Uninstall ] [ List Files ] [ Delete ]
4. SMF Gallery Lite 1.8 [ Uninstall ] [ List Files ] [ Delete ]
5. SMF Links 1.6.5 [ Uninstall ] [ List Files ] [ Delete ]
6. Enhanced Quick Reply Box 2.0 2.0 [ Uninstall ] [ List Files ] [ Delete ]
7. Karma Applaud Only 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
8. Invite 1.14 [ Uninstall ] [ List Files ] [ Delete ]
9. EmailFlash 2.0 [ Uninstall ] [ List Files ] [ Delete ]
10. Advanced Visual Verification 1.2 [ Uninstall ] [ List Files ] [ Delete ]
11. Enhanced Calendar 1.1 [ Uninstall ] [ List Files ] [ Delete ]
12. Order News 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
13. Popup PM Message - Uses The Same Window 1.1 [ Uninstall ] [ List Files ] [ Delete ]
14. Karma Description Mod 2.3 [ Uninstall ] [ List Files ] [ Delete ]
what can i do to fix this? thank in advance.
Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file in question and that you thus need to do a manual installation of this mod. Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Thanks TrueSatan. now that i have been playing with for awhile i kinda like it, the only reason i thought of uninstalling it is because i couldn't automatically uninstall it, i thought maybe it will conflict with other mods. I looked at the infoamation you suggested, and to uninstall it manullay look like byond my ability. the only file that the tast faild was,
"Execute Modification ./Sources/Karma.php Test failed"
is there something i can change in the code of Karma.php to make it pass the test? here is current code,
<?php
/**********************************************************************************
* Karma.php *
***********************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* =============================================================================== *
* Software Version: SMF 1.1 *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2006 by: Simple Machines LLC (http://www.simplemachines.org) *
* 2001-2006 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under *
* the terms of the provided license as published by Simple Machines LLC. *
* *
* This program is distributed in the hope that it is and will be useful, but *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
**********************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');
/* This file contains one humble function, which applauds or smites a user.
void ModifyKarma()
- gives or takes karma from a user.
- redirects back to the referrer afterward, whether by javascript or
the passed parameters.
- requires the karma_edit permission, and that the user isn't a guest.
- depends on the karmaMode, karmaWaitTime, and karmaTimeRestrictAdmins
settings.
- is accessed via ?action=modifykarma.
*/
function ModKarm()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic, $options, $scripturl;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
// Users can change karma to only topic starter if you check this function
if (!empty($modSettings['karmatopicstarter']))
{
$request = db_query("
SELECT ID_MEMBER_STARTED
FROM {$db_prefix}topics
WHERE ID_TOPIC = $_REQUEST[topic]
LIMIT 1", __FILE__, __LINE__);
$row = mysql_fetch_row($request);
mysql_free_result($request);
if ($_REQUEST['uid'] != $row[0] && $user_info['is_admin']!=1)
fatal_lang_error('karma_not_topic_starter', false);
}
//This users karma can't be changed
if (empty($modSettings['karmacantmodify'])) $modSettings['karmacantmodify']='';
$array_value = explode (',', $modSettings['karmacantmodify']);
if (in_array(($_REQUEST['uid']), $array_value))
fatal_lang_error('karma_cant_modify', false);
//This users can't changed karma to other users
if (empty($modSettings['karmacantmodify2'])) $modSettings['karmacantmodify2']='';
$array_value2 = explode (',', $modSettings['karmacantmodify2']);
if (in_array($ID_MEMBER, $array_value2))
fatal_lang_error('karma_cant_modify2', false);
// Start off with no change in karma.
$action = 0;
(!isset($modSettings['karmawhatwrite'])) ? $Description='' : $Description=$modSettings['karmawhatwrite'];
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{ $request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$Description', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
$request = db_query("
SELECT value
FROM {$db_prefix}themes
WHERE variable='enable_notify'
AND ID_MEMBER=$_REQUEST[uid]
", __FILE__, __LINE__);
$row = mysql_fetch_row($request);
mysql_free_result($request);
if (isset($modSettings['karmanotifier']) && !$user_info['is_guest'] && ($row['0'])==2)
{
$link=='PM' ? $url=$scripturl.'?action=pm' : $url=$scripturl.'?topic='.$link;
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_changelink'])
{
$karma_pm_body = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_changelink'].$url;
}
else
{
$karma_pm_body = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'];
}
else
$karma_pm_body = $txt['karma_pm_body'];
db_query("
INSERT INTO {$db_prefix}personal_messages
(ID_MEMBER_FROM, deletedBySender, fromName, subject, body, msgtime)
VALUES (SUBSTRING('$modSettings[karmaidmember]',1,255), '1', 'Admin', SUBSTRING('$txt[karma_pm_subject]', 1, 255), SUBSTRING('$karma_pm_body', 1, 65534), " . time() . ")
", __FILE__, __LINE__);
$ID_PM = db_insert_id();
$ID_PM2 = $_REQUEST['uid'];
db_query("
INSERT INTO {$db_prefix}pm_recipients
(ID_PM, ID_MEMBER)
VALUES ($ID_PM, $ID_PM2)", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}log_karma
SET is_read=1
WHERE is_read=0
AND ID_TARGET=$_REQUEST[uid]
", __FILE__, __LINE__);
updateMemberData($_REQUEST['uid'], array('instantMessages' => '+', 'unreadMessages' => '+'));
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
else
{
echo '
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]',']></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
// Modify a user's karma.
function ModifyKarma()
{
global $modSettings, $db_prefix, $txt, $ID_MEMBER, $user_info, $topic, $scripturl;
// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('smf63');
if (!empty($modSettings['karmasurv']))
ModKarm();
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('get');
// If you don't have enough posts, tough luck.
// !!! Should this be dropped in favor of post group permissions? Should this apply to the member you are smiting/applauding?
if ($user_info['posts'] < $modSettings['karmaMinPosts'])
fatal_error($txt['smf60'] . $modSettings['karmaMinPosts'] . '.');
// And you can't modify your own, punk! (use the profile if you need to.)
if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $ID_MEMBER)
fatal_lang_error('smf61', false);
// The user ID _must_ be a number, no matter what.
if($_REQUEST['sa'] == 'smite')
fatal_error('Sorry, that is an invalid operation!', false);
$_REQUEST['uid'] = (int) $_REQUEST['uid'];
// Applauding or smiting?
$dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;
// Users can change karma to only topic starter if you check this function
if (!empty($modSettings['karmatopicstarter']))
{
$request = db_query("
SELECT ID_MEMBER_STARTED
FROM {$db_prefix}topics
WHERE ID_TOPIC = $_REQUEST[topic]
LIMIT 1", __FILE__, __LINE__);
$row = mysql_fetch_row($request);
mysql_free_result($request);
if ($_REQUEST['uid'] != $row[0] && $user_info['is_admin']!=1)
fatal_lang_error('karma_not_topic_starter', false);
}
//Loading Template of Description
if (!empty($modSettings['karmadescmod'])){
loadTemplate('DescriptionKarma');}
//Prepare some variables
$context['page_title'] = $txt['viewkarma_title'];
$context['linktree'][] = array(
'url' => $scripturl . '?action=modifykarma',
'name' => $txt['viewkarma_title'] );
//This users karma can't be changed
if (empty($modSettings['karmacantmodify'])) $modSettings['karmacantmodify']='';
$array_value = explode (',', $modSettings['karmacantmodify']);
if (in_array(($_REQUEST['uid']), $array_value))
fatal_lang_error('karma_cant_modify', false);
//This users can't changed karma to other users
if (empty($modSettings['karmacantmodify2'])) $modSettings['karmacantmodify2']='';
$array_value2 = explode (',', $modSettings['karmacantmodify2']);
if (in_array($ID_MEMBER, $array_value2))
fatal_lang_error('karma_cant_modify2', false);
// Start off with no change in karma.
$action = 0;
// Not an administrator... or one who is restricted as well.
if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
{
// Find out if this user has done this recently...
$request = db_query("
SELECT action
FROM {$db_prefix}log_karma
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)
list ($action) = mysql_fetch_row($request);
mysql_free_result($request);
}
// They haven't, not before now, anyhow.
/*
if (empty($action) || empty($modSettings['karmaWaitTime']))
{
// Put it in the log.
db_query("
REPLACE INTO {$db_prefix}log_karma
(action, ID_TARGET, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], $ID_MEMBER, " . time() . ')', __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
// If you are gonna try to repeat.... don't allow it.
if ($action == $dir)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
// You decided to go back on your previous choice?
db_query("
UPDATE {$db_prefix}log_karma
SET action = $dir, logTime = " . time() . "
WHERE ID_TARGET = $_REQUEST[uid]
AND ID_EXECUTOR = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
*/
/* They haven't, not before now, anyhow.
If the key isn't in the array it will return.
Or if it does exist and it's length is 0 then it will return.
If Karma Description Mod disable then easy smite or applaud */
if (!empty($modSettings['karmadescmod']))
{
if (!array_key_exists('Description',$_POST) || strlen($_POST["Description"]) == 0){return;}
}
else
{
$_POST['Description']='';
}
{ if (empty($action) || empty($modSettings['karmaWaitTime']))
{ $_POST['Description'] = AddSlashes($_POST['Description']);
if (!empty($modSettings['karmacensor']))
censorText($_POST['Description']);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// Change by one.
updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karmaGood' : 'karmaBad' => '+'));
}
else
{
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_TARGET=$_REQUEST[uid]
AND ID_EXECUTOR=$ID_MEMBER
ORDER BY logTime DESC
LIMIT 1
", __FILE__, __LINE__);
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
$restricttime = time() - $row['logTime'];
$timelog = (int) ($modSettings['karmaWaitTime'] * 3600);
// If you are gonna try to repeat.... don't allow it.
if ($restricttime < $timelog)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);
//Prepare link
if (isset ($_REQUEST['topic'])) {
$link = ($_REQUEST['topic']).'.msg'.($_REQUEST['m']).'#'.'msg'.($_REQUEST['m']);
$link = AddSlashes($link);
}
elseif (isset($_REQUEST['f'])) {
$link = 'PM';
}
// You decided to go back on your previous choice?
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
", __FILE__, __LINE__);
// It was recently changed the OTHER way... so... reverse it!
if ($dir == 1)
updateMemberData($_REQUEST['uid'], array('karmaGood' => '+'));
else
updateMemberData($_REQUEST['uid'], array('karmaBad' => '+'));
}
}
$request = db_query("
SELECT value
FROM {$db_prefix}themes
WHERE variable='enable_notify'
AND ID_MEMBER=$_REQUEST[uid]
", __FILE__, __LINE__);
$row = mysql_fetch_row($request);
mysql_free_result($request);
if (isset($modSettings['karmanotifier']) && !$user_info['is_guest'] && ($row['0'])==2)
{
$link=='PM' ? $url=$scripturl.'?action=pm' : $url=$scripturl.'?topic='.$link;
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_desc'])
{
$karma_pm_body_with = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_desc2'].$_POST['Description'].$txt['karma_pm_send_changelink'].$url;
}
else
{
$karma_pm_body_with = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_changelink'].$url;
}
else
if ($modSettings['karma_pm_send_desc'])
{
$karma_pm_body_with = $txt['karma_pm_body'].$txt['karma_pm_send_desc2'].$_POST['Description'].$txt['karma_pm_send_changelink'].$url;
}
else
{
$karma_pm_body_with = $txt['karma_pm_body'].$txt['karma_pm_send_changelink'].$url;
}
if ($modSettings['karma_pm_send_link'])
if ($modSettings['karma_pm_send_desc'])
{
$karma_pm_body_without = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'].$txt['karma_pm_send_desc2'].$_POST['Description'];
}
else
{
$karma_pm_body_without = $txt['karma_pm_body'].$txt['karma_pm_body2'].$_REQUEST['uid'];
}
else
if ($modSettings['karma_pm_send_desc'])
{
$karma_pm_body_without = $txt['karma_pm_body'].$txt['karma_pm_send_desc2'].$_POST['Description'];
}
else
{
$karma_pm_body_without = $txt['karma_pm_body'];
}
$modSettings['karma_pm_send_changelink'] ? $karma_pm_body = $karma_pm_body_with : $karma_pm_body_without;
if (!$modSettings['karma_pm_send_changelink']) $karma_pm_body = $karma_pm_body_without;
db_query("
INSERT INTO {$db_prefix}personal_messages
(ID_MEMBER_FROM, deletedBySender, fromName, subject, body, msgtime)
VALUES (SUBSTRING('$modSettings[karmaidmember]',1,255), '1', 'Admin', SUBSTRING('$txt[karma_pm_subject]', 1, 255), SUBSTRING('$karma_pm_body', 1, 65534), " . time() . ")
", __FILE__, __LINE__);
$ID_PM = db_insert_id();
$ID_PM2 = $_REQUEST['uid'];
db_query("
INSERT INTO {$db_prefix}pm_recipients
(ID_PM, ID_MEMBER)
VALUES ($ID_PM, $ID_PM2)", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}log_karma
SET is_read=1
WHERE is_read=0
AND ID_TARGET=$_REQUEST[uid]
", __FILE__, __LINE__);
updateMemberData($_REQUEST['uid'], array('instantMessages' => '+', 'unreadMessages' => '+'));
}
// Figure out where to go back to.... the topic?
if (isset($topic))
redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . $_REQUEST['m']);
// Hrm... maybe a personal message?
elseif (isset($_REQUEST['f']))
redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . $_REQUEST['pm'] : ''));
// JavaScript as a last resort.
/*
else
{
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>...</title>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
history.go(-1);
// ]]></script>
</head>
<body>«</body>
</html>';
obExit(false);
}
}
*/
// What's this? I dunno, what are you talking about? Never seen this before, nope. No siree.
function BookOfUnknown()
{
global $context;
if (strpos($_GET['action'], 'mozilla') !== false && !$context['browser']['is_gecko'])
redirectexit('http://www.getfirefox.com/');
elseif (strpos($_GET['action'], 'mozilla') !== false)
redirectexit('about:mozilla');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>The Book of Unknown, ', @$_GET['verse'] == '2:18' ? '2:18' : '4:16', '</title>
<style type="text/css">
em
{
font-size: 1.3em;
line-height: 0;
}
</style>
</head>
<body style="background-color: #444455; color: white; font-style: italic; font-family: serif;">
<div style="margin-top: 12%; font-size: 1.1em; line-height: 1.4; text-align: center;">';
if (@$_GET['verse'] == '2:18')
echo '
Woe, it was that his name wasn\'t <em>known</em>, that he came in mystery, and was recognized by none. And it became to be in those days <em>something</em>. Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind. And thus what was to be known the <em>secret project</em> began into its existence. Henceforth the opposition was only <em>weary</em> and <em>fearful</em>, for now their match was at arms against them.';
else
echo '
And it came to pass that the <em>unbelievers</em> dwindled in number and saw rise of many <em>proselytizers</em>, and the opposition found fear in the face of the <em>x</em> and the <em>j</em> while those who stood with the <em>something</em> grew stronger and came together. Still, this was only the <em>beginning</em>, and what lay in the future was <em id="unknown" name="[Unknown]">unknown</em> to all, even those on the right side.';
echo '
</div>
<div style="margin-top: 2ex; font-size: 2em; text-align: right;">';
if (@$_GET['verse'] == '2:18')
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 2:18</span>';
else
echo '
from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 4:16</span>';
echo '
</div>
</body>
</html>';
obExit(false);
}
}
?>
You really do need to learn how to do manual installations so I can't urge you strongly enough to study the links I gave you and to get your skills up to a level where you can do that.
This mod does its best to help you by making a backup file of the Karma.php that, if all went well, you should be able to use to overwrite the altered one so as to do a manual uninstall...those links I gave would have shown you that it was created and thus that reversing the process would have you overwrite the current file with the backup...ideally you would rename the current file to, say, Karma.phpold prior to copying in the backup file to replace it. The links would have shown you that the backup file is stored in Source directory in a directory called kdm_bak.
It really isn't that difficult but you do have to read through the process and pick up on what is happening.
Thanks, i'll give it a shot
How do I back up the Karma.php? where do I go? and what do I click?
Sorry.. Im really new to this.
anyone please. I'd like to try this mod.
Karma.php is backed up automatically by the mod when you install it but the standard SMF advice applies too...always back up all your forum files and your database prior to installing or uninstalling any mod or theme.
You backup your forum files by using ftp and copying them to your local machine.
thnks TS, anyone tried this mod with SoftDark theme by turklord? That's the theme we're using.
using SMF version 1.1.3
I've just installed this mod (ver 2.3) ... it first appeared all went well, however, when I go into the karma page in the ACP, there are new checkboxes, but the description for each line is blank.
please advise
Thanks ~ Belle
The same thing happened to me!
What is default language of your forum??
English,I already checked to see if it was English UKT Or whatever.
:)
The mod, like almost all mods, only installs into the SMF Default theme so if you are using any other theme you will need to manually install into it.
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Thank you for your replies ~
My forum is English - and the new option checkboxes show up, but not the descriptions preceding the checkboxes. (see attachment)
It's doing ^that^ in both the default theme as well as in the the one other theme I've installed and use for my forum default theme. (I haven't yet gone thru with the modparser to manually install it to the forum theme I've installed)
I found and read the topics you pointed to prior to any downloads .. but I'll re-read them to see if I missed any important steps.
I used the package installer thru the ACP, but I'll go thru the different steps with the modparser to see if it did everything in the default theme that it was supposed to have done.
I've attached a screenshot to show what it is doing. I used the screenshot from the mod page to read what each checkbox was supposed to be for to see if I could get any results even though the descriptions weren't showing up.
also, where would I be able to find what is supposed to be the output of this mod .. the karma log results?
Thanks for your assistance
~ Belle
Show your error log please
that's the problem .. I'm not getting an error. at least not one that I've seen.
by the way, I did try to give karma to someone and got the page that (I'm assuming) is where you'd put the explanation, but the label/description was missing from there as well...entered an explanation - clicked on the unlabeled button there and the karma went thru as it's supposed to.
so the mod is working, sort of.
I've just gotten back from dinner, so I'll start going thru the modparser to see where the language codes are first and check back here in a bit.
I really appreciate your helping me with this.
~ Belle
Do next steps:
Open listed here files and add codes at the end of each file.
At the end of Admin.english.php add this
$txt['maintain_karmalog'] = 'Empty out Karmachange Description log';
Errors.english.php
$txt['cannot_karmalog_view'] = 'Sorry - you don\'t have the proper permissions to view the Karma Description list.';
$txt['viewkarma_error'] = 'User ID must be a number';
$txt['karma_not_topic_starter'] = 'Sorry, he is not topic author.';
$txt['karma_cant_modify'] = 'Sorry, you can\'t modify karma to this user.';
$txt['karma_cant_modify2'] = 'Sorry, you can\'t modify karma to other users.';
Help.english.php
$helptxt['karmapermiss'] = 'By default this option is switched off and Karma Log can look only admins. If you want to do Karma Log available for other users or moderators, etc, enable this option and give the right that group, which can look Log in "Permissions" section.';
$helptxt['karmaotherstat'] = 'Show other karma statistics like Max applauded users or Max smited users and so on in whole karma log.';
$helptxt['karmalinks'] = 'If you enable this feauture, users will see two links in their profiles (Own or other users). They can see who change their karma and whom they change it. Karma Description Mod must be enabled';
$helptxt['karmakarma'] = 'It\'s display users karma in Karma log opposit the usernames. For example: Username (+12/-8)';
$helptxt['karmaurl'] = 'If you enable this option, you and your users can view where their karma was change.';
$helptxt['karmaisowner'] = 'If you enable this option, only profile owner will see two links to his own karma log. By the way, your users will resieve an error if they input an url adress (like http://your_forum.com/index.php?action=ownkarma;u=other_user) by the hand if you don\'t want your users can view other users karma log. Whole karma log will be disabled too. ONLY OWN KARMA LOG.';
$helptxt['karmanotifier'] = 'If you enable this function, your users will see another one field in their profiles in \'Look and Layuot Preferences\' section. It give an opportunity to notify users when their karma will be changed by two way notify: Popup Message and Personal Message.';
$helptxt['karmaidmember'] = 'If your users enabled Karma Notify function and choose Personal Message notify, they will recieve a Peronal Message from this member id. For example, if you have ID_MEMBER=1 they will recieve PM from you and so on. If you set member id = 0 your users will recieve a message from Admin Guest.';
$helptxt['karma_pm_send_link'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to their own karma log.';
$helptxt['karma_pm_send_desc'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see the reason of karma change.';
$helptxt['karma_pm_send_changelink'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to message where their karma was changed.';
$helptxt['karmacantmodify'] = 'Comma separated, without any spaces.';
$helptxt['karmacantmodify2'] = 'Comma separated, without any spaces.';
index.english.php
//Karma Description Mod
$txt['karmaview'] = 'Karma Change Log';
$txt['whykarmamod'] = 'Karma change';
$txt['Description'] = 'No Description';
$txt['karmamoder'] = 'Reason for changing the karma of this user';
$txt['karmarequare'] = '(Required field)';
$txt['karmawho'] = 'Who';
$txt['karmawhos'] = 'Whom';
$txt['karmawhat'] = 'What (+/-)';
$txt['karmadesc'] = 'For What';
$txt['karmatime'] = 'When';
$txt['karmanumb'] = 'Values: ';
$txt['statkarma'] = '[Karma Stats]';
$txt['viewkarma_title'] = 'Karma Change Description';
$txt['deletekarma'] = 'Delete';
$txt['clearkarma'] = 'Clear';
$txt['karma_delete_confirm'] = 'Are you sure you want to delete this record?';
$txt['karma_back'] = '< Back';
$txt['karma_continue'] = 'Continue >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';
$txt['karmawhere'] = 'Where';
$txt['karmawhereurl'] = 'In topic';
$txt['karmawhereurl2'] = 'In PM';
$txt['karma_delete'] = 'Delete';
$txt['sure_about_karma_remove'] = 'Are you sure you want to delete this record?';
$txt['karma_stat'] = 'Karma Statistic';
$txt['karma_top_applaud'] = 'Top 5 applauded users';
$txt['karma_top_smite'] = 'Top 5 smited users';
$txt['karma_other_stat'] = 'General Statistics';
$txt['karma_max_appl'] = 'User MAX applauding other users';
$txt['karma_max_smit'] = 'User MAX smiting other users';
$txt['karma_today'] = 'Karma points today';
$txt['karma_today_plus'] = 'Today "+"';
$txt['karma_today_minus'] = 'Today "-"';
$txt['karma_notifier'] = 'Your karma was changed on ';
$txt['karma_notifier2'] = ' points. Do you want to see the karma description log?';
$txt['karma_pm_subject'] = 'Karma Notification';
$txt['karma_pm_body'] = 'Dear user. Your karma was changed. ';
$txt['karma_pm_body2'] = 'You can see the log if follow this link:\\n'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Send the reason in personal message';
$txt['karma_pm_send_desc2'] = '\\n\\nThe reason of changing was: ';
$txt['karma_pm_send_changelink'] = '\\n\\nYour karma was changed on this message:\\n';
ManagePermissions.english.php
$txt['permissionname_karmalog_view'] = 'View Karma Log';
$txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the Karma Description screen by clicking the link in the \'Karma Stat\' section of the board index.';
ModSetting.english.php
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic\'s author karma';
$txt['karmanotifier'] = 'Enable karma notification';
$txt['karmaidmember'] = 'Send PM from this Member ID (1 by default)';
$txt['karma_pm_send_changelink'] = 'Send link in personal message to message where karma was changed';
$txt['karma_pm_send_link'] = 'Send link in personal message to own karma log';
$txt['karmacantmodify'] = 'User ID\'s, whose karma can\'t be changed. <div class="smalltext">Comma separated, without spaces. For example: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID\'s, who can\'t modify karma. <div class="smalltext">For example: 2,412,88</div>';
Profile.english.php
$txt['who_change_my_karma'] = 'Who changed my karma';
$txt['whom_i_change_karma'] = 'Whose karma have I changed';
$txt['enable_notify'] = 'Notify me when my karma will be changed';
$txt['enable_notify_none'] = 'don\'t notify';
$txt['enable_notify_popup'] = 'Popup window';
$txt['enable_notify_pm'] = 'Personal Message';
Who.english.php
$txt['whoadmin_viewkarma'] = 'Viewing <a href="' . $scripturl . '?action=viewkarma">Karmachange Description log</a>.';
$txt['whoall_modifykarma'] = 'Changing karma.';
ok ..
I did all ^that^ .. does it matter that I don't have the word 'english' in some of those files?
for example, I have Admin.php - but NOT Admin.english.php
I have help.php - but NOT help.english.php, etc (as you have it in the above post).
I put those codes into the files that most closely resembled what you've posted
after doing that^ the karma part in ACP is still showing blank as before and now I am receiving this error at the top of each page:
Notice: Undefined index: lang_character_set in /home/bellel2/public_html/forums/Sources/Load.php on line 179
does that help narrow things down? and/or am I missing a language file altogether?
thanks ~ Belle
edited to add that the one theme I have installed is no longer working, I just get the above error on the page
no, no, no... this is a source files with engine as far as i say you need other files - with language strings. They are placed in /Themes/default/languages
Delete all changes that you maded
oops, sorry .. I don't know what I was thinking *blush*
I deleted my mistakes and went into the /default/languages folder and made the changes you posted.
I do NOT have a file index.english.php in there.
is that what is causing problems? where do I get it from?
huggs ~ Belle
it's impossible...
but if you haven't any installed mods, try to upload all your forums files again
oh girls..... =)
you're right, I was wrong... the index.english.php file was toward the bottom of the file list (because of lower case)
so now I feel like a total idiot LOL... however the changes still didn't work.
I've checked and double checked to be sure I cepy/pasted everything correctly.
before installing this mod, I did attempt to install the paypal donation mod - using the installer with the forum ACP - it's not working for me either (donation button/link not showing in menu bar and the donation area in the ACP isn't there as it should be). Getting that mod to work was to be my next task to tackle .... but my members were heckling me to do the karma options first. ;D
I'm sorry to be such a pain.
huggs ~ Belle
I think you use another theme then default...... what did you have in /Themes directory?
I must go. See you tomorrow
in my themes directory I have babylon, classic, default and bright forest (the one theme I have installed and use as my forum default - the karma page shows the same way in that theme though as it does using the default theme, descriptions blanked out like in the acreenshot), there is also a file index.php in that directory
I have triple checked and the changes you indicated above were definately made to the default theme files. changes do not reflect in the default theme on the forum.
please let me know if you think of anything else ...
Thank you for working with me tonight, I am grateful to you for your assistance.
huggs ~ Belle
I got it to work!!
I kept checking/double checking/triple and quadruple checking ... then I noticed there were english-utf8.php files in that directory too... ???
so I added one of the changes from above to one of the pages and lo and behold! it worked!!
so, I applied all ^those^ changes to the english-utf8.php and everything is working just as it's supposed to. :) it works with the bright forest theme as well, so I'm reeeally happy.
thank you again for your continued assistance tonight - I apologize for my girly goofs :D
This mod is just what I was needing and my members are going to be thrilled (I'll probably get a bunch of applauds from them for getting this applied to the forums) LOL
now I'm off to see if I can get the paypal donations mod to work using the same theory....
goodnight ~ Belle
You might be best to go to ACP>Server Settings and switch your forum to English and not English utf8...this would save you having to do anythign to the English utf8 files. To make sure your members don't select English utf8 and override the forum default setting go to ACP>Features and Options>Basic Features and uncheck "Enable user-selectable language support" then save (bottom of the page.)
I've done that now TrueSatan ... thanks :)
TrueSatan, big thanks for your assistance.
BelleLeDonna good lack
My pleasure...support is often hard work and as I suspect that English isn't your native language I'm even more willing to help where I can.
just installed it and it is functioning "i suppose" coz I see the setting and members can give + / - karma..
But wehere and how do I get to see the karma log?
Sorry.. Im really not good at this.
Firstly please go to ACP>Features and Options>Karma and set the mod up enabling it and the log for it etc then go to ACP Permissions and set up the permissions for the mod.
The Karma Log (if enabled and if you allow it to be seen) is accessed via members profiles...click the "Who Changed My Karma" or "Whose Karma Have I Changed" links.
I am having the same problems as Belle with blank descriptions in the Karma settings. I have 1.1.3 and no other mods installed, using Default theme.
I made sure language was set to English and went through and updated all of the files listed by Grek but everything is still blank. Is there anything else I need to do to get these to show up? When I click on someone's karma, it is still just adding a number rather than bringing up a description page.
Thanks for your help! :)
Firstly go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
If that doesn't clear the problem then, unfortunately, I think you'd be best to go through the edits the mod makes and ensure that all were actually made. If you hadn't done the above CHMOD work it's possible that some of the files the mod seeks to edit couldn't be edited and thus that the installation wasn't complete. You will need to manually add edits if they aren't in place. I'd also unpack the mod package on your local machine and re-upload the files the mod seeks to add making sure that the new versions have CHMOD 777 or 775 depending on you hosting.
The following links may help:
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
this mod she work automatic..
when members send 5 post she give Karma !?
when can exemplo
You need to set the mod up in your ACP for it to work...see ACP>Features and Options>Karma and ACP>Permissions>Permissions by Membergroup.
The mod doesn't give extra Karma for numbers of posts but members can be made not to be able to alter the Karma of other members until they have made a certain number of posts (5 is the default.) If you want to be able to reward people for posting the Shop mod might be more suited to the task though it doesn't do exactly what you have requested.
thank you i will try ...
Quote from: TrueSatan on September 21, 2007, 06:00:20 AM
Firstly please go to ACP>Features and Options>Karma and set the mod up enabling it and the log for it etc then go to ACP Permissions and set up the permissions for the mod.
The Karma Log (if enabled and if you allow it to be seen) is accessed via members profiles...click the "Who Changed My Karma" or "Whose Karma Have I Changed" links.
thanks. But I want the Karma log to be visible only to Administrator (in case, its me). I have installed and enabled it in my test site, but I dont know where I, as Administrator can see the log.
Another thing, I enabled the notification but when I give karma to my other test account which is not set to admin account I dont receive any notifications.
im using smf 1.1.3 and the latest ver of TP.
here's a screen shot
If you have set the Karma mod up, as I said, in ACP>Features and Options>Karma restricting it as appropriate then the ACP>Permissions>Permissions by Membergroup for Administrator you will see the links for it in your profile but no other member will have them in their profile...click on the profile links, as previously stated, to see the log.
Your problem, if it persists, isn't with TP it's more likely that you haven't edited the mod into that custom theme you are using.
TrueSatan ,
thanks, I got to see it now.. It is also available under forum stats (see attachment). Great mod.
My only concern now is that after installing and enabling it, it kinda slowed down our forum. We're experiencing 5-10 seconds delay in page loading. Is there any fix for this? I have to ask my members if they are willing to sacrifice the speed of forum page loading in favor of this great mod. Although having this mod without slowing effect would have been idealy great.
Thanks again.
No...not available under forum stats (that would slow your forum even more BTW)...there's not a lot you can do about speed issues save for the maintenance options in the ACP...get the database in as good a state as you can and it will run faster (not necessarily a lot faster but faster all the same)...speed is always going to suffer if you add extra features particularly on slow hosts...unfortunately it looks like you have a choice to make.
QuoteAnother thing, I enabled the notification but when I give karma to my other test account which is not set to admin account I dont receive any notifications.
Did you enable it(notification method) in your other user's profile?
Quote from: Grek_Kamchatka on September 24, 2007, 06:09:41 PM
QuoteAnother thing, I enabled the notification but when I give karma to my other test account which is not set to admin account I dont receive any notifications.
Did you enable it(notification method) in your other user's profile?
I did not. Thanks will try it.
Is there a way to increase the "Top 5 applauded users" list in the statistics? it only displays top 5 and there is no where that i can see to change it. any ideas? thanks,
Quote from: bassbass on September 25, 2007, 10:38:04 PM
Is there a way to increase the "Top 5 applauded users" list in the statistics? it only displays top 5 and there is no where that i can see to change it. any ideas? thanks,
Open Viewkarma.php find //Top 5 max applauded users. and //Top 5 smited users. SQL queries. It is 425 and 452 line. Replace LIMIT 5 with LIMIT 10 4example. or LIMIT n where n - is your number. Understand?
Great, thanks for the quick response. it worked for the list but the "Top 5 max applauded" and the "Top 5 smited users" didn't change, i did changed it to "Top 10 max applauded users" and "Top 10 smited users"
here is the link, http://www.gtc-music1.com/forum/index.php?action=viewkarma
Thanks Again,
Is there a way to let the users only see their own received and given karma, and how would I set it? I can only see the option to let everyone see everyone's karma in their profiles, right?
Yes i think you can. Admin>Features and Options>Karma then select the following,
1. Allow users view Karma Description log (See Permissions) NO
2. Enable karma links in users profiles YES
why i've got this messages
Parse error: syntax error, unexpected '*' in /home/iqem/public_html/Sources/Karma.php on line 947
after install this mod, what's wrong with it...? ???
It's likely that there was some other change to the file made by another mod as this mod is widely used and not known to have such a problem as you report. If you would, please, post a copy of your Karma.php file then either Grek or I may be able to see what has happened (add it as an attachment to a post.)
here they are, check attachment...please help... :'(
You appear to have installed the mod more than once...the file you posted has multiple installs of it. You need to go through the process of a manual installation removing the duplicated code from all the files the mod affects...the following links give details of the manual install process.
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
I installed the karma description mod and there was an error on de-installation on the karma.php.
Now its gone, and when I try to change karma I get an error message 'Unable to load the 'main' template.'
I have the karmalog mod installed in its place so it might be connected to that, but I doubt it.
How can I restore things back to normal?
Apologies if this has been said but I cant read all 43 pages.
I have SMF 1.1.4 installed on my site...when i try and install this mod, it displays an error saying "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." If i do a manual install, would it screw up my forum at all? Is there an easier way to install it without manually installing it, since auto-installing doesn't seem to want to work?
The first thing to say is that standard SMF advice applies...you should backup your files and database before installing any mod or theme so that you don't get in the sort of position you mention! The readme of the mod (shown when you installed it) even tells you
QuoteKarma Description Mod (ver. 2.3) Don't forget to BACKUP, please.
...so as to reinforce this point.
If you have followed this advice then simply restore from your backup.
As you saw an error on uninstallation you should have stopped at that point and done a manual uninstall if you didn't have the backup available.
Given that you now say you have installed a different Karma related mod and unless you have done the backup you were advised to do you may need to go through a manual uninstall of the mod checking to see that none of it is left behind.
The most likely scenario is that only the Karma.php file is affected so, as a shortcut, you can try renaming the existing file to Karma.phpold and editing a fresh Karma.php file taken from the SMF install package to add the other Karma mod you want to have into it then upload the edited file to your forum. This is likely to solve the problem but not certain to do so...if it doesn't work then manual unistall is your way out of it unless you have the backup you were advised to make. Sometimes if a file is showing an error the rest of the files that would be edited by the Package Manager after that failed file won't be edited at all so you may still need to do all the process of a manual uninstall.
As you can see the advice to make a backup is given for good reasons.
@ RammerRW
You should note the advice to do a backup first...see the last reply I made to another member.
I've just tried an install of the mod into a test forum running SMF 1.1.4 with no problems at all...please try to download the mod from the mods page using a different browser and see if that solves your problem...it may have been a browser glitch.
Quote from: TrueSatan on September 28, 2007, 08:26:48 PM
@ RammerRW
You should note the advice to do a backup first...see the last reply I made to another member.
I've just tried an install of the mod into a test forum running SMF 1.1.4 with no problems at all...please try to download the mod from the mods page using a different browser and see if that solves your problem...it may have been a browser glitch.
I backed up my database a couple times (including the table structure).
I just tried using Firefox 2.0 and Internet Explorer 6, and they both give me the same error. Does the fact that i am clicking the "[Download]" link in the package manager have anything to do with this?
Also, the server my site is on uses PHP version 5.2.3. Does this also affect anything?
So, would you know what's wrong? Am i doing something stupid that is causing this? I would like to bring my forum out of maintenance mode soon \:
Firstly you don't seem to be understanding that we aren't just asking that you back up your database but that you also back up your forum files...if you then change the files via a mod or theme you can revert to the backup should anything go wrong...just backing up the database will only let you restore the database.
The site I tested the mod on using SMF 1.1.4 also happens to run on php 5.2.x so that isn't an issue.
I would try the download of the mod again from this site post a reboot of your computer...as I said I went through the whole process and couldn't replicate your issue.
I've seen some similar reports in a rather random spread over other mods so I suspect it might be a server glitch on the SMF hosting here but can't be sure of that (obviously.)
Simply in order to try to help I'll add the mod as an attachment to this post...if mods here choose to delete the attachment they can do so.
As you ask about using the "download" system to upload the mod to your site I'll add that that's fine but you should do the following before adding any mods.
Assuming you want an English only forum: You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Quote from: TrueSatan on September 28, 2007, 05:24:02 PM
You appear to have installed the mod more than once...the file you posted has multiple installs of it. You need to go through the process of a manual installation removing the duplicated code from all the files the mod affects...the following links give details of the manual install process.
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
sorry but i dont get it...can you make it more simple or just tell me me which one of the codes that had been wrong ?! thx before... ;)
Ah, well, i backed up my entire site a small while ago, so i have a back-up of my forum's files, too.
I tried setting everything to writable, which was successful. I set the language to English (not utf-8) and disabled the option to pick your own language. I then tried re-downloading the mod via the package manager, and it didn't work. I even just now set up another SMF forum (updated to 1.1.4) via Fantastico and it still said it was corrupt or not compatible with this version of SMF.
I don't quite understand what you are saying here: "I would try the download of the mod again from this site post a reboot of your computer...as I said I went through the whole process and couldn't replicate your issue." What do you mean, "post a reboot of your computer?"
@ iQEM
Your Karma.php file shows the code the mod seeks to add not added just once but twice and hence the file is both huge and doesn't work properly...you need to use the links I gave you to see what code is added to each file the mod edits and to make sure it is there but there only once...if it is there twice you need to remove one instance. It's a long job with a mod like this but the links I gave do show what you need to do (particularly the Package Parser will show you the mod edits in an easy to understand way.) There's no way round doing the long, and rather tedious, task of putting the files right one by one though, as you must realise, if you'd have made the backup the mod advised you to make the editing wouldn't be needed.
It is unlikely that only one file, or one edit, is affected so you need to go through them all. Take it slowly and you'll get there if you follow carefully what is shown by the Package Parser as it will give you the details of what to look for.
@ RammerRW
Fantastico often gives problems when used to install SMF...it often sets the forum to English utf8 for a start.
By "post a reboot of your computer" I meant do it again after rebooting your computer so that any cache of the download would be completely cleared and thus you would be sure of getting a fresh download.
Did you use the copy of the file I provided? If you use your CPanel File Manager, or other ftp method, then also try uploading the copy I provided into your packages directory then use the ACP>Packages>Browse Packages to install the mod. If you do it this way is should install without issues.
Ah! I wasn't aware one would install packages in this manner. It said the test on Admin.php failed, but i think that's because i manually made the modifications for the mod before this. Thanks! (:
My pleasure...it's not the easiest way to add a mod but if other methods fail it can get you out of problems.
TrueSatan, you genius. Thanks for advise again
a lil quest abt this mod...
do user get to see in their profile that who give them karma points....
?????????????????
like VB
Looks like this mod has been around for a while, but I just found it. Just wanted to say thanks!
Quote from: asdas2 on October 01, 2007, 12:32:24 AM
do user get to see in their profile that who give them karma points....
If you check "Enable karma links in users profiles" it should. But for some reason it isn't working on one of my forums. :-\
is it working for anyone else ?
You also need to go through the permissions by membergroup to allow users to "view Karma log". I have it on my forums and it works faultlessly.
thanks all
Hi Guys,
I'm trying to install this mod (2.3) with no success so far...
I'm Using SMF 1.1.4
When I install, all files are saying success, but actually the mod doenst work, and when I check the files they are not updated with the modifications.
I've changed CHMOD to 777 for all files using ftp, tryied again, and nothing, the files are not updated.
Followed some of the tips given in previous posts, like changing to english and not enabling users to change language, etc, etc... and nothing. Tryied to upload manually the file into the servers package folder... and nothing.
Any idea that might help ?
Any idea ?
Firstly you would be best off if you used the SMF inbuilt system to change the CHMOD rather than using FTP...it's a lot easier.
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Presumably you are using the SMF Default theme...this mod, like almost all mods, only installs into the SMF Default theme...to use it in a custom theme you must edit it into the theme files manually.
Are you able to install other mods without problems and do they work? If not then please report back and we/I will try to work with you to fix the problem.
If all else fails (and other mods install properly for you) you will need to do a manual installation of the mod:
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
I've done a complete manual install and its working.... not sure what happened at this board, since i tried at other boards and it worked with no trouble (all with the same characteristics).
thanks for the help
My pleasure...glad it worked out well in the end.
In case you install this mod on smf 1.1.4 and then you uninstall it and then you have "Field 'Description' doesn't have a default value " errors, use phpmyadmin to delete the fields: description, is_read and link of the table named smf_log_karma.
It never worked for me :(
Is there a way to make the description appear on posts instead?
kind of like this? (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi195.photobucket.com%2Falbums%2Fz226%2FKing_Steph1%2Fexample.gif&hash=f12bd82cdca66efb400bb4a322a0c019037bcb93)
Bump
Hey, wonder if you can help, I installed this mod without any problems at all but for some reason the links in the mini-profile are'nt showing up. By that the "Applaud" "smite" links below peoples avatars.
I have checked profile.template and Display Template, and all the codes appear to be all present:
for example:
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
I'm pretty certain the above is what is displayed in mini profile, so i'm a bit puzzled. :s
can we have an addon with this
so when it goes to the explanation a user can choose 1-10 points to award with/take away from the user?
or what ever the admin specifies?
hey again, oddly enough the links to give someone bad/good karma appear in their miniprofile in the PM centre bt not in the forums. Can you point me into right direction here. Please?
Hi Folks, i need some serious help! to make the story short, i messed up my databse and some one here helped greatly and got everything back except the karma feature. here is what i get when klicking on karmas or the karma stats,
Database Error
Unknown column 'lk.Description' in 'field list'
File: /home/gtcmusic/public_html/forum/Sources/Viewkarma.php
Line: 91
and here is a link to my forum,
http://www.gtc-music1.com/forum/index.php
you can also log in as a member,
UN: test
PW: test
Thanks in advance
@ Sixu
Firstly are you using a custom theme...any theme other than the SMF default theme is a custom theme? If so you will need to manually edit this mod into your theme files. If you are using the default theme then check your language and cleanup permissions settings as per previous postings to this topic and if they are correct then manually check each of your files that the mod edits to ensure that the mod has been edited into them...fix as needed.
Never mind regarding the above post needing help. i got it fixed!
So I tried to install this mod. But I got this error message
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
And under that:
1. Execute Modification Karma_Description_Mod_1.xml Modification parse error
2. Execute Modification - Modification parse error
3. Execute Modification Karma_Description_Mod_2.xml Modification parse error
4. Execute Modification - Modification parse error
5. Execute Code db_change.php
6. Extract File ./Sources/Viewkarma.php
7. Extract File ./Themes/default/Viewkarma.template.php
8. Extract File ./Themes/default/DescriptionKarma.template.php
If I want to install it anyway I got this:
Fatal error: require() [function.require]: Failed opening required '/mounted-storage/home71b/sub004/sc41252-UBXY/www/Packages/temp/./db_change.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home71b/sub004/sc41252-UBXY/www/Sources/Packages.php on line 552
How should I fix this?
I read the manual installation post of TrueSatan and tried to find how I should do it with packageparser but I don't understand a word of it.
Alright, from what I can tell, I have everything set up right, but I cannot view the log. There is no link in the stats section or in the profiles. It's set that everyone can view it. I've attached a screen shot of the settings page.
Where in the profiles is there supposed to be a link?
Any help appreciated, thanks
on the index theres a link next to the view stats link....in the profile its in the upper half, right before the date registered and last active info :)
That looks distinctly like a custom theme and like almost all other mods this mod will need to be manually installed into your custom theme...BTW anything but the SMF default theme is a custom theme:
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Thanks for the info, I was under the impression that any theme that came with smf was a default theme.
i have this error when i click "karma stats" i get this..
Database Error : Unknown column 'lk.Description' in 'field list'
File: /home/mhd-01/www.clubdelpoker.it/htdocs/forum/Sources/Viewkarma.php
i use latest version of smf and default theme..
what i have to do!?
In ACP>Features and Options>Karma have you enabled the Karma? The "lk" refers to Log Karma which is a database area set up in the initial forum install and not by this mod which makes me think that it is a basic forum error not a mod error...try making sure the karma is enabled and then make sure some member(s) get some karma points do something gets into the log and see if the error persists.
Quote from: TrueSatan on December 12, 2007, 08:11:06 PM
In ACP>Features and Options>Karma have you enabled the Karma? The "lk" refers to Log Karma which is a database area set up in the initial forum install and not by this mod which makes me think that it is a basic forum error not a mod error...try making sure the karma is enabled and then make sure some member(s) get some karma points do something gets into the log and see if the error persists.
nothing....
I would suggest that you uninstall this mod (remembering that you were advised to make backups of your files during the install), paying particular attention to Karma.php which you may need to replace from backup, and see if the problem still persists...if it does then this mod is clearly not to blame for it.
Quote from: zackpack on December 12, 2007, 06:27:19 PM
i have this error when i click "karma stats" i get this..
Database Error : Unknown column 'lk.Description' in 'field list'
File: /home/mhd-01/www.clubdelpoker.it/htdocs/forum/Sources/Viewkarma.php
i use latest version of smf and default theme..
what i have to do!?
sounds like you have the same problem i had, i agree with TrueSatan, try to install the mod manually
where am i supposed to give an explanation?
Its enabled but when i click on the karma+ or- near the poster profile it just gives 1 to it but nowhere to give an explanation.
where is it supposed to be?
alright, solved:)
"Applaud or smite users without explanation" i thought this makes "explanation" optional, so I can make a karmachange without an explanation...
Hello, is there a way to get this working for 1.1.4 which has been out awhile? I had a request from my community to offer descriptions for karma and I found this plugin. Any chance of getting this working for 1.1.4 soon?
Thank you in advance!
It already works for SMF 1.1.4. Please just install it as per usual.
Question about the karma statics,
Is there a way to get staff not on the karma statics top 5?
Hi there, I'm a web developer, I can help in the development of the new version for smf 2.0. Can you tell me have you began any work on it?
Thanks.
OK, I've installed this and everything seems okay. I can access all the options in Features and Options > Karma, and when I applaud or smite a user the page pops up that asks me to give an explanation (as checked), but there's no option to view the Karma stats page *anywhere*. All the right boxes are checked in the options.
I assume it's meant to be next to the normal stats button on the main page but mine is not visible.
I am using a different theme and I assume this is the problem? If so, how do I go about fixing this?
SMF Version: 1.1.4.
Thanks,
Sheamus
You have to have the permission to view it, it can be modified in the permissions page.
altought i cant make it work for other than the admin right now, but it worked before;)
Quote from: seymoor on December 30, 2007, 12:45:18 PM
You have to have the permission to view it, it can be modified in the permissions page.
altought i cant make it work for other than the admin right now, but it worked before;)
Cheers; however, I thought admin was permissioned to be able to see everything by default? You can't even adjust an admin's permissions, can you? It seems to be always set to ALL on my SMF, with no option to edit.
OK... I just permissioned it so my moderators can 'see' it, but it's still not showing up on my main page, so I'm assuming it is a theme issue.
I'm right about where the karma stats link is, yeah - next to the standard More Stats option?
I've figured out a way to manually view the karma log by adjusting the URL but as said there's no option to look at this in the forum itself. So... my problem remains the same. :)
If it's a theme issue then switching to the default theme to see if it's there or not should tell you the truth.
You are right about the position of karma stat's button it should be next to the [more stat]
btw I'm having the same problem here but as mentioned before, it was working earlier, so I just "choosed" to not permit to see the stats for users from my "free will" lol
seymoor is quite right in saying that if the mod works properly in the SMF default theme then getting it to work in a custom theme is merely a theme issue...as we can't know every theme we can only give general advice on installing into custom themes and it may be best to query the peculiarities on a particular custom theme with the developer of that theme.
Seymoor...your own problem of a part of the mod now not working when it did work before is unlikely to be a problem in the mod itself...more likely you have made some other change to your forum that has affected the mod...maybe another mod has been added or an edit to the files has been made.
I have successfully installed this mod in the default skin. Great work, thanks.
Any tips on how to manually add it to other themes? Thanks guys!
Yes... that's why I said that it was working before.
And as I don't know how to solve it, it will be better for the forum if I start to work on the content, leaving those countless modifications for another time.
Quote from: endiZ on December 30, 2007, 04:59:27 PM
I have successfully installed this mod in the default skin. Great work, thanks.
Any tips on how to manually add it to other themes? Thanks guys!
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Okay, I've sorted this now, thanks to that parser. Cheers!
Quote from: NuhNuh on December 27, 2007, 05:47:13 AM
Question about the karma statics,
Is there a way to get staff not on the karma statics top 5?
Anyone?
ok I just installed this mod and I have to say it works GREAT!!! I use smf 1.1.4, Tiny Portal, and I have several other mods. No problems with installation, and I didnt have to modify anything to make it work with the theme I use (Blue Ace/TP).
(having it so staff doesnt show up on the stats list would actually be cool.) :)
Thq Kimmie
Grek_Kamchatka
пофикси проблему с XSS а то люди так и используют бажную версию.
посмотри может данный фикс и поможет в этом деле
http://www.simplemachines.ru/index.php?action=dlattach;topic=353.0;attach=1520
Quote from: Kimmie on January 13, 2008, 04:11:25 AM
ok I just installed this mod and I have to say it works GREAT!!! I use smf 1.1.4, Tiny Portal, and I have several other mods. No problems with installation, and I didnt have to modify anything to make it work with the theme I use (Blue Ace/TP).
(having it so staff doesnt show up on the stats list would actually be cool.) :)
True! I manually delete all smites and applauds my staff do anyway :)
how do you increase the # of characters you can enter in the karma description. i believe the default it 68 characters?
Hi, this is a great mod! :)
But, I'd like to use it with DefaultMC -theme, and in Finnish.
I don't care if the functionality itself stays in English, just as long as I could get it to work in a board that's in Finnish.
Would that be possible, and if then how?
Thank's in advance for everyone willing to share their knowledge. :D
EDIT: Just to clear this a bit, it does work ok with DefaultMC, but not in finnish on Default or DefaultMC. :)
Nevermind, I got it figured out with the help of this site: http://www.smfhacks.com/packageparser/package.php
*happy*
Love this mod! Been using it for a long time.
However, recently I started having a problem with the "In Topic" feature, where users can click that link and see where they were given karma.
When you click it , it just goes to the main page of the forum.
I have pretty URLs installed as well (and a few other mods) but I wonder if the pretty urls is causing the problem. When you look in the address bar after clicking the topic link, you see the pretty url for the topic but it looks like it's adding the post number twice.
Do you know about any conflict with pretty URLs? I'll ask on that board as well after getting an answer here. Maybe a reinstall of pretty URLs would fix it. Hmmmm.....
is there a way to disable regular users from viewing who smited them? perhaps changing the name to "censored" and taking away the profile link?
Another question...I'm running version 2.2 of Karma Desc now. To upgrade to 2.3, do I need to remove the old version? Is there anything else I need to do to make sure all goes well?
Haven't upgraded lately so can't remember. :)
Quote from: cassie on January 21, 2008, 12:26:18 PM
Another question...I'm running version 2.2 of Karma Desc now. To upgrade to 2.3, do I need to remove the old version? Is there anything else I need to do to make sure all goes well?
Haven't upgraded lately so can't remember. :)
Yeah, if theres no upgrade file you have to uninstall :(
I think before when I installed a new version, I had to do something with the karma.php file. Delete the current one and copy into my database the current one of the current SMF version. Is that still the case?
Can someone give me step by step so I don't mess this up? My members love karma and get testy if there are any problems :)
During installation the mod makes it very clear that you should backup your files, this is because with such a big edit to the karma files things can go awry on uninstall. You may need to either go back to that backup of Karma.php or replace the file (post uninstall of the old version of the mod) with a fresh file from the SMF installation package, manual editing to take into account any other mods you may have that may have affected the file.
Your posting appears to confuse database and files.
Once you have done the above a normal installation of the new version (with appropriate backup done as the mod advises) should be a simple matter.
Nope, I'm not confused about databases and files.
Just found the info I had saved in my personal messages.
Previously, I had to delete the Karma.php FILE which is in the "Sources" folder in the directory where you have the forum installed.
Then I had to get the current version of SMF and copy that version of Karma.php into my forum directory.
Since I'm not sure if I have to go through that again to install the latest version and the mod developer hasn't responded, I'll leave well enough alone for now.
what about installing a complete fresh copy of the SMF and all the updated mods, then import your database files. this was the easiest way for me, and it was quick. if you have mods like Gallery, then you need to import these files as well, also the attachments if you want to keep the attachments in place. what database are you talking about, the heart and sole of you forum the one you setup using cPanel and phpmyadmin, or is there another database in this mod i don't know about?
Cassie, the mod developer's native language isn't English and so, with his kind permission, I assist him in giving some of the English support for his mod...that he does so much to help in a language that is, to him, foreign is quite a feat.
bassbass suggestion will work perfectly well as will the advice I've already given you.
Quote from: Alundra on January 21, 2008, 11:06:27 AM
is there a way to disable regular users from viewing who smited them? perhaps changing the name to "censored" and taking away the profile link?
can you do this for me please truesatan?
is it possible to disable the admin's ability to read karma comments?
i feel they are kind of like PMs and should be kept private.
I've installed the mod in my smf 1.1.4 and the config panel is looking this way:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg220.imageshack.us%2Fimg220%2F8207%2Fkarmabugsmallhl8.jpg&hash=a95b44776141598d66107eadf810903b08ee4ff9)
@ Alundra
Probably it's best to do it the easy way and go to ACP>Permissions and remove permission for them to view the Karma log rather than adding even more to what already is a huge modification to karma.php
@ look up
This isn't something I'd advise as if it is done admins won't be able to monitor the karma system for abuse...by default admins always have all options available to them. BTW an admin with server access could interrogate the database even if the code was changed.
@ gk-dante
The mod will have to be translated into your language for it to work for you...the blank parts show that text strings for your language are not available in it. You would need to translate Admin.english.php, ModSettings.english.php, Who.english.php, Help.english.php, index.english.php, ManagePermissions.english.php, Errors.english.php, and Profile.english.php and if you use a custom theme you will need to manually install the mod into it.
Quote from: TrueSatan on January 23, 2008, 06:46:01 PM
@ Alundra
Probably it's best to do it the easy way and go to ACP>Permissions and remove permission for them to view the Karma log rather than adding even more to what already is a huge modification to karma.php
but i want them to be able to see who applauded them and why, and why they were smited. perhaps it would be easier to make it so only admin can see the who part?
I'll have to let Grek take a look and see if he is willing to make the changes for you...I don't want to get into recoding his mod without his permission and I'm rather under the cosh regarding time pressures...
Quote from: TrueSatan on January 23, 2008, 07:20:39 PM
I'll have to let Grek take a look and see if he is willing to make the changes for you...I don't want to get into recoding his mod without his permission and I'm rather under the cosh regarding time pressures...
Thank you! I appreciate it a lot :D
Quote from: TrueSatan on January 23, 2008, 06:46:01 PM
@ look up
This isn't something I'd advise as if it is done admins won't be able to monitor the karma system for abuse...by default admins always have all options available to them. BTW an admin with server access could interrogate the database even if the code was changed.
i understand, however i am not worried about user's abusing the karma system.
so, is there a way it can be done? my user's don't know i can see the comments and i don't want the temptation there to read them.
Then you shouldn't have downloaded the log?
i didn't download anything. there's a link in their profile.
hm...i guess i could go into the code and erase the links from the profile somehow. i wouldn't even know where to start doing that though.
If you want to remove the links from users profiles then simply use ACP>Features and Options>Karma and uncheck "Enable karma links in users profiles" This would stop users viewing the log on their own profiles too but so would simply removing the link code as you suggest doing.
I would suggest that an admin who might fall to such temptation would also fall to the temptation of reversing any code change we give you to make so the change becomes rather pointless.
good grief.
does this mean you're not going to help me with the code or offer any further assistance otherwise?
Quote from: look up on January 23, 2008, 10:13:39 PM
good grief.
does this mean you're not going to help me with the code or offer any further assistance otherwise?
That stops what you wanted.
Send the file and I'll do it :P
I meant that while I'll give you all the support I can on the general running of the mod, particularly in an unmodified form, that none of us can guarantee to make you the custom changes you request. Often such changes are left to the mod developer to consider and no mod developer is required to make them.
I am building a website using smf 1.1.4 and I am having the following problem with the karma option. When I select give or smite I get the following error.
Code:
An Error Has Occurred!
Unable to load the 'main' template.
I am not sure what the problem is. I have tried uninstalling the karma description mod to see if that would make a difference, but it seems not to. I found that the karma uninstall and then simply overwriting the karma.php file with the original brought it back to original state. The I tried reinstalling the karma description mod again and see what happens. So...
Weird... I install the Karma Description Mod version 2.3 RU and it gives me a few errors. But then when I click on the karma buttons is doesn't take me to the 'add description page' to enter a reason... when I go into the features area in the admin panel and look at the karma options, there's a bunch of blank check boxes with no information near them.
Anyone know what the issue is will this?
The "ru" in the mod name should alert you that you have selected a Russian language version of the mod and by installing it into a forum that is not set to use Russian language you will get blank check boxes etc...
You appear to have introduced an issue into the main template that isn't there in a clean install and that is affecting this mod...your error log might give pointers to the exact area of the problem.
Hey guys, i updated my forum to 1.1.4 yesterday and installed this mod, translated everything to my language etc... and everything works but popup notification. When pm notification is selected everything is ok, but popup doesn't work.
Any ideas?
Thanks in advance.
ps. one more thing, i just wanted to see if it will deinstall with no problems, and there was a problem with karma.php, i did not perform deinstall, just wanted to see if everything will be ok.
Quote from: TrueSatan on January 25, 2008, 09:29:08 PM
The "ru" in the mod name should alert you that you have selected a Russian language version of the mod and by installing it into a forum that is not set to use Russian language you will get blank check boxes etc...
You appear to have introduced an issue into the main template that isn't there in a clean install and that is affecting this mod...your error log might give pointers to the exact area of the problem.
Ok, Thanks Tru. I'll check that out and report back.
woot. Ok, the description mod works alright now. I didn't realize the RU was the russian version and now all seems to be ok.
Now to figure out how to make a block in tiny portal to display the most recent karmas. Thanks!
@ Zoky
The mod clearly stated during installation that you should take backup of your database and files and you have now seen why this is so stated...we know unintalling from Karma.php can be a problem thus the backup would allow you to replace the current file. If you didn't make the backup then replacing it with a fresh copy from the SMF installation package and manually editing that to add in any other mods or edits you use is your best option.
Please see if the popup works properly when you use the SMF default theme and English (not English utf8) as the language...if it works properly there then there must be a problem with the edits you have made.
I'd double check all the code is there, cause I recently lost some because I overwrote a file by accident, and now its back and all is well :D
@ TrueSatan
This is only mod which modifies Karma.php, so i've just replaced it with original one and it all went fine.
Still, after reinstalling this mod, if users choose to recieve notifications about karma change by popup, there is no popup. They can only be notified by pm.
Popup for everything else works fine (pm notification, etc.)
Maybe there is a problem with karma.php, i don't know which part of code is responsible for sending karma change notification popup, maybe i can manually fix it?
Quote from: Zoky on January 28, 2008, 06:48:47 PM
@ TrueSatan
This is only mod which modifies Karma.php, so i've just replaced it with original one and it all went fine.
Still, after reinstalling this mod, if users choose to recieve notifications about karma change by popup, there is no popup. They can only be notified by pm.
Popup for everything else works fine (pm notification, etc.)
Maybe there is a problem with karma.php, i don't know which part of code is responsible for sending karma change notification popup, maybe i can manually fix it?
My websites popup works fine, Maybe you should double check your codes?
Yes, my checking shows the same as Alundra reports so it would also be likely, if all the code the mod affects is properly in place in your forum, that you have a clash with another mod or manual edits you may have made. I don't think that yours is an error that's been reported previously in relation to this mod but if he has time perhaps Grek (mod developer) might be able to offer some advice on it as he may have seen error reports that aren't listed here.
ok, someone please forgive me for this.... there are 48 pages to go through, and i'm having a tough time finding the answer to my question.
where is the log???
i have even got it set to show stats, but in the forum stats area, there is no link to them.
oh wait, i think i may have just thought of the answer.... i bet it only put that on the default theme.
i think i need to feel stupid.
it should show in the Forum Stats! just scroll down and click the More Stats in the Forum Stats section.
Is there a way to change the text that is in the pm that gets sent to the member who's karma has been changed?
This is what it currently sends:
QuoteDear user. Your karma was changed. You can see the log if follow this link:
"link"
The reason of changing was: the reason
Is there a way to have it so that it says Dear (and then the actual members name) and not the word "user, and is there a way to change the text? I want change the way its worded because the english isnt very good on it. (no offense to the mod creator) ;)
My forum's in spanish and I don't see the text to set it up.
When I change it to english everything's fine.
Is there any way that I could fix this?
Like most mods this mod needs translating to work with languages other than those for which it was designed (in this case English and Russian) no translation is currently available for Spanish though should you wish to translate the text strings you are at liberty to do so.
Quote from: bassbass on January 30, 2008, 02:08:56 PM
it should show in the Forum Stats! just scroll down and click the More Stats in the Forum Stats section.
You click "karma stats" ;)
Quote from: Kimmie on February 11, 2008, 02:53:17 PM
Is there a way to change the text that is in the pm that gets sent to the member who's karma has been changed?
This is what it currently sends:
QuoteDear user. Your karma was changed. You can see the log if follow this link:
"link"
The reason of changing was: the reason
Is there a way to have it so that it says Dear (and then the actual members name) and not the word "user, and is there a way to change the text? I want change the way its worded because the english isnt very good on it. (no offense to the mod creator) ;)
Take a look at the txt strings for it, and play around with them untill it looks good, I might when I get home if my puter is stable.
There should be a by user option in the profile to be notified by popup, pm, or not at all for karma changes..I think there may be the option to set a default in the reset options for the themes section, but I'm not sure (and I'm at school so I have no access to check).
Your string says "dear user?"
Mine always put my username in there...At least thats how I remember it before I switched to pop up ;)
this works with smf 1.1.4?
XSS posible. Fix attached.
does it works with 1.1.4?
Quote from: Webstar on March 03, 2008, 03:50:50 AM
does it works with 1.1.4?
Yes thats what I have and it works great.
Is there a way to have the input of an explanation be optional? Rather than having to fill that field to continue.
This mod is otherwise perfect for me and my users, great work!
Quote from: imgreat on March 04, 2008, 03:07:42 PM
Is there a way to have the input of an explanation be optional? Rather than having to fill that field to continue.
This mod is otherwise perfect for me and my users, great work!
Admin -> Features -> Karma -> ( Here you can find a check box for that. )
Quote from: LexArma on March 05, 2008, 01:53:02 AM
Quote from: imgreat on March 04, 2008, 03:07:42 PM
Is there a way to have the input of an explanation be optional? Rather than having to fill that field to continue.
This mod is otherwise perfect for me and my users, great work!
Admin -> Features -> Karma -> ( Here you can find a check box for that. )
Really? I have been trying them. Which one makes that field optional?
The "Applaud or smite users without explanation" was my instinct, but that removes the ability to put in an explanation altogether, rather than giving the option to choose.
Also, is there a way you can not show the username of the person who gave karma on the log?
Quote from: imgreat on March 05, 2008, 05:41:49 AM
Quote from: LexArma on March 05, 2008, 01:53:02 AM
Quote from: imgreat on March 04, 2008, 03:07:42 PM
Is there a way to have the input of an explanation be optional? Rather than having to fill that field to continue.
This mod is otherwise perfect for me and my users, great work!
Admin -> Features -> Karma -> ( Here you can find a check box for that. )
Really? I have been trying them. Which one makes that field optional?
The "Applaud or smite users without explanation" was my instinct, but that removes the ability to put in an explanation altogether, rather than giving the option to choose.
Also, is there a way you can not show the username of the person who gave karma on the log?
OK... Sorry, I haven't tested that - but just assumed it made it optional. :(
Hello everyone,
Could you please teach me how to translate this mod . I'll be glad to do it to Spanish...
Another thing... Is there any possibility to use this mod with other themes (not default)???
Thank you all.
Conectado, this mod works perfectly fine for me on all my custom themes so far :)
But you have created your own themes???
Because i'm using Dilbercolor theme and i can't see the Karma Stats button...
The only solution thats came to my mind is to choose default theme for me (administrator).
That way the other users will see the forum with the Dilber theme (normally).
Is there anyone who has installed Dilbercolor theme and this mod??
Hi everyone, i made the translation for this mod to Spanish. I don't know how to do it directly in the files of the zip, so i identified the strings using a package parser (thanks Alundra) and made the translation.
Could you please (someone) put this strings (translated) in the mod.
Here is the strings in a .txt file
Thank you all
Is there a way of change it to longer description words? Because I only see 10 character of letters to type out I believe, I am wondering how to change it to like 40 characters for descriptions.
Bump. I'd like to know what to look for to make the description longer for user to type. Because there are limited of amount characters to type in the description field. I'd like it to have little extra of description character letters to type out. Just point me out for the option to change the number amounts of limitation letters to type in.
Hello,
It's shows me top 5 members with best and worst karma on karma stats in karma logs page. How can i improve that to top 10 members?
Hi! Just wanted to drop by and ask if someone is developing a 2.0 compatible version of this mod.
i am also looking forward to a 2.0 release.
this is probably the most used and popular mod on my site.
thanks
I have asked the author :) When he responds we will know :D.
Quote from: steve in houston on March 27, 2008, 03:25:31 PM
i am also looking forward to a 2.0 release.
this is probably the most used and popular mod on my site.
thanks
up... =)
Quote from: Alundra on March 27, 2008, 04:52:02 PM
I have asked the author :) When he responds we will know :D.
Thanks..
hi
how to ass "Karma stats" in my custom theme.....?
http://xxxx/index.php?action=viewkarma
^^^ i cant see this in my custom theme......
Your have to do that manually, so if you want to,
http://sleepycode.com/PackageParser/index.php
^ put the mod through that and do what it says to install it onto your theme :D
Hello there i'm Using SMF 2 Beta 3 and i have some problems with this pack
# Karma_Description_Mod_ver.2.3.zip
# (17KB)
# [2460]
I Uploaded To My Forum But When I Try To Install It I Got This Problems:
Execute Modification ./Sources/Admin.php Test failed
1. Replace ./Sources/Admin.php Test failed
2. Add After ./Sources/Admin.php Test failed
* 2. Execute Modification ./Sources/Karma.php Test failed
1. Add Before ./Sources/Karma.php Test successful
2. Replace ./Sources/Karma.php Test failed
3. Add After ./Sources/Karma.php Test successful
4. Replace ./Sources/Karma.php Test failed
5. Add After ./Sources/Karma.php Test successful
6. Add Before ./Sources/Karma.php Test successful
7. Replace ./Sources/Karma.php Test failed
8. Replace ./Sources/Karma.php Test failed
9. Add Before ./Sources/Karma.php Test successful
10. Add After ./Sources/Karma.php Test successful
11. Add Before ./Sources/Karma.php Test successful
12. Add Before ./Sources/Karma.php Test successful
13. Add Before ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php File not found
* 4. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test failed
2. Add Before ./Sources/Subs.php Test failed
* 5. Execute Modification ./Sources/BoardIndex.php Test successful
1. Add After ./Sources/BoardIndex.php Test successful
* 6. Execute Modification ./Sources/Profile.php Test failed
1. Add After ./Sources/Profile.php Test successful
2. Add Before ./Sources/Profile.php Test failed
3. Add Before ./Sources/Profile.php Test failed
* 7. Execute Modification ./Sources/ManagePermissions.php Test failed
1. Add After ./Sources/ManagePermissions.php Test successful
2. Add After ./Sources/ManagePermissions.php Test failed
* 8. Execute Modification ./Themes/default/Admin.template.php Test failed
1. Add After ./Themes/default/Admin.template.php Test failed
* 9. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Add Before ./Themes/default/BoardIndex.template.php Test failed
2. Add Before ./Themes/default/BoardIndex.template.php Test successful
* 10. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Add Before ./Themes/default/Profile.template.php Test successful
2. Add After ./Themes/default/Profile.template.php Test successful
3. Add Before ./Themes/default/Profile.template.php Test failed
* 11. Execute Modification ./Themes/default/languages/Admin.english.php Test failed
1. Add After ./Themes/default/languages/Admin.english.php Test failed
12. Execute Modification ./Themes/default/languages/ModSettings.english.php File not found
* 13. Execute Modification ./Themes/default/languages/Who.english.php Test successful
1. Add After ./Themes/default/languages/Who.english.php Test successful
* 14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
1. Add Before ./Themes/default/languages/Help.english.php Test successful
* 15. Execute Modification ./Themes/default/languages/index.english.php Test successful
1. Add Before ./Themes/default/languages/index.english.php Test successful
* 16. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
1. Add Before ./Themes/default/languages/ManagePermissions.english.php Test successful
* 17. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
1. Add Before ./Themes/default/languages/Errors.english.php Test successful
* 18. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
1. Add Before ./Themes/default/languages/Profile.english.php Test successful
* 19. Execute Modification ./index.php Test successful
Any Idea ??
This mod is not compatible with 2.0.
Quote from: Alpay on March 31, 2008, 11:51:07 AM
Quote from: steve in houston on March 27, 2008, 03:25:31 PM
i am also looking forward to a 2.0 release.
this is probably the most used and popular mod on my site.
thanks
up... =)
Quote from: Alundra on March 27, 2008, 04:52:02 PM
I have asked the author :) When he responds we will know :D.
Thanks..
Quote from: Alundra on April 13, 2008, 05:52:28 PM
This mod is not compatible with 2.0.
however he want :-X
I have SMF version 1.4 and am using the Karma Description Mod. I have it set up so that certain users can't be smited. However, this is still being done to users who have been marked as un smite able. What setting am I missing here?
Thanks
this mod is compatible with smf 1.1. 4?
please help me I really need it (y si es en español mejor)
Quote from: Mrs_Robota on April 22, 2008, 10:20:03 PM
this mod is compatible with smf 1.1. 4?
please help me I really need it (y si es en español mejor)
Yes it is
Quote from: thatguy on April 18, 2008, 11:47:16 AM
I have SMF version 1.4 and am using the Karma Description Mod. I have it set up so that certain users can't be smited. However, this is still being done to users who have been marked as un smite able. What setting am I missing here?
Thanks
It must be a bug :(. It shouldnt do that.
Quote from: conectado on March 06, 2008, 11:49:14 AM
But you have created your own themes???
Because i'm using Dilbercolor theme and i can't see the Karma Stats button...
The only solution thats came to my mind is to choose default theme for me (administrator).
That way the other users will see the forum with the Dilber theme (normally).
Is there anyone who has installed Dilbercolor theme and this mod??
I also have this theme and i just installed, work only with english language, with spanish or another language, there are not text, don't know how to modify that
Quote from: Mrs_Robota on April 22, 2008, 11:12:15 PM
Quote from: conectado on March 06, 2008, 11:49:14 AM
But you have created your own themes???
Because i'm using Dilbercolor theme and i can't see the Karma Stats button...
The only solution thats came to my mind is to choose default theme for me (administrator).
That way the other users will see the forum with the Dilber theme (normally).
Is there anyone who has installed Dilbercolor theme and this mod??
I also have this theme and i just installed, work only with english language, with spanish or another language, there are not text, don't know how to modify that
By using a package parser you can see what changes were made to *.english.php files. All you need to do, is manually make the same changes to *.yourlanguage.php -files as well. :)
http://www.smfhacks.com/smf-package-parser.html
Quote from: Alundra on April 22, 2008, 10:24:22 PM
Quote from: Mrs_Robota on April 22, 2008, 10:20:03 PM
this mod is compatible with smf 1.1. 4?
please help me I really need it (y si es en español mejor)
Yes it is
Quote from: thatguy on April 18, 2008, 11:47:16 AM
I have SMF version 1.4 and am using the Karma Description Mod. I have it set up so that certain users can't be smited. However, this is still being done to users who have been marked as un smite able. What setting am I missing here?
Thanks
It must be a bug :(. It shouldnt do that.
Yup, because someone just did it again this morning.
Hi, no word on a 2.0 compatible version? :(
I guess I'll have to code my own "stripped-down" version of this mod, I only need the descriptions and installing the advanced reputation mod, is just a little to much for what i need :(
Oh please share that with me!!
I want it too :D. If you need any help, I am available...I don't know PHP though :P. I'm good with wording and graphics ;).
Quote from: Pratt on April 24, 2008, 01:35:42 PM
Hi, no word on a 2.0 compatible version? :(
I guess I'll have to code my own "stripped-down" version of this mod, I only need the descriptions and installing the advanced reputation mod, is just a little to much for what i need :(
I tried to port it and didn't get anywhere with it, being too daft to translate the old db functions into new ones. You are welcome though to my attempt and see if you can fix it.
OK chaps I tried to install this and it did not work. I am on 1.1.4 and I used the default theme.
Obviously when it did the check it tried to install the russian files which I reckoned I didn't need so I let if go ahead and do it's thing.
it seemed to work and when I looked under Karama I had all the tick boxes but none of the text to describe what each tick box does......
Any suggestions. I have uninstalled the mod and await guidance. Which version should I install??
Thanks in anticipation
You are missing the language specific strings. What language is your forum using?
English, English utf-8 - some else?
Sorry everyone...I was having a funny five mins.....Installed the right package and it's working wonderfully.....
How silly do I feel.... :-[
Hi,
I had SMF 1.1.5 with the Karma Auto Mod installed.
I installed This Karma Description mod as well and ran into the common problem with 'Main'
So I uninstalled it and things seemed back to normal until I checked in my admin's karma settings page.
Despite the fact that the Karma Description Mod is uninstalled and deleted from my server, I still have all of the Karma Descriptions settings options in my admin page!
How do I remove this? Or has this already messed things up to the point that I should do a fresh install of SMF and start over?
Thanks in advance!
Using this mod, I had a member give karma to another member, but the topic link in the log points to the main forum page - not to a specific post or PM.
How do you think this member managed to give karma like that, with this mod installed? P.S. he is a known troublemaker, so somehow he managed to do this.
Quote from: xrunner on May 17, 2008, 08:03:31 AM
Using this mod, I had a member give karma to another member, but the topic link in the log points to the main forum page - not to a specific post or PM.
How do you think this member managed to give karma like that, with this mod installed? P.S. he is a known troublemaker, so somehow he managed to do this.
I have used this mod with three different hosting services. Results varied. In one case the mod worked flawlessly. In another the mod did not include the referring message about half the time. In the third case this problem was only seen with certain members.
In the second case I eventually fixed the problem by uninstalling the mod completely and reinstalling it.
In the third case something very strange happened. My forum was almost a year old when all of the karma scores were reset to 0. People became so upset that their precious karma was lost that members actually left my forum. I had no idea people cared so much.
They do care so much, if you have an old db backup you can put the scores back :). My forum HEAVILY depends on karma, and the Advanced Rep system ended up ruining our scored, I had to import the old scores, everyone was upset.
I used this mod and it was flawless, I suspect something else was interfering with it.
Quote from: Alundra on May 18, 2008, 03:17:13 PM
They do care so much, if you have an old db backup you can put the scores back :). My forum HEAVILY depends on karma, and the Advanced Rep system ended up ruining our scored, I had to import the old scores, everyone was upset.
I used this mod and it was flawless, I suspect something else was interfering with it.
That it works flawlessly on one of the forums causes me to suspect that it could be a problem with the hosting company. The buggy forum has a tendency to go down alot sometimes for hours.
I'm new to this Admin thing. My brother is a fanatic right-wing activist and I'm embarrased to even mention the kinds of forums that he has recently put me in charge of. Is it typical for a forum to go down so often? I know it happens multiple times in a week sometimes for a few minutes at a time sometimes for hours. I looked but did not find good information comparing various hosting services' uptime. When the forum goes down the right-wingers start acting paranoid.
I just installed the Ultimate Profile mod. I don't see the links for "Who change my Karma" etc, that were in the profile summary. Members can't check their Karma comments now. The Karma log is still fine and Karma works fine, just this little detail.
Is there a way I can make this work? If I have to code it in myself I will. Want them to be able to access Karma from the Ultimate Profile layout.
Thanks! :)
the UP mod replaces the profile section (if I recall correctly). This means that ANY mod that you have affecting the profile will likely have to be manually applied over the UP mod, in the new template....
Kindred,
Yes, from the reply I received on the UP mod board, this is the case.
I'm trying to apply the code changes for the Profile.template.php file that are specified for the Karma description mod, to the UltimateProfile.template.php.
I can do the first find/replace of code for the Karma mod, but the second find is
</table> </td> </tr>'; // Show the standard "Save Settings" profile button.
Can't find that series of code in UltimateProfile.template.php
So close, yet so far....
I tried to uninstall UP, uninstall Karma mod, then reinstall UP, then Karma mod, but I cannot uninstall Karma mod without getting two errors.
Can someone help me with this? I know there are others who like the UP and also have Karma description mod installed. Would love to get this perfected.
Thank you! :)
Hi. I'm new this forum thing, so please be patient. I have a question about mods. If the mod is compatible with my version of SMF, which is 1.1.5, is it necessary to modify the mod before installing?
I attempted to install two mods, one was for embedding youtube and the other was a karma description mod. The last error went something like this.
1. Execute Modification Karma_Description_Mod_1.xml Modification parse error
2. Execute Modification - Modification parse error
3. Execute Modification Karma_Description_Mod_2.xml Modification parse error
4. Execute Modification - Modification parse error
I screamed when I saw that! I was given the option not to continue with the install, so I aborted. I then later went back and read the instructions for how to modify the mod, but it seemed like a lot of work. Is there a more automatic way of doing it?
Says "unable to load main template" when i try and rep someone.
Very nice I used it till i upgraded to smf 2 beta
I need help. I installed it and when I try to change the setting it says everything in another language and I can't translate it because I don't understand that language...
I see something like: "ID ïîëüçîâàòåëåé, êîòîðûå íå ìîãóò èçìåíÿòü êàðìó. Íàïðèìåð: 2,412,88"
My forum is in spanish, but, as you see, I can understand english. I want that MOD in english so I can translate it in spanish. Who can help me?!?! :(
edit: I also noticed another error just now... when I try to give someone a + or - it says: "unable to load main template", as musicmad said...
i am having a problem with the install of this mod, when i install it and goto admin area i get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/acidclic/public_html/scambux.com/Sources/Admin.php on line 416
i am using 1.1.5 and this is the first mod i have installed.
nevermind i fixed it, there is a code error in the install
Quote from: venex on May 25, 2008, 04:07:37 AM
I need help. I installed it and when I try to change the setting it says everything in another language and I can't translate it because I don't understand that language...
I see something like: "ID ïîëüçîâàòåëåé, êîòîðûå íå ìîãóò èçìåíÿòü êàðìó. Íàïðèìåð: 2,412,88"
My forum is in spanish, but, as you see, I can understand english. I want that MOD in english so I can translate it in spanish. Who can help me?!?! :(
edit: I also noticed another error just now... when I try to give someone a + or - it says: "unable to load main template", as musicmad said...
from Russian to English:
<file name="$themedir/languages/Admin.english.php">
<operation>
<search position="before"><![CDATA[
$txt['maintain_logs'] = 'Empty out unimportant logs.';
]]></search>
<add><![CDATA[
$txt['maintain_karmalog'] = 'Empty out Karmachange Description log';
]]></add>
</operation>
</file>
<file name="$themedir/languages/ModSettings.english.php">
<operation>
<search position="before"><![CDATA[
$txt['karmaSmiteLabel'] = 'Karma smite label';
]]></search>
<add><![CDATA[
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic\'s author karma';
$txt['karmanotifier'] = 'Enable karma notification';
$txt['karmaidmember'] = 'Send PM from this Member ID (1 by default)';
$txt['karma_pm_send_changelink'] = 'Send link in personal message to message where karma was changed';
$txt['karma_pm_send_link'] = 'Send link in personal message to own karma log';
$txt['karmacantmodify'] = 'User ID\'s, whose karma can\'t be changed. <div class="smalltext">Comma separated, without spaces. For example: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID\'s, who can\'t modify karma. <div class="smalltext">For example: 2,412,88</div>';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Who.english.php">
<operation>
<search position="before"><![CDATA[
$txt['whoall_.xml'] = 'Viewing an XML feed.';
]]></search>
<add><![CDATA[
$txt['whoadmin_viewkarma'] = 'Viewing <a href="' . $scripturl . '?action=viewkarma">Karmachange Description log</a>.';
$txt['whoall_modifykarma'] = 'Changing karma.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Help.english.php">
<operation>
<search position="after"><![CDATA[$helptxt['karmaMode'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can
]]></search>
<add><![CDATA[$helptxt['karmapermiss'] = 'By default this option is switched off and Karma Log can look only admins. If you want to do Karma Log available for other users or moderators, etc, enable this option and give the right that group, which can look Log in "Permissions" section.';
$helptxt['karmaotherstat'] = 'Show other karma statistics like Max applauded users or Max smited users and so on in whole karma log.';
$helptxt['karmalinks'] = 'If you enable this feauture, users will see two links in their profiles (Own or other users). They can see who change their karma and whom they change it. Karma Description Mod must be enabled';
$helptxt['karmakarma'] = 'It\'s display users karma in Karma log opposit the usernames. For example: Username (+12/-8)';
$helptxt['karmaurl'] = 'If you enable this option, you and your users can view where their karma was change.';
$helptxt['karmaisowner'] = 'If you enable this option, only profile owner will see two links to his own karma log. By the way, your users will resieve an error if they input an url adress (like http://your_forum.com/index.php?action=ownkarma;u=other_user) by the hand if you don\'t want your users can view other users karma log. Whole karma log will be disabled too. ONLY OWN KARMA LOG.';
$helptxt['karmanotifier'] = 'If you enable this function, your users will see another one field in their profiles in \'Look and Layuot Preferences\' section. It give an opportunity to notify users when their karma will be changed by two way notify: Popup Message and Personal Message.';
$helptxt['karmaidmember'] = 'If your users enabled Karma Notify function and choose Personal Message notify, they will recieve a Peronal Message from this member id. For example, if you have ID_MEMBER=1 they will recieve PM from you and so on. If you set member id = 0 your users will recieve a message from Admin Guest.';
$helptxt['karma_pm_send_link'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to their own karma log.';
$helptxt['karma_pm_send_desc'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see the reason of karma change.';
$helptxt['karma_pm_send_changelink'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to message where their karma was changed.';
$helptxt['karmacantmodify'] = 'Comma separated, without any spaces.';
$helptxt['karmacantmodify2'] = 'Comma separated, without any spaces.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/index.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Description Mod
$txt['karmaview'] = 'Karma Change Log';
$txt['whykarmamod'] = 'Karma change';
$txt['Description'] = 'No Description';
$txt['karmamoder'] = 'Reason for changing the karma of this user';
$txt['karmarequare'] = '(Required field)';
$txt['karmawho'] = 'Who';
$txt['karmawhos'] = 'Whom';
$txt['karmawhat'] = 'What (+/-)';
$txt['karmadesc'] = 'For What';
$txt['karmatime'] = 'When';
$txt['karmanumb'] = 'Values: ';
$txt['statkarma'] = '[Karma Stats]';
$txt['viewkarma_title'] = 'Karma Change Description';
$txt['deletekarma'] = 'Delete';
$txt['clearkarma'] = 'Clear';
$txt['karma_delete_confirm'] = 'Are you sure you want to delete this record?';
$txt['karma_back'] = '< Back';
$txt['karma_continue'] = 'Continue >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';
$txt['karmawhere'] = 'Where';
$txt['karmawhereurl'] = 'In topic';
$txt['karmawhereurl2'] = 'In PM';
$txt['karma_delete'] = 'Delete';
$txt['sure_about_karma_remove'] = 'Are you sure you want to delete this record?';
$txt['karma_stat'] = 'Karma Statistic';
$txt['karma_top_applaud'] = 'Top 5 applauded users';
$txt['karma_top_smite'] = 'Top 5 smited users';
$txt['karma_other_stat'] = 'General Statistics';
$txt['karma_max_appl'] = 'User MAX applauding other users';
$txt['karma_max_smit'] = 'User MAX smiting other users';
$txt['karma_today'] = 'Karma points today';
$txt['karma_today_plus'] = 'Today "+"';
$txt['karma_today_minus'] = 'Today "-"';
$txt['karma_notifier'] = 'Your karma was changed on ';
$txt['karma_notifier2'] = ' points. Do you want to see the karma description log?';
$txt['karma_pm_subject'] = 'Karma Notification';
$txt['karma_pm_body'] = 'Dear user. Your karma was changed. ';
$txt['karma_pm_body2'] = 'You can see the log if follow this link:\\n'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Send the reason in personal message';
$txt['karma_pm_send_desc2'] = '\\n\\nThe reason of changing was: ';
$txt['karma_pm_send_changelink'] = '\\n\\nYour karma was changed on this message:\\n';
]]></add>
</operation>
</file>
<file name="$themedir/languages/ManagePermissions.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['permissionname_karmalog_view'] = 'View Karma Log';
$txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the Karma Description screen by clicking the link in the \'Karma Stat\' section of the board index.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Errors.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['cannot_karmalog_view'] = 'Sorry - you don\'t have the proper permissions to view the Karma Description list.';
$txt['viewkarma_error'] = 'User ID must be a number';
$txt['karma_not_topic_starter'] = 'Sorry, he is not topic author.';
$txt['karma_cant_modify'] = 'Sorry, you can\'t modify karma to this user.';
$txt['karma_cant_modify2'] = 'Sorry, you can\'t modify karma to other users.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Profile.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['who_change_my_karma'] = 'Who changed my karma';
$txt['whom_i_change_karma'] = 'Whose karma have I changed';
$txt['enable_notify'] = 'Notify me when my karma will be changed';
$txt['enable_notify_none'] = 'don\'t notify';
$txt['enable_notify_popup'] = 'Popup window';
$txt['enable_notify_pm'] = 'Personal Message';
]]></add>
</operation>
</file>
<file name="$boarddir/index.php">
<operation>
<search position="before"><![CDATA['modifykarma' => array('Karma.php', 'ModifyKarma'),
]]></search>
<add><![CDATA[
'viewkarma' => array('Viewkarma.php', 'ViewKarma'),
'ownkarma' => array('Viewkarma.php', 'OwnKarma'),
'otherkarma' => array('Viewkarma.php', 'OtherKarma'),
]]></add>
</operation>
</file>
Hey guys is this mod compatible with SMF 1.1.4 ?
Regards
Check the mod page, if it says it is compatible with 1.1.4 then it is.
I checked but it isn't...I really want to install it on my 1.1.4 and try everything but without success.I read the manual for 1.1.4 and did everything step by step and no change :(
When will you release a version compatible with 1.1.5 ?
Quote from: madaisy on May 27, 2008, 01:46:22 PM
When will you release a version compatible with 1.1.5 ?
It is compatible - I am using it right now with 1.1.5.
Quote from: madaisy on May 27, 2008, 01:46:22 PM
When will you release a version compatible with 1.1.5 ?
so am i
I have a trouble: when I click on a applaud or smite it goes like this:
Unable to load main template
what can i do?! please help!
Quote from: Musicmad on May 23, 2008, 04:44:09 PM
Says "unable to load main template" when i try and rep someone.
same for me
I need help
I am using SMF 1.1.5 and want to manually install Karma_Description_Mod ver.2.2
While changing karma.php manually there is
<operation>
<search position="replace"><![CDATA[// Delete any older items from the log. (karmaWaitTime is by hour.)
db_query("
DELETE FROM {$db_prefix}log_karma
WHERE " . time() . " - logTime > " . (int) ($modSettings['karmaWaitTime'] * 3600), __FILE__, __LINE__);
]]></search>
1. No section (or codes) like this in karma.php
2. May I skip this field in manuel installation?
What can I do?
Any idea?
Regards
Using 1.1.5 and DilberMC Thema
I wonder, which version of Karma Description Mode suitable?
Regards
Go to the Karma Description mod download page again. On the right hand side you will see an option for manual installation. Click on the drop down box and select 1.1.5 and it should give you the instructions for it. I think the latest 2.3 version of the mod will work.
Are you sure it's not listed? Since this is a new Karma.php file that you just uploaded (from your other topic) it should work.
is this mod only for the default template? if it is how can i use it for another template? thanks
Not only for default theme it works also many modified themes
I was using it with my DilberMC thema until I had upgraded my SMF to 1.1.5
Now I am trying to install Karma Description Mode manually to my 1.1.5 with the help of GreyKnight
Regards
ah nice to hear that thanks cagatay
Hi all
as I said I am using SMF 1.1.5
Today I go to the Karma Description mod download page. On the right hand side found lates version (ie. 2.3) and opened manual installation for 1.1.5.
Not more than one hour I had installed this mod manuelly. No Error now in SMF forum (it is working)
But nothing occurs while giving a KARMA to any user. Karma increases automatically for every click
My admin page Karma settings looks like this
Any idea?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg527.imageshack.us%2Fimg527%2F2374%2Fkarmaws3.jpg&hash=2141c3aabdc309282866d8d553256557ae85af9f)
Hey guys can you help me with 1.1.4 ?
If someone have edited files for 1.1.4 version I will be very thankful if he/she send them to me :)
Regards
To all the users with this mod installed.
V2.3.1 security fixed version provided by SMF Customization Team.
ANYONE using any earlier version of this mod are recommended to use this version as soon as possible due to a discovered vulnerability.
Quote from: karlbenson on June 19, 2008, 06:44:21 PM
To all the users with this mod installed.
V2.3.1 security fixed version provided by SMF Customization Team.
ANYONE using any earlier version of this mod are recommended to use this version as soon as possible due to a discovered vulnerability.
I am currently using this mod. Does it pose a security threat to my forum?
Unless your using version v2.3.1. YES.
All previous versions are subject to a vulnerability.
Either uninstall it permanently or use v2.3.1
Don't continue to use anything less than v2.3.1
installed it manually to my 1.1.5 smf bridged to mambo, and it's working wonderfully so far!
thanks!!!
Thank you for this mod :) ;)
Czech translation key sections:
./Themes/default/languages/index.czech.php
//Karma Description Mod
$txt['karmaview'] = 'Výpis změn karmy';
$txt['whykarmamod'] = 'Změna karmy';
$txt['Description'] = 'Bez popisu';
$txt['karmamoder'] = 'Důvod pro změnu karmy tohoto uživatele';
$txt['karmarequare'] = '(Povinné)';
$txt['karmawho'] = 'Kdo';
$txt['karmawhos'] = 'Komu';
$txt['karmawhat'] = 'Co (+/-)';
$txt['karmadesc'] = 'Za co';
$txt['karmatime'] = 'Kdy';
$txt['karmanumb'] = 'Položky: ';
$txt['statkarma'] = '[Karma status]';
$txt['viewkarma_title'] = 'Popis změny karmy';
$txt['deletekarma'] = 'Smazat';
$txt['clearkarma'] = 'Vyčistit';
$txt['karma_delete_confirm'] = 'Jste si jisti, že chcete smazat tento záznam?';
$txt['karma_back'] = '< Zpět';
$txt['karma_continue'] = 'Pokračovat >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';
$txt['karmawhere'] = 'Kde';
$txt['karmawhereurl'] = 'V tématu';
$txt['karmawhereurl2'] = 'V SZ';
$txt['karma_delete'] = 'Smazat';
$txt['sure_about_karma_remove'] = 'Jste si jisti, že chcete smazat tento záznam?';
$txt['karma_stat'] = 'Statistika';
$txt['karma_top_applaud'] = 'Top 5 kladně ohodnocených';
$txt['karma_top_smite'] = 'Top 5 záporně ohodnocených';
$txt['karma_other_stat'] = 'Hlavní statistika';
$txt['karma_max_appl'] = 'Nejčastěji kladně hodnotící uživatel';
$txt['karma_max_smit'] = 'Nejčastěji záporně hodnotící uživatel';
$txt['karma_today'] = 'Stav karmy dnes';
$txt['karma_today_plus'] = 'Dnes "+"';
$txt['karma_today_minus'] = 'Dnes "-"';
$txt['karma_notifier'] = 'Vaše karma byla změněna na ';
$txt['karma_notifier2'] = ' bodů. Chcete si prohlédnout LOG karmy?';
$txt['karma_pm_subject'] = 'Oznámení karmy';
$txt['karma_pm_body'] = 'Vážený uživateli. Vaše karma byla změněna. ';
$txt['karma_pm_body2'] = 'Pro více informací pokračujte na násleující odkaz:\\n'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Poslat důvod v soukromé zprávě';
$txt['karma_pm_send_desc2'] = '\\n\\nDůvod pro změnu byl: ';
$txt['karma_pm_send_changelink'] = '\\n\\nVaše karma byla změněna s následující zprávou:\\n';
nice mod
$txt['who_change_my_karma'] = 'Who changed my karma'; $txt['whom_i_change_karma'] = 'Whose karma have I changed';
is there anyway i can change this code so i can show an image, use color, or something like that
Hi everyone - after 2 hours of MANUALLY installing this - I found out I am unable to run db_change.php successfully. If I call it directly, http://www.mysite.com/db_change.php .... I get a blank screen, but the fields Description, link, and is_read are not created.
Sooooo - unfortunately, I think, I tried running all those (ALTER) commands manually - I hope I didn't mess things up dropping the primary key!
All the templates and languages look good... but when I try to add a reason for the karma, I get..
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 37122, 'test', '165998.msg1207957#msg1207957', 2, 1214778083 )' at line 3
File: /users/Sources/Karma.php
Line: 407
Can someone please tell me how to run db_change.php manually??? (I have attached it) I find it odd that SSI.php is required TWICE in the file.
Thanks!
p.s., I have also included the file "smf_log_karma.gif" - a quick glance at my smf_log_karma table. (after manually running those ALTER commands in db_change.php)
EDIT: further testing revealed I am getting this error.... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 37122, 'test', '165998.msg1207957#msg1207957', 2, 1214778083 )' at line 3
File: /users/Sources/Karma.php
Line: 407
Even with the Karma mod disabled. :-( I suspect it has to do with the database....
hmmm.. here is line 407 in Karma.php....
// Put it in the log.
db_query("
INSERT INTO {$db_prefix}log_karma
(action, ID_TARGET, Description, link, ID_EXECUTOR, logTime)
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
LINE 407 --> ", __FILE__, __LINE__);
I still can't get this to work... when trying to add a comment, I am getting the error....
8: Undefined variable: dir
File: /users/Sources/Karma.php
Line: 406
This is line 406....
VALUES ($dir, $_REQUEST[uid], '$_POST[Description]', '$link', $ID_MEMBER, ". time()." )
what is that variable $dir?
this mod can work for smf 1.1.5??
Quote from: MaxiPes on July 22, 2008, 09:30:42 AM
Quote from: Mrs_Robota on July 22, 2008, 12:31:15 AM
this mod can work for smf 1.1.5??
Yes :)
how?? with me it doesn't work anymore since i updated my version of 1.1.4 to 1.1.5 :(
The mod works great on my 1.1.5 install of SMF, but there is only one minor detail that I noticed.
If you have your preferences set to receive an email each time you get a PM and have your notification for this mod set to PM, then an email is not sent to the user. The PM notifying that karma has been changed works great, but an email is not sent to the user whose karma is being modified.
Any advice?
Quote from: Mrs_Robota on July 22, 2008, 12:31:15 AM
this mod can work for smf 1.1.5??
yes, although i haven't figured out how to do the email/pm sending it seems that it doesnt work on mine.
www.engineeringserver.com/forum if anyone wants to try out. Everything else works and users can write in the karma description.
how to make putting karma description optional? so you can choose to leave the description field blank if you wish
Thank you for great mod!
Can it work with SMF 2.0 (beta 3.1 or 4)?
No, it not work with 2.0.
Can somebody make a tutorial how can it be done that it runs under 2.0?
Damn, delevoper isnt activ anymore:
Last Active: March 22, 2008, 04:18:53 AM
Can somebody else write this mod compatible into 2.0? I have already 2.0 at me (local) ready, i need only a karma description mod, but old entries should not get deleted, heeeeelp
http://mysite.com/forum/index.php?action=viewkarma
If soma moderator of my site wants to enter this addres they always get this Error
Sorry An Error Occured!
Sorry You Dont Have An Access To View Karma Logs
Just Superadmin (I mean me) can see Karma Logs?
How can I open to moderators?
Regards
My SMF Version: 1.1.5
Theme: DilberMC
Hello (sorry for english, i'm french)
I'd like to know if a french traduction exists ?
Or if it's possible, which text must put and where to allow the mod worked ?
Thanks
Hi everyone,
Is anyone working on an updated version for 2.0? I'd love to have this feature back on my boards. My users really miss it too :(
I don't like the Advanced Reputation System alternative mod at all. This one is perfect!
Thanks.
Quote from: c a g a t a y on August 28, 2008, 04:38:53 PM
http://mysite.com/forum/index.php?action=viewkarma
If soma moderator of my site wants to enter this addres they always get this Error
Sorry An Error Occured!
Sorry You Dont Have An Access To View Karma Logs
Just Superadmin (I mean me) can see Karma Logs?
How can I open to moderators?
Regards
My SMF Version: 1.1.5
Theme: DilberMC
More than ONE WEEK...No one reply
No one interested wih this topic
It is shame for KARMA DESCRIPTION MODE
I am running 1.1.6 and I'm having a hell of a time getting this mod to work.
It installs without a hitch, but when I go to the Karma page, all of the descriptions of various controls to the left of the checkboxes are blank. Likewise, on the Forum Maintenance page, there is a line where the link to view the Karma Log should be, but it's also blank and nothing happens when the blank is clicked on.
This happened to anyone else? Any ideas?
Thanks!
AurielStone, set you forum language to English, then back to the karma settings, and you'll see "truth" ;-)
I have karma stats on my forum and when i go into my stats panel it is mega wide and it does not fit on the page I tried to rob my bank in the shop and got -100 bad karma so this is what is making it do it,Is there any settings where i can get the blue stats bar smaller so it will fit in the page thanks all callteg4
I updated this Karma Description mod, to update Russian Language files also.
I not changed any of COPYRIGHTS, just filenames.
On my forum previously I used "Reputation" instead of "Karma", so, I changed this in all texts also.
I tested both versions on my 2 forums.
So, English+Russsian "KARMA" mod:
Karma_Description_Mod_ver.2.3.1_en_ru_by_EvgenyDEEP.zip
So, English+Russsian "REPUTATION" mod:
Karma_Description_Mod_ver.2.3.1_reputation_en_ru_by_EvgenyDEEP.zip
Quote from: c a g a t a y on September 05, 2008, 07:07:39 AM
Quote from: c a g a t a y on August 28, 2008, 04:38:53 PM
http://mysite.com/forum/index.php?action=viewkarma
If soma moderator of my site wants to enter this addres they always get this Error
Sorry An Error Occured!
Sorry You Dont Have An Access To View Karma Logs
Just Superadmin (I mean me) can see Karma Logs?
How can I open to moderators?
Regards
My SMF Version: 1.1.5
Theme: DilberMC
More than ONE WEEK...No one reply
No one interested wih this topic
It is shame for KARMA DESCRIPTION MODE
You have to set premissions at the membergroup ;)
Find View Karmadescription Log or something
Can someone tell me the changes between 2.3 and 2.3.1 I like to change it manually.
Quote from: evgenydeep on September 10, 2008, 02:16:54 PM
AurielStone, set you forum language to English, then back to the karma settings, and you'll see "truth" ;-)
It turns out that the original admin of the board had set the default language to English-utf8. I adjusted the mod's second .xml file to point at the correct language files, and it went in without a hitch. Everything showed up just fine on the board itself.
Then I tried to applaud someone to test it and got:
"An Error Has Occurred!
Unable to load the 'main' template."
*headdesk*
Yeah, will there be an update for SMF 2 Beta 4?
Quote from: CrimsonSun99 on September 28, 2008, 04:40:19 PM
Yeah, will there be an update for SMF 2 Beta 4?
It would be nice to know if someone is updating this mod for beta4 :(
Quote from: Pratt on September 28, 2008, 11:10:44 PM
Quote from: CrimsonSun99 on September 28, 2008, 04:40:19 PM
Yeah, will there be an update for SMF 2 Beta 4?
It would be nice to know if someone is updating this mod for beta4 :(
Has the developer stopped working on this mod?
Quote from: CrimsonSun99 on September 29, 2008, 01:09:28 PM
Quote from: Pratt on September 28, 2008, 11:10:44 PM
Quote from: CrimsonSun99 on September 28, 2008, 04:40:19 PM
Yeah, will there be an update for SMF 2 Beta 4?
It would be nice to know if someone is updating this mod for beta4 :(
Has the developer stopped working on this mod?
You can see in his profile (http://www.simplemachines.org/community/index.php?action=profile;u=6867) that the last login was in March 22 - 2008 :(
Can somebody else make this mod compatible to smf 2.0? :)
How to make it so you can leave it blank if you want? So the javascript doesn't popup that you need to put a comment?
Quote from: evgenydeep on September 10, 2008, 02:16:54 PM
AurielStone, set you forum language to English, then back to the karma settings, and you'll see "truth" ;-)
I'm having this same issue. I only have "english" installed on my forum.
When I go into the karma options it all appears blank as well as when I applaud someone there's a text box but the submit button is blank as well...
can be seen @ www.raptorsource.com
Quote from: jepot5 on October 03, 2008, 10:15:58 AM
How to make it so you can leave it blank if you want? So the javascript doesn't popup that you need to put a comment?
Please help
I apologize if this has already been brought up, but sifting through 50 some pages is a large task.. :)
I have installed this mod, and it works great on a theme that I have been tweaking for myself, but the view karma log link in the info center does not show up in the default theme. What can I do to fix this?
Quote from: Krandall on October 07, 2008, 03:45:00 PM
Quote from: evgenydeep on September 10, 2008, 02:16:54 PM
AurielStone, set you forum language to English, then back to the karma settings, and you'll see "truth" ;-)
I'm having this same issue. I only have "english" installed on my forum.
When I go into the karma options it all appears blank as well as when I applaud someone there's a text box but the submit button is blank as well...
can be seen @ www.raptorsource.com
Well... thanks but no thanks.. I got it figured out. Seems it was a corrupt index.english.php file. in the Theme Languages section.
Quote from: jepot5 on October 07, 2008, 11:04:32 PM
Quote from: jepot5 on October 03, 2008, 10:15:58 AM
How to make it so you can leave it blank if you want? So the javascript doesn't popup that you need to put a comment?
Please help
Help me pls.
i cant see text in karma options :'(
i have czech language
but i want install again, but, i have error
QuoteInstalling this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Sources/Subs.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/Profile.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Themes/default/Admin.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
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 successful
20. Execute Code db_change.php
21. Extract File ./Sources/Viewkarma.php
22. Extract File ./Themes/default/Viewkarma.template.php
23. Extract File ./Themes/default/DescriptionKarma.template.php
Evolva máš špatně nastaven jazyk.
Zítra se ti na to podívám. Dnes jsem dělal na svém ;)
Quote from: MaxiPes on November 04, 2008, 11:37:31 AM
Evolva máš špatně nastaven jazyk.
Zítra se ti na to podívám. Dnes jsem dělal na svém ;)
jj, už sem na to přišla :) sem akorat sem nenapsala že vyřešeno :) ted mi nejde jen to youtube :)
Vidím. A já se těšil. To je oprava na minutu :D
Jdu se na to podívat :)
PS: to že nutíš lidi k registraci moc velkou návštěvnost nepřinese :(
EDIT: Youtube nainstalováno ;)
I was going to try manually installing this on SMF 2.0 Beta 4 as it does give instructions for that, however one of the files it wants to modify doesn't exist. :( modsettings.php
Quote from: khamseen on November 05, 2008, 08:42:25 PM
I was going to try manually installing this on SMF 2.0 Beta 4 as it does give instructions for that, however one of the files it wants to modify doesn't exist. :( modsettings.php
This mod does not work with 2.0 beta :(
Is someone taking over this mod and porting it to 2.0 ?
I realise it's not intended for 2.0 Beta 4 however normally when you try to parse the manual install instructions it tells you that it's there are no manual install instructions for that version... However it came back with some which is misleading.
I really wish they would, I love the mod and we have it on our 1.1.6 boards just now. But we plan to eventually make the switch to 2.0 Beta (after a month using a test server to play with and make sure we know how we want it all set up and with what mods installed before use by the public), so we are going to lose our Karma system. :(
Quote from: evolva on November 02, 2008, 09:20:32 AM
i cant see text in karma options :'(
i have czech language
but i want install again, but, i have error
QuoteInstalling this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Admin.php Test successful
2. Execute Modification ./Sources/Karma.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Sources/Subs.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/Profile.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Themes/default/Admin.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
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 successful
20. Execute Code db_change.php
21. Extract File ./Sources/Viewkarma.php
22. Extract File ./Themes/default/Viewkarma.template.php
23. Extract File ./Themes/default/DescriptionKarma.template.php
Exactly what I see... :(
I figured it out.
You'll have to do a manual install, I believe the part you're missing is here:
./Themes/default/languages/ModSettings.english.php
Find:
$txt['karmaSmiteLabel'] = 'Karma smite label';
Add After:
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic\'s author karma';
$txt['karmanotifier'] = 'Enable karma notification';
$txt['karmaidmember'] = 'Send PM from this Member ID (1 by default)';
$txt['karma_pm_send_changelink'] = 'Send link in personal message to message where karma was changed';
$txt['karma_pm_send_link'] = 'Send link in personal message to own karma log';
$txt['karmacantmodify'] = 'User ID\'s, whose karma can\'t be changed. <div class="smalltext">Comma separated, without spaces. For example: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID\'s, who can\'t modify karma. <div class="smalltext">For example: 2,412,88</div>';
Hi people)) I'm back)
Welcome back, does that mean you may update the mod for SMF 2.0 Beta 4?? *Is hopeful*
Yepp))
juhu :)
i have looked everyday in this thread and hoped, that somebody have a update for smf 2.0 :D
That's awesome news, can't wait to see it. Nothing has quite compared to this mod, it's definitely the best karma mod I've tried.
Are there Russian support for this mod?
Russian-UTF8 version, original by "EvgenyDEEP". Works correct with SMF 1.1.7.
Русская версия в кодировке UTF-8, корректно работает на 1.1.7. Название "Карма" изменено на "Репутация", Вы можете вручную поменять его перед установкой.
@Grek_Kamchatka
Do you have news?
Nope, at this time i study the new version of a forum where many changes are made. After that I'll begin updating a KDM. Thq for your interesting
that is really great news, Grek_Kamchatka!
I'm excited for the new version. my forum is severly lacking without it. i loved the old version.
If anybody know an AJAX technology, please PM me.
Hey, i have a little problem. I want my moderators to see the karma log info.
But only the admin can see it. I have looked into the permissions but ther's nothing related to this... Can somone tell me what i have to do? step by step... Thanks. :)
Quote from: Grek_Kamchatka on December 07, 2008, 08:39:31 PM
Nope, at this time i study the new version of a forum where many changes are made. After that I'll begin updating a KDM. Thq for your interesting
any progress on a new update for KDM?
no answer? :-[
You cant set that.
c'mon don't be impatient...
any news?
New Year... :)))
****
Грек, плизззз :) Очень ждем под 2ку. Усе русскоязычное и не только коммюнити.
What a cool mod!
Cant believe I havent stumbled on this before.
Thank You :)
Quote from: Sabre™ on January 06, 2009, 06:55:58 PM
What a cool mod!
Cant believe I havent stumbled on this before.
Thank You :)
It is AWESOME!!! We just need it updated for SMF 2 Beta 4
The person that wrote it is a genius!
Quote from: swampy on January 06, 2009, 07:00:36 PM
Quote from: Sabre™ on January 06, 2009, 06:55:58 PM
What a cool mod!
Cant believe I havent stumbled on this before.
Thank You :)
The person that wrote it is a genius!
Yes ;)
But he would be a mega-genius if he could make a SMF 2.0 Update :D
I posted this on the wrong board, SMF 1.x Support. I am new to this so please be gentle. ;D
Karma Mod Caused Big Problem!!!
« on: Yesterday at 04:53:07 PM » Quote Modify Remove
--------------------------------------------------------------------------------
Here is how our problem began. A clean download of 1.1.7 was made and everything worked. We downloaded a Karma Description Mod and the permissions box was blank. The boxes to check were there but no text to read beside the boxes.
We uninstalled the Mod and deleted it. Now no one can applaud or smite, unless as Admin we go into the profile and do it manually. We tried reinstalling the Mod hoping it would put back whatever it took, but no cookie!
This is what it shows when a member tried to use the karma:
An Error Has Occurred!
Unable to load the 'main' template.
These are the errors that are showing in our forum error log: the x's replace the user number.
Unable to load the 'main' template.
2: call_user_func(ModifyKarma) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback
File: /home/truei1/public_html/forum/index.php
Line: 140
8: Undefined index: whom_i_change_karma
File: /home/truei1/public_html/forum/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 216
8: Undefined index: who_change_my_karma
File: /home/truei1/public_html/forum/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 215
These are what Mods we have installed;
1. TinyPortal 0.983
2. SMF Gallery Lite 1.9.4
3. Remove SMF Logo 1.2
4. Karma Description Mod 2.3.1 (We left this installed for now)
From here, how do we fix it so that our members can give karma?
What can we do to be able to use the karma mod because we want to be able to give reason for the karma?
If anyone has suggestions, please let me know!! Thanks for everything!
bump :D
i gave hope already off
Quote from: master2oo8 on January 12, 2009, 09:29:26 AM
i gave hope already off
It's only been a month, he's still learning the coding of SMF 2.0 and it's been Christmas time and New Year. Give the guy a break already.
Quote from: khamseen on January 12, 2009, 09:15:30 PM
Quote from: master2oo8 on January 12, 2009, 09:29:26 AM
i gave hope already off
It's only been a month, he's still learning the coding of SMF 2.0 and it's been Christmas time and New Year. Give the guy a break already.
Definitely. All good things are worth waiting for.
ok :)
@sabre, what means pmsl?
Quote from: master2oo8 on January 14, 2009, 11:46:15 AM
ok :)
@sabre, what means pmsl?
Well the MSL part is "My Self Laughing" you can figure out what the P stands for yourself :P
Hey folks, it is a pain in the ass checking out meaningless posts, so how about keeping it on track and if you don't have something constructive to say just hush up.
As opposed to
that meaningless post, and this?
Quote from: swampy on January 12, 2009, 09:26:33 PM
Definitely. All good things are worth waiting for.
How is that on track or any different?
I see you not showing any statement to support the mod, or help another user in that statement.
Like our comments.
Now and then you have a few posts that sway off in reply, show me
one support thread that doesn't!
So please, practice what you preach or just ignore it like we
all do at times.
I guarantee you'll still be alive tomorrow. :)
Thanks
Quote from: Sabre™ on January 14, 2009, 10:28:16 PM
As opposed to that meaningless post, and this?
Quote from: swampy on January 12, 2009, 09:26:33 PM
Definitely. All good things are worth waiting for.
How is that on track or any different?
I see you not showing any statement to support the mod, or help another user in that statement.
Like our comments.
Now and then you have a few posts that sway off in reply, show me one support thread that doesn't!
So please, practice what you preach or just ignore it like we all do at times.
I guarantee you'll still be alive tomorrow. :)
Thanks
Because when you guys do that my legitimate request for help gets lost and overlooked as this one may have since I posted it and even bumped it once already. I am still waiting for help.
Thanks!
Re: Karma Description Mod
« Reply #1084 on: January 08, 2009, 12:20:49 PM »
Quote from: truei1 on January 15, 2009, 02:12:07 PM
Because when you guys do that my legitimate request for help gets lost and overlooked as this one may have since I posted it and even bumped it once already. I am still waiting for help.
Thanks!
Our comments were directed at the annoying people who keep posting saying "any progress" or "I've given up" "bump" etc etc. You're not the only one who keeps having to come check the thread via email notification when there aren't any valid new posts :P
Quote from: truei1 on January 15, 2009, 02:12:07 PMBecause when you guys do that my legitimate request for help gets lost and overlooked
Oh of course!!
It cannot be because noone knows the solution!!
It MUST be because of the 2 or more lines posted!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.getsmile.com%2Femoticons%2Fenergizer-smileys-51935%2Fitching.gif&hash=cc9a0baf380114861434430159a1c66ed1cf1c4b)
What have you done to correct your issue?
Have you reinstalled your site from an old backup?
Have you made any backups?
Have you then reinstalled the mod?
Have you tried disabling the other mods and then running that mod alone, and THEN enable the other mods one at a time to see if there are any conflicts?
etc etc etc...
What have
you done?
If none of the above have been attempted, then start with the first, and reinstall from an old backup.
If you dont have one, then mark that as a lesson learnt, and start making backups a regular practice.
Now go to your Packages folder, and look in the backup folder, there you will see something along the lines of Before Karma Description Mod.
Download that file, then reupload it to the root of your forum.
The root is where your sources, packages and theme folders etc are.
Unless someone knows how to fix your problem, then I'd suggest doing the above.
Good luck
Let me tell how much your kindness to someone who just got into this about a month ago, has touched my heart Sabre.
There hadn't been a back up made yet as the site was brand new. When we messed it up we asked for help. If we had known what to do we wouldn't have needed to ask.
Thank you for your suggestions and I would really like to follow them, if it were possible to do so.
However I think we have found someone to help us fix it. As newbies to all of this we need all the luck we can get.
Thank you.
Well mate, we all start somewhere, we all require assistance, and if time and knowledge permits, we all usually receive assistance.
Guidlines
1.) You should always make backups of your project!!
2.) Refer to number one.
Many people back their boards up once a day. I do it once a week, and whenever a major edit has been made.
If you run into future issues, try to use the above suggestions as a guide, as they are part of what you would be asked.
Never rely on luck when using software, rely on your willingness to absorb knowledge, and your number 1 friend................ Mr backup lol ;)
What I have stated above about your backup in your packages folder, may prove handy one day, so try to learn how to do that.
Your reply was firm and handled with class, I for one respect that, so if your friend cannot sort this out for you, I will be more than welcomed to offer you the extra assistance.
Good luck :)
Update,
All Our problems have been fixed and the MOD works like a charm!
Sabre, thank you for you kind offer. I would have taken you up on it too, but HR got it sorted out along with a lot of other problems we had. There were a bunch too! :P
Oh and we make two backups of the site. So no matter what happens we at least have ALL of our files backed up. ;D Thanks mate!
hello...
i installed this mod to use it as a trader-system - it should work fine
so we testet this mod and now i want to clear the applauds and smites that were given
where can i do that ? maybe in the karma_log with phpmyadmin - but if it´s true HOW ?
help please Jessi
------------------------------------
running at smf 1.1.7
Hi all!
Remains to a few time and new release of KDM (for SMF 2.0) will be present.
KDM 2.3.1=============94%=>KDM 2.4
Cool! :)
Thank u :D
Very AWESOME!
Thank you
Awesome, thank you for the update ;D
KDM 2.3.1===============100%>KDM 2.4
Karma Description Mod ver. 2.4 RELEASED!!!
You're the Man!
Thank you!
Hello Grek!
First of all... thank u very much for your work.
I have just installed it into a beta forum I have and I obtain the next error:
Parse error: syntax error, unexpected '*' in /home/.juice/atenea/academiaatenea.org/foroparapruebas/Sources/Karma.php on line 383
Than u again!!
It's not enough information for me. Under what conditions there is an error? Show your karma.php here. Fresh install?
Inf. for all. Please, if you have any problem make a correct description of an error. Specify a condition at which there is an error. KDM mod and the forum version. File listing in which you have an error
KDM 2.4
SMF 2.0 betta 3.1
Error installing. When installing the test runs without errors, then does not show the button "to continue the installation."
Tried to install from the Opera, Mozilla, Internet Explorer.
Error repeated.
When you install other mods, everything is OK. See attachment.
It is because of smf version incompatible i think. Or, may be, you haven't proper ftp information to Upload some files (Viekarma.php, Viewkarma.template.php and Descriptionkarma.template.php)
Скорее всего второе, так как у тебя на скрииншоте появился линк "Необходимая информация FTP" Я думаю она там неспроста. Просто укажи верные данные от фтп аккаунта и у тебя появится кнопка установки. Удачи!
i got this error:
QuoteDuplicate column name 'description'
File: /home/hijinx2/public_html/pix/Packages/temp/db_change.php
Line: 8
when i tried to install. now it's saying the mod has not been applied, but i'm getting this error when anyone tries to change karma:
QuoteParse error: syntax error, unexpected '*' in /home/hijinx2/public_html/pix/Sources/Karma.php on line 282
Oh, God...
Any questions without description of SMF forum version, KDM version and listing of error files will be ignored...
2Grek_Kamchatka
Введены верные - соединение тестируется -"связь установлена".
Просто захлопывается нижняя панелька с "продолжить" а лог ошибок выдает
Применить фильтр: Показать сообщения об ошибках этого адреса(URL) http://хххх.ххх/forum/index.php?action=admin;area=packages;sa=install;package=Karma_Description_Mod_ver.2.4_ru.zip
Применить фильтр: Показать ошибки только с теми сообщениями
2: fclose(): supplied argument is not a valid stream resource
Применить фильтр: Отображать ошибки только этого файла
Файл: /home/xxxxx/хххх.ххх/forum/Sources/Subs-Package.php
Строка: 2439
vladok, попробуй на локальной машине поставить форум и прикрутить к нему мод. И еще как вариант остается несовместимость версий) Я на более ранних версиях форума не тестировал мод
Ок, попробую под денвером установить на чистую 3.1.
Да, ты прав -версия старовата :)
Остается или ставить ручками... или поднимать версию симплмашинки...
По любому -спасибо за мод!
Quote from: Grek_Kamchatka on January 28, 2009, 11:16:14 PM
Oh, God...
Any questions without description of SMF forum version, KDM version and listing of error files will be ignored...
KDM 2.4
SMF 2.0 beta 4
i'm not sure what you mean by listing of error files. the description above was all i got. prior to that error, the test said everythign was successful.
Ok, thq. I think it's because of you had upgrade your smf forum from previeus version (1.1.7 example) with installed KDM, couse you already have a "Description" field in your database... So, open your database in phpmyadmin or navicat and delete this fields in $your_prefix_log_karma table: description, link and is_read. Then add a primary key to table, and upload a fresh karma.php to /Source directory. Note: all your karma action will be erased! (You can export it to other new table and then add to new $_log_karma) And now install the mod. Enjoy!
Got the new version installed without any real hiccups so very happy. Awesome job on upgrading it for SMF 2 Beta 4 ;D
Quote from: Grek_Kamchatka on January 29, 2009, 07:24:59 AM
Ok, thq. I think it's because of you had upgrade your smf forum from previeus version (1.1.7 example) with installed KDM, couse you already have a "Description" field in your database... So, open your database in phpmyadmin or navicat and delete this fields in $your_prefix_log_karma table: description, link and is_read. Then add a primary key to table, and upload a fresh karma.php to /Source directory. Note: all your karma action will be erased! (You can export it to other new table and then add to new $_log_karma) And now install the mod. Enjoy!
Thanks so much! this got it working!!!
However, now i'm having this problem...
When one tried to view any member's profile, they get this: (see attatchment)
Can you attach your profile.template.php here? (I mean file, not listing now)
Quote from: Grek_Kamchatka on January 29, 2009, 07:24:59 AM
Then add a primary key to table,
Sorry grek but... what do you mean by that?
I am operating SMF 2.0 Beta 4 with Karma Description Mod 2.4 with Portal Management ExtensionPortaMx v0.952
I haven't seen this mentioned yet, so maybe it is specific to my site.
'Users Online' has moved to the top of the Forum Page. Has anyone else experienced this problem after installing KDM
Hi swampy, nice 2 c you.
You must install this mod manualy, because of PortaMx. KDM was written only for default theme.
Darthemis, by default smf_log_karma table has a PRIMARY KEY on id_target and id_executor field, and after installing the KDM this primary key was dropped (it's right). So, now you must create this PRIMARY KEY again. 4Example, you can use this SQL query:
ALTER TABLE `smf_log_karma` ADD PRIMARY KEY ( `id_target` , `id_executor` ) ;
(This code actually for MySQL) And now, you can install karma decription mod again.
Thanks!
I sort of like it at the top, I may decide to learn to live with it
Probably not though.
All the best to you!!!
Amazing Grek, thank you very much :)
Quote from: Grek_Kamchatka on January 30, 2009, 05:44:30 AM
Can you attach your profile.template.php here? (I mean file, not listing now)
here you go
Quote from: hijinx on January 30, 2009, 07:13:29 PM
here you go
Ok, i understand. It wasn't been a fresh file and older uninstall system dont worked correctly. Open your profile.template.php and delete all data from line
225 to line
744 inclusive.
I uploaded it and stopped before the actual install because it gives me a big fat red warning label at the install now prompt.
The one I downloaded was listed as being the current version for SMF 2.0 Beta 4. which is what we are using.
Quote from: Grek_Kamchatka on January 31, 2009, 12:35:34 AM
Quote from: hijinx on January 30, 2009, 07:13:29 PM
here you go
Ok, i understand. It wasn't been a fresh file and older uninstall system dont worked correctly. Open your profile.template.php and delete all data from line 225 to line 744 inclusive.
thanks so much! all working now.
My partners and I downloaded the mod onto 1.1.7 and mangled it. :-[ LOL
We had to hire help to get it working, but it was worth every penny! ;D
Our members love being able to see who gave them karma and why. 8)
Thanks for a great Mod.
You can use KDM 2.3.1 for your smf 1.1.7 =)
Quote from: Grek_Kamchatka on February 03, 2009, 12:10:51 AM
You can use KDM 2.3.1 for your smf 1.1.7 =)
That is the one we used and mangled. :D
I reinstalled this mod after a forum update, but it looks like all the logs are lost... I have a backup from before the update, is there a way to restore Karma Description log?
Thanks
Quote from: Maya-chan on February 03, 2009, 02:36:27 AM
I reinstalled this mod after a forum update, but it looks like all the logs are lost... I have a backup from before the update, is there a way to restore Karma Description log?
Thanks
You have a backup of your database or your forum source files? It's important, cause all karma actions is stored in database. If you have a database backup, just restore
$smf_log_karma table from backup file to your new db. Enjoy.
Thanks :)
Faded Glory, how can i guess your problem with KDM without any description?!?
Quote from: Grek_Kamchatka on February 03, 2009, 05:28:41 AM
Quote from: Maya-chan on February 03, 2009, 02:36:27 AM
I reinstalled this mod after a forum update, but it looks like all the logs are lost... I have a backup from before the update, is there a way to restore Karma Description log?
Thanks
You have a backup of your database or your forum source files? It's important, cause all karma actions is stored in database. If you have a database backup, just restore $smf_log_karma table from backup file to your new db. Enjoy.
I'll have to ask some friends for some help, since I have no idea how to do it (I'm not a PhpMyAdmin expert at all :D)
Thanks for your reply :)
Quote from: Grek_Kamchatka on February 03, 2009, 05:35:01 AM
Faded Glory, how can i guess your problem with KDM without any description?!?
After installing the mod, it was a blank next to the tick boxes. We tried using a shot of what is supposed to be in there and tick off the right boxes, but no go. I then uninstalled the Mod and started getting errors out the wazoo. From that point on no one could give karma except for Admins going into the user's profile and adding it manually. We tried to reinstall hoping to fix or replace what got changed, but it did not work.
My partner posted a SOS on here as truei1,( Re: Karma Description Mod
« Reply #1084 on: January 08, 2009, 11:20:49 AM » Quote ) but didn't get an answer. So I got involved and looked up some help. If you look back to that reply number it has more detail.
HR was able to get it sorted out for us and it works great. Still can't see the text, but the right boxes are ticked and all is good.
We will wait a while for now before upgrading to the 2.0. and just enjoy what we have. Thanks for the interest Grek_Kamchatka and the great Mod.
Hello, Faded Glory! How about this:
QuoteUpdate,
All Our problems have been fixed and the MOD works like a charm!
KDM was written only for Default theme and only for
english or
russian SMF forum language. So, if you use another one, french 4example, or german - you can't see the lang strings. Change the forum language to english and you will see that.
Quote from: Grek_Kamchatka on February 03, 2009, 04:55:23 PM
Hello, Faded Glory! How about this:
QuoteUpdate,
All Our problems have been fixed and the MOD works like a charm!
KDM was written only for Default theme and only for english or russian SMF forum language. So, if you use another one, french 4example, or german - you can't see the lang strings. Change the forum language to english and you will see that.
Our Forum is set to English. So I have no idea why the text isn't showing. I do know that we weren't the only ones that had a problem, but as I said, it is working the way it is now and not throwing errors. So it is all good.
getting the following error then trying install the latest version on 2b4.
Duplicate column name 'description'
File: /Packages/temp/db_change.php
Line: 8
Could it be because I've used this mod in 1.1.x and the tables are still in the database? If so shouldn't the installed be doing an if not exist check?
Are we going to see a release of KDM for SMF RC1?
Quote from: NEMINI on February 06, 2009, 05:55:34 PM
getting the following error then trying install the latest version on 2b4.
Duplicate column name 'description'
File: /Packages/temp/db_change.php
Line: 8
Could it be because I've used this mod in 1.1.x and the tables are still in the database? If so shouldn't the installed be doing an if not exist check?
That's exactly the problem, you need to open your database in phpmyadmin and delete the fields "description", "link" and "is_read" in $your_prefix_log_karma table.
Quote from: khamseen on February 06, 2009, 09:45:57 PM
That's exactly the problem, you need to open your database in phpmyadmin and delete the fields "description", "link" and "is_read" in $your_prefix_log_karma table.
I shouldn't have to lose data to reinstall a mod. I know how to work around it, but it should be fixed.
Yes I know that, and he's already aware of it as it was mentioned 3 pages back. I was simply trying to help you out, no need to be so snappy.
Great mod, nice work, thank you!
I have a feature request, an admin setting similar to the existing restriction of users from using Karma field, but instead to restrict boards (by number) that Karma cannot be used on. We have a couple of boards that typically run heated topics (politics) and I'd prefer to disable the karma actions on these boards entirely. I'm sure I can modify it do this on my own site but it might be a useful feature for others. :)
Registered and first post here .... ONLY to tell the author what kind of coding is this?!!!!!!!!!! Example, according to your mod page, we can install version 2.4 on 1.0 RC1 too??? You drunk or something that every version of your code works with EVERY SMF out there?!!!!!
Someone who apparently does not understand the SMF package system. Yes, a package can work on multiple SMF versions provided the author has included the code for the changes to make to each separate version. What a lot of work he's done, wouldn't you agree?
::)
Will this mod be available for RC1 and Advanced Reputation Mod?
Quote from: leah on February 09, 2009, 11:01:46 AM
Someone who apparently does not understand the SMF package system. Yes, a package can work on multiple SMF versions provided the author has included the code for the changes to make to each separate version. What a lot of work he's done, wouldn't you agree?
::)
He has NOT included any!
The previous version had uninstall issue. The latest one, proudly, is being announced that the uninstall BUG has been fixed! Neither works on 1.18 though!
STOP posting nonsense comments re who knows what or doesn't!
Just as a polite comment, I must say that if you have other mods installed and you are not installing on a clean smf the conflict could very easily lay with one of the other mods installed. It is a frequent occurrence that we all deal with. Try uninstalling your other mods and making sure you have a clean smf then try installing
Just my thought on the matter.
ps.. I know we all want this mod and it is very popular with site users, but to expect the author of this mod to update it for every interim release is unreasonable. It is nice to get the interim releases but at days end we should realize waiting for smf to go final is the best way if you are looking for a safe sound sure thing.
Quote from: swampy on February 09, 2009, 03:39:05 PM
Just as a polite comment, I must say that if you have other mods installed and you are not installing on a clean smf the conflict could very easily lay with one of the other mods installed. It is a frequent occurrence that we all deal with. Try uninstalling your other mods and making sure you have a clean smf then try installing
Just my thought on the matter.
ps.. I know we all want this mod and it is very popular with site users, but to expect the author of this mod to update it for every interim release is unreasonable. It is nice to get the interim releases but at days end we should realize waiting for smf to go final is the best way if you are looking for a safe sound sure thing.
Thanks for your polite comment.
It's not about what mods I have or not. Yes, I know there are mods out there which screw up each other! But, if a mod is looking for a few files that do not exist on any 1.xx versions of SMF, then what gives!
Just because I share my codes for free out there, it doesn't mean I should not feel responsible. Yes, users cannot sue me, but they do have every rights to be concerned.
At this point, I am certain the latest version of this mod does NOT work with 1.xx series.
That's all.
I don't see where the author of this mod has published anything for 1.8 or smf2 RC1
http://custom.simplemachines.org/mods/index.php?mod=192
Quote from: swampy on February 09, 2009, 04:34:50 PM
I don't see where the author of this mod has published anything for 1.8 or smf2 RC1
http://custom.simplemachines.org/mods/index.php?mod=192
1) Select ---> "Karma_Description_Mod_ver.2.4.zip"
2) Scroll down to ---> Manual Install Instructions for SMF for 1.1.8
3) Click "Submit"
Not sure how the manual install instructions come about, but regardless of mod I seldom find any of them to be suitable.
If I were you I would just wait for the author to release his next version, it is always the best bet.
Quote from: swampy on February 09, 2009, 07:09:11 PM
Not sure how the manual install instructions come about, but regardless of mod I seldom find any of them to be suitable.
If I were you I would just wait for the author to release his next version, it is always the best bet.
Neither do I ;)
However, I have a better suggestion. I will wait (no other choice anyway!) until SMF goes gold and then ---> http://custom.simplemachines.org/mods/index.php?mod=1129
I mean, look at it. The guy says loud and clear and in BOLD ---> SMF 2.0 RC1 ONLY! That means,
even someone like me who apparently does not understand the SMF package system, understands what it means!
Anyway, thank you for your comments and ... sorry everyone as it was not my intention to offend anyone .... including the developer.
The file parsing system doesn't always get set correctly to restrict it to the versions it will install on. The only real evidence as to what versions it will install on is the part where it says "Compatible With", if it's not listed there then the author doesn't intend it to be used with other versions, no matter what the manual install parse says.
Also, just a word to the wise, that "Advanced Reputation Mod" isn't a scratch on this one, we actually switched to that when we first upgraded to SMF 2.0 Beta 4 as it was the only one compatible and our Karma usage died in a week. When this mod was updated I reverted back to it and our Karma usage has once again went soaring.
Thanks so much for clarification regarding "Advanced Reputation Mod". I guess now I'd need to do my homework to see which one would fit better in our environment.
You're very welcome. Always happy to offer "help" where I can.
Karma Description Mod 2.5 was released.
http://custom.simplemachines.org/mods/index.php?mod=192
Thank you Grek!
Well Done! ;D
Thank you Grek!
Version 2.3 --- is this one compatible with 1.1.8 yet? I already know how to change the package-xml file so that it will install/uninstall but are there any other changes needed to make it compatible with 1.1.8 other than that? The mod page says that this mod in general is now only compatible with 2.0 RC1 - whch is incorrect because I am currently using 2.3 on 1.1.5 so I just need to know of any other changes because I am moving to 1.1.8 tomorrow.
Thanks :)
Help, I intsalled this mod and now I am getting this error when anyone tries to view a forum topic, 1.1.8
QuoteFatal error: Call to undefined function: is_limitedbykarma() in /nfs/c03/h03/mnt/52866/domains/bcfishingreports.com/html/forum/Sources/Display.php on line 915
Thanks in advance!
Rick
QuoteFatal error: Call to undefined function: is_limitedbykarma() in /nfs/c03/h03/mnt/52866/domains/bcfishingreports.com/html/forum/Sources/Display.php on line 915
Hi, it's not my mod. There is now function named "is_limitedbykarma" in Karma Description Mod
Quote from: Kimmie on February 15, 2009, 09:56:04 AM
Version 2.3 --- is this one compatible with 1.1.8 yet?
Yepp, kdm 2.3.1 compatible with 1.1.8
I installed it then I got that error? Do you know how I can fix it???
Quote from: Bergler on February 15, 2009, 06:23:03 PM
I installed it then I got that error? Do you know how I can fix it???
I don't know. Are you shore it is because of KDM? What another mods you have installed?
Quote from: Bergler on February 15, 2009, 03:46:36 PM
Help, I intsalled this mod and now I am getting this error when anyone tries to view a forum topic, 1.1.8
QuoteFatal error: Call to undefined function: is_limitedbykarma() in /nfs/c03/h03/mnt/52866/domains/bcfishingreports.com/html/forum/Sources/Display.php on line 915
Thanks in advance!
Rick
I'm getting the same exact error message. In my case, it's on line 917!
As part of trouble shooting, I uninstalled each and every single MOD that I ever had! No luck!
What puzzles me is how it installs (ver. 2.31 on SMF 1.18) without any error message or warning but once your forum gets screwed and you wanna uninstall it, then all hell breaks loose!I would put a warning that do not install this MOD if you have any kind of MOD installed or .... uninstalled!
Greg buddy, thanks for all your hard work though.
This function looks like it might be part of the Limit Karma Mod (http://custom.simplemachines.org/mods/index.php?mod=1308)
'limitkarma' => is_LimitedByKarma($message['ID_MSG'], 'm'),
When I was researching the Karma mods I seem to recall in the topic that the Limit Karma mod author noted that mod was not compatible with this one, KDM.
Quote from: leah on February 16, 2009, 09:39:46 AM
This function looks like it might be part of the Limit Karma Mod (http://custom.simplemachines.org/mods/index.php?mod=1308)
'limitkarma' => is_LimitedByKarma($message['ID_MSG'], 'm'),
When I was researching the Karma mods I seem to recall in the topic that the Limit Karma mod author noted that mod was not compatible with this one, KDM.
YES, that's the one! I was just going to update my post which saw yours! Thank you.
NOW, I can live without KDM but certainly NOT without Limit Karma! In my book, Limit Karma is more critical.
But on the side note, I wonder why we love open source so much! If these 2 folks worked for a commercial company, they would be forced to get their codes to play nicely! ;)
There are probably thousands different MODS around here but less than 20 KARMA related. What would it take for either developers to do a little research before releasing their codes? AHA .... compiled ... let's ship it ::)
QuoteI wonder why we love open source so much!
We have low budgets. :)
QuoteIf these 2 folks worked for a commercial company, they would be forced to get their codes to play nicely!
And we'd be forced to pay for it. :) I think you're being rather harsh on mod developers who've spent hours and hours working on mod code, and possibly time that they could have spent earning money doing something else with their time.
If two mods are incompatible, it means that they both alter the same blocks of code. Once one changes the block, then the other can no longer find the matching code to change. If every mod author had to read through all the thousands of mods to make them compatible with everything that could edit your Display.php file, nothing would get done at all.
It might not be difficult to get them working together if you edit manually and/or know a little php or are willing to learn. Share your fix and give a little something back to SMF. That's what open source is about.
Package choice is a matter of carefully reading the descriptions and support threads to work out what features mean the most to you and limit the mods you use accordingly. :)
Golden words, leah =)
Quote from: leah on February 16, 2009, 11:03:20 AM
QuoteI wonder why we love open source so much!
We have low budgets. :)
QuoteIf these 2 folks worked for a commercial company, they would be forced to get their codes to play nicely!
And we'd be forced to pay for it. :) I think you're being rather harsh on mod developers who've spent hours and hours working on mod code, and possibly time that they could have spent earning money doing something else with their time.
If two mods are incompatible, it means that they both alter the same blocks of code. Once one changes the block, then the other can no longer find the matching code to change. If every mod author had to read through all the thousands of mods to make them compatible with everything that could edit your Display.php file, nothing would get done at all.
It might not be difficult to get them working together if you edit manually and/or know a little php or are willing to learn. Share your fix and give a little something back to SMF. That's what open source is about.
Package choice is a matter of carefully reading the descriptions and support threads to work out what features mean the most to you and limit the mods you use accordingly. :)
Yes, Golden words, leah! Indeed!
Low budgets???!!!! HA! But, UNLIMITED RESOURCES worldwide! And, ONLY if / when the developer asks for assistance.
For heaven sake, read between the lines, leah. As I said ---> less than 20 KARMA related MODS do not require RE/viewing millions lines of codes!
I have already made up my mind, based on my clients' responses, this particular MOD would not be beneficial. However, at this time, my contribution is:
1) WARN others be careful not to screw up their systems
2) HELP the developer to understand he is responsible for his codes even though there is no one to fire him!
I am not harsh. It's just there is not enough time to be wasted.
Quote from: Bergler on February 15, 2009, 03:46:36 PM
Help, I intsalled this mod and now I am getting this error when anyone tries to view a forum topic, 1.1.8
QuoteFatal error: Call to undefined function: is_limitedbykarma() in /nfs/c03/h03/mnt/52866/domains/bcfishingreports.com/html/forum/Sources/Display.php on line 915
Thanks in advance!
Rick
Yes it fixed but..........when you give negative or positive karma, after you give the reason and press continue you get this error,
QuoteAn Error Has Occurred!
Sorry, you have reached your maximum for adding karma to this Post/PM.
it will still leave karma even though you get this message?? Any ideas??
Strange, this mod doesn't work, all it does is move the Info Center to the top of the forum...
i hope this hasn't been addressed yet, and if so, sorry.
when i install this mod, my "users online" area on the site index ends up being located immediately above the first category (the arena). this happens whether the mod is actually enabled or not.
any ideas? i've been looking for a mod that would remove anonymity from the karma system for a long time, and i'd love to be able to use this.
cheers.
Quote from: ~Killer~ on February 17, 2009, 06:00:43 AM
Strange, this mod doesn't work, all it does is move the Info Center to the top of the forum...
haha, you posted this AS i was posting mine.
Lol, yep ^_^
I really want this mod aswell, same reasons, just like some of the major forums *cough*yugiohcardmaker.net*cough* Even though that uses MyBB...
Can you post here a screenshot with your trouble?
Quote from: Grek_Kamchatka on February 17, 2009, 04:39:30 PM
Can you post here a screenshot with your trouble?
Here is is,
Bergler, i said it for GeorgeNoorySucks.com and Killer on 59 page.
By the way, your error is not a KDM error.
Quote from: Grek_Kamchatka on February 18, 2009, 01:52:48 AM
Bergler, i said it for GeorgeNoorySucks.com and Killer on 59 page.
By the way, your error is not a KDM error.
OK fair enough!! Maybe a little insight would be nice?? I added this KDM to my forum with no errors showing before install and it messed up my forum and thanks to HR he got working again!! Could it be the KDM does not work with Limit Karma?? Do I need to get rid of limit karma for it work or is something else???
Quote from: Bergler on February 18, 2009, 02:00:20 PM
Quote from: Grek_Kamchatka on February 18, 2009, 01:52:48 AM
Bergler, i said it for GeorgeNoorySucks.com and Killer on 59 page.
By the way, your error is not a KDM error.
OK fair enough!! Maybe a little insight would be nice?? I added this KDM to my forum with no errors showing before install and it messed up my forum and thanks to HR he got working again!! Could it be the KDM does not work with Limit Karma?? Do I need to get rid of limit karma for it work or is something else???
Go back and read « Reply #1170 , The KDM doesn't work with the Limit Karma Mod. ;D
Quote from: Grek_Kamchatka on February 17, 2009, 04:39:30 PM
Can you post here a screenshot with your trouble?
here you go.
we have a problem (using smf 1.1.8 and TP)
i activated the option for sending a PM when the karma was changed
but no user get a pm
does anybody know about this how to solve ?
Jessikard, this option must be activated in user profiles.
::) and where ?
in ACP -> basic settings -> karma options are activated
in the permissions karma is activated
in the profiles i can´t see anything to activate
help please
Is this out for smf 1.1.8
Quote from: WBA Dude on March 07, 2009, 08:22:48 AM
Is this out for smf 1.1.8
It works for 1.1.8 :) I have it installed.
Quote from: LexArma on March 07, 2009, 08:25:59 AM
Quote from: WBA Dude on March 07, 2009, 08:22:48 AM
Is this out for smf 1.1.8
It works for 1.1.8 :) I have it installed.
Thanks
I just wanted it safe!
Installed fine. No errors
:( we have the problem, that no pms were send if karma was changed
the necessary options are marked
help plz
I don't use that feature, but I'm guessing it might be something to be enabled in users' personal profile Notifications?
doesnt work for me.. i am running vanilla RC1 SMF.
I install the mod. no errors. I turn it on in the admin control panel.. everything looks fine..
when you click the postive or the negative it goes to a white screen..
and THEN.. if I try to uninstall it.. it PERMANENTLY breaks the database with added fields and some changes.
you get this error which I fixed myself.
http://www.simplemachines.org/community/index.php?topic=298369.msg1970441#msg1970441
Grek, let me know anything I can do to help. I am wondering why it didnt work. The only mods I have is the AEVA one and the ajax chat..
should be unrelated.
any clues let me know.. I WANT your mod.. my users love it.. but.. doesnt work on RC1
I have installed KDM in my forum (SMF 1.1.8 ), but when I "applaud" to someone, I receive the following error: "Unable to load the 'main' template. "
I have tried to uninstall KDM, but I got the following error:
"2. Execute Modification ./Sources/Karma.php Test failed".
So, if any one had such a problem, what you will advise to me or what can I do in this case?
Quote from: vahan on March 17, 2009, 12:07:26 PM
So, if any one had such a problem, what you will advise to me or what can I do in this case?
based on what i've experienced with this mod and what i've read others have experienced, i'd suggest you wait until the developer has had some time to make the code a bit more mature. this mod is not ready for use.
Then how I can remove KDM from my forum or you advise to leave it the same way without uninstalling?
Quote from: GeorgeNoorySucks.com on March 18, 2009, 01:13:48 PM
Quote from: vahan on March 17, 2009, 12:07:26 PM
So, if any one had such a problem, what you will advise to me or what can I do in this case?
based on what i've experienced with this mod and what i've read others have experienced, i'd suggest you wait until the developer has had some time to make the code a bit more mature. this mod is not ready for use.
This mod is very much ready for use, and works perfectly. :) I've been using this through many SMF updates ;)
Quote from: Jessikard on March 08, 2009, 12:39:06 PM
:( we have the problem, that no pms were send if karma was changed
the necessary options are marked
help plz
no way to solve my problem ?
Quote
This mod is very much ready for use, and works perfectly. :) I've been using this through many SMF updates ;)
that might have been the case for you, and if so, that's great because the mod in principle is a great idea and i would love to use it. however, the fact that it works perfectly for you appears to have been dumb luck. my problems existed using the latest version of the mod on a fresh RC1 install.
i think it needs more development. just an opinion.
Quote from: GeorgeNoorySucks.com on March 19, 2009, 10:11:55 PM
Quote
This mod is very much ready for use, and works perfectly. :) I've been using this through many SMF updates ;)
that might have been the case for you, and if so, that's great because the mod in principle is a great idea and i would love to use it. however, the fact that it works perfectly for you appears to have been dumb luck. my problems existed using the latest version of the mod on a fresh RC1 install.
i think it needs more development. just an opinion.
OK, I have to admit I have no experience trying to use this with 2.0 (And maybe I should have mentioned it right in the beginning) - Only several 1.1 versions, so there might be some problems I am unaware of. But for 1.1 versions this has been easy to install even with other modifications, and I found it pretty simple to incorporate in custom themes as well...
Quote from: LexArma on March 20, 2009, 01:49:24 AM
Quote from: GeorgeNoorySucks.com on March 19, 2009, 10:11:55 PM
Quote
This mod is very much ready for use, and works perfectly. :) I've been using this through many SMF updates ;)
that might have been the case for you, and if so, that's great because the mod in principle is a great idea and i would love to use it. however, the fact that it works perfectly for you appears to have been dumb luck. my problems existed using the latest version of the mod on a fresh RC1 install.
i think it needs more development. just an opinion.
OK, I have to admit I have no experience trying to use this with 2.0 (And maybe I should have mentioned it right in the beginning) - Only several 1.1 versions, so there might be some problems I am unaware of. But for 1.1 versions this has been easy to install even with other modifications, and I found it pretty simple to incorporate in custom themes as well...
and i forgot to mention that perhaps the 1.x experience is different than that of 2.x
Hi all
all moderators of my site could not see below link
they say it gives "you dont have a permission to see this page" error
.....forum/index.php?action=viewkarma
any idea?
Regards
I really like this mod, however there is one feature I am looking for and don't know if this has. Do members get credits for every time they post or start a topic?
Quote from: tangerine on March 24, 2009, 09:56:41 AM
I really like this mod, however there is one feature I am looking for and don't know if this has. Do members get credits for every time they post or start a topic?
i know there is a mod out there that does do this. perhaps you can install it in addition to this.
I have used all KDM versions succesfully untill now :( As i have upgareded my forum to SMF 2.0 RC1 and converted all my database to UTF-8; I thought that it is time to install KDM version 2.5 . I installed it without any error, but as my members click on the applaud or smite button on messageindex, it will end up at blank page and karma does not changes.
I need urgent help, please...
Thanks for your good job.
Can you add this:
user who want to change other's karma must send a message to admin with karma
require field,so that he can require admin to change other's karma
My forum:SMF1.1.8
there are supposed to be links in the profile to view karma comments but my links aren't showing. the code is there, the comments can be viewed if you know the url, but the links aren't showing in profiles. permissions are set correctly but i fear something else is interfering with these links being shown.
anyone have a solution or encountered this?
Quote from: sawz on April 11, 2009, 11:54:39 AM
there are supposed to be links in the profile to view karma comments but my links aren't showing. the code is there, the comments can be viewed if you know the url, but the links aren't showing in profiles. permissions are set correctly but i fear something else is interfering with these links being shown.
anyone have a solution or encountered this?
I am having the same problem.
I wouldn't suggest using this mod. No support offered for it.
I did send a pm and saw by profile, author has been on. It is a shame, looks like a good mod.
No support offered for YOU man, not for other...
Quote from: Grek_Kamchatka on April 23, 2009, 10:30:19 PM
No support offered for YOU man, not other...
no support offered for who?
who are you talking about?
Can we keep this friendly, please?
Thankyou.
Is this with smf 1x?
Quote from: sawz on April 11, 2009, 11:54:39 AM
there are supposed to be links in the profile to view karma comments but my links aren't showing. the code is there, the comments can be viewed if you know the url, but the links aren't showing in profiles. permissions are set correctly but i fear something else is interfering with these links being shown.
anyone have a solution or encountered this?
If you're using a custom theme, you need to add the code to the profile template manually.
Quote from: leah on April 25, 2009, 06:00:42 AM
If you're using a custom theme, you need to add the code to the profile template manually.
yes, i am aware of that. however, this custom theme relies heavily on the default theme, so editing is not the issue. something is causing a conflict and we will figure it out with or without assistance.
Hi
I installed the mod. No errors. Except one thing, when I get to this bit - (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi396.photobucket.com%2Falbums%2Fpp45%2FWBADude%2Fsmf%2Fforsmfforum-karmadescriptionmod.jpg&hash=0598b97c6a589557798d6cf081777138c9d7ea29)
It says 1 by default. When I put that and tested it on another account. The notification didn't come. How do I get it to sent it to the admin? My account on the forum is the first account made
Joe
bump
Quote from: Joe N on April 26, 2009, 04:17:59 AM
Hi
I installed the mod. No errors. Except one thing, when I get to this bit - (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi396.photobucket.com%2Falbums%2Fpp45%2FWBADude%2Fsmf%2Fforsmfforum-karmadescriptionmod.jpg&hash=0598b97c6a589557798d6cf081777138c9d7ea29)
It says 1 by default. When I put that and tested it on another account. The notification didn't come. How do I get it to sent it to the admin? My account on the forum is the first account made
Joe
Quote from: From the Help of this mod
If you enable this function, your users will see another one field in their profiles in 'Look and Layuot Preferences' section. It give an opportunity to notify users when their karma will be changed by two way notify: Popup Message and Personal Message.
;)
Thanks
It works ;)
Now I need to add notify by pm to all my members. lol
In your modification file:
echo' </span>
</td>
</tr>
The above is not needed and breaks the xhtml validation.
Very nice mod the little error notwithstanding.
Грек, а можно доработать хак, установив к примеру, что администратор может менять репутацию +5 /-5, модератор + 3/-3 ?
***
Grek, but you can refine hack option, setting for instance, that an administrator can change the reputation of +5 / -5, moderator + 3/-3 ?
ММ, не совсем понял о чем речь.
Ок.
Попробую описать фишку.
У нас есть админы, и модеры -для простоты картины. Супера - пусть с этой точки зрения будут как модеры.
Мы прописываем к примеру - если админ повышает карму юзеру, то приплюсовывается не +1 а +5 или к примеру +10. Если модер повышает карму, то приплюсовывается не +1 а + 3 или там +5.
Ну и если отнимает - то же самое но - вычитается.
Ну а обычные юзеры - как обычно.
Так сказать, в рамках поощрения юзеров административно модераторским составом.
А, ясно. Это можно сделать, но в основной состав мода я это включать не буду, так как не всем это нужно, да и не всем понравится. Я просто отпишу тебе как это сделать вручную.
Ок :)
Вдогонку: нашел баг.
После установки мода для RC1 исчезает выбор показывать функции быстрого модерирования (профиль / внешний вид форума ) "значками".
Ячейками -остается, значками -вырубает
Происходит это оттого, что мод при установке секциеи //Karma Description Mod (Notification) в /Profile.template.php пишется "внутри" выборки опций, а не после окончания выборки.
Другими словами:
Было после установки мода:
<td colspan="2"><label for="display_quick_mod">', $txt['display_quick_mod'], '</label>
<select name="default_options[display_quick_mod]" id="display_quick_mod">
<option value="0"', empty($context['member']['options']['display_quick_mod']) ? ' selected="selected"' : '', '>', $txt['display_quick_mod_none'], '</option>
<option value="1"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] == 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_check'], '</option>
';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>
<option value="2"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] != 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_image'], '</option>
</select>
</td>
</tr>
</table>
</td>
</tr>';
Надо изменить на что то вроде <td colspan="2"><label for="display_quick_mod">', $txt['display_quick_mod'], '</label>
<select name="default_options[display_quick_mod]" id="display_quick_mod">
<option value="0"', empty($context['member']['options']['display_quick_mod']) ? ' selected="selected"' : '', '>', $txt['display_quick_mod_none'], '</option>
<option value="1"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] == 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_check'], '</option>
<option value="2"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] != 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_image'], '</option>
</select>
</td>
</tr>';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>
</table>
</td>
</tr>';
Hello,
i installed Karma_Description_Mod_ver[1].2.3.1 in my forum,but the
Send link in personal message to own karma log
Send the reason in personal message
Send link in personal message to message where karma was changed
didn't work,user couldn't recieve PM,why?
Need help,thanks
Quote from: bosser on May 16, 2009, 05:57:00 PM
Hello,
i installed Karma_Description_Mod_ver[1].2.3.1 in my forum,but the
Send link in personal message to own karma log
Send the reason in personal message
Send link in personal message to message where karma was changed
didn't work,user couldn't recieve PM,why?
Need help,thanks
What smf version?
If you go to profile > Look and layout Preferences and at the bottom, it says, Notify me when my karma will be changed, change it to either pm or popup.
If you go to admin, where it says Send PM from this Member ID (1 by default), put 1
Joe
Hi all
all moderators of my site could not see below link
they say it gives "you dont have a permission to see this page" error
.....forum/index.php?action=viewkarma
any idea?
Regards
The error says it all. They haven't got the permission to view it.
Have you checked the permissions and the mod settings?
Here is my Karma Settings
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg119.imageshack.us%2Fimg119%2F2654%2Fkarmawr1.jpg&hash=fe0b1fef6184c66d32fbd19264260f929eb9e8d1)
And also in Admin CP >> Permissions alreade given view karma log permission to all moderators
This has stopped working after the 1.1.9 upgrade. Is there a fix available?
I have a user running 2.3.1 on a 1.1.9 forum.
I am using Karma Description Mod ver.2.2 (with SMF 1.1.8 )
How can I upgrade it to Karma_Description_Mod_ver.2.3.1 ?
Uninstall 2.2 and then install 2.3.1 ?? Will I lose any description data ?
hello!
i have instaled this mod in my forum (btw great mod!!)
and i have 1 problem now!
after the installation the "online users" tab now is in the top of my forum index! and not in the bottom inside the "info center"
how can i fix this?
smf version : 2.0 RC1-1
thanks
I wasted whole 2 days trying to get this mod to work so please help guys. There is obviously nothing wrong with mod but I can't get it to work.
All my tests were successful in the package manager and when I click install there is an error in the /temp/change database comes up.
If anyof you are kind of enough to upload your working karma.php file or some other files of this I'll be so greatful. It doesn't matter if it is only karma.php.So then I can look at it and work out the manual instruction thing. I just need an example to grasp this manual instruction thing. Thankyou so much for anyone who is going to help me(which no one has so far for me). Thank you!!
Ha Ha got it to work ;) I created a virtual server in my pc then installed the mod and then replaced the files. I'll tell you how I did it because I know what is like to stay there and not get any help.
Yes got it to work. I'll write this post on behalf of everyone who would like to do this.
My smf version- 1.18
Karam descriprion mod - 2.31
1. Download and install wampserver
http://www.wampserver.com/en/download.php
2. Download the smf forum version you like and then place it it in the folder c/wamp/www/
3. Then type in your internet browser http://localhost/the name of the folder you placed inside www/install.php
4. Choose root for username and no password is required
5. Install and try your mods.Good Luck ;)
It works with that version (1.1.8) but not with the most recent I believe.
Also, you need to upgrade -- that version has some security issues:
http://www.simplemachines.org/community/index.php?topic=311899.0
Quote from: Grek_Kamchatka on September 17, 2005, 11:47:13 PM
In Admin panel->Features and Options-> check "Enable Karma Description Mod"
Then on main page you will see [Karma Stat] label near the [More Stats]
http://yourdomain/forum/index.php?action=viewkarma
hey guys... i cant see "Karma Change Description" in my forum, because i didn't saw any link to that page?
i have Karma_Description_Mod_ver.2.3.1
PLEASE HELP!!! TEACH ME ADD MANUALLY THANKS!!
:(
when i'm trying give a +1 always appear: Unable to load the 'main' template.
PLEASE HELP!
PLEASE HELP!!!
I UNISTALLED KARMA MOD AND AFTER I CAN'T GIVE +1 TO USERS!!!
An Error Has Occurred!
Unable to load the 'main' template.
HELP ME!!
I was having the same problem today after i accidentally uninstall karma mod.. And i solved this problem.. :D do this.. uninstall karma mod then upload the original Karma.php from a fresh smf package.. then install the karma mod again.. this will solve ur problem.. ;)
thank you so much bro.. its working again :)
Thanks, great mod
Quote from: pheadrus on April 02, 2009, 09:43:35 AM
I have used all KDM versions succesfully untill now :( As i have upgareded my forum to SMF 2.0 RC1 and converted all my database to UTF-8; I thought that it is time to install KDM version 2.5 . I installed it without any error, but as my members click on the applaud or smite button on messageindex, it will end up at blank page and karma does not changes.
I need urgent help, please...
interesting i have this SAME problem.. I am going to read more of the thread.. i am running RC1-1 now.. same issue.
Took a fresh copy of SMF 2.0 RC1-1 installed this mod. Got he IS_read error.
tried to uninstall the mod and got a error in the karma file it couldnt undo.
Too bad.. this is my FAVORITE mod of all the SMF mods and no one else seems to do this kind of mod.
Hi,
Can we have support for RC1.2?
Thanks and you're doing great!
I just found a bug in this mod.
If install & that uninstall the mod, it dosen't delete all it's code from Karma.php.
So you can't install it again unless you put original Karma.php.
Is any one going to fix it ? :'(
One more bug, if install & then uninstall mod, it forgate's to delete links to it from Profile page, so if you do it 2-3 times, you can see 2-3 the same links :(
Ok while i cant get this to work on 1.1.10 the one setting I did want worked great I want to be able to view who gave who karma is there anyway I could just get that setting by itself...?
Quote from: everwake on June 06, 2009, 07:48:54 AM
hello!
i have instaled this mod in my forum (btw great mod!!)
and i have 1 problem now!
after the installation the "online users" tab now is in the top of my forum index! and not in the bottom inside the "info center"
how can i fix this?
smf version : 2.0 RC1-1
thanks
I had the same issue on the default template in 2.0 RC1-2.
You can make the users online section return to its normal location by editing
.../Themes/default/BoardIndex.template.php
Find:
';
if ((!empty($modSettings['karmadescmod'])) && (empty($modSettings['karmaisowner'])))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
elseif ((!empty($modSettings['karmadescmod'])) && ($context['user']['is_admin']))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
echo' </span>
</td>
</tr>
</div>
</div>
</div>';
}
Replace with:
if ((!empty($modSettings['karmadescmod'])) && (empty($modSettings['karmaisowner'])))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
elseif ((!empty($modSettings['karmadescmod'])) && ($context['user']['is_admin']))
{ if ($context['show_karmastat'])
echo '
<a href="', $scripturl, '?action=viewkarma">'. $txt['statkarma'].'</a>',' ';
}
echo'
</div>
</div>
</div>';
}
Or just remove the
</span> the
</td>& the
</tr>
Excellent mod. Thanks a lot.
One question. Is it possible that an Admin can enable notification by PM for all members, instead of asking every member to do it on their own by going to their profiles.
hello i use smf 1.1.10 i try to instal the mode i download all avaible mode the only mode how i get lower error is 2.3.1
if some one know what i must to do to install the mode at 1.1.10 tnx
p.s is not impossible to install it i see mode is already at mxc and i see his version is 1.1.10 tnx
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 successful
8. Execute Modification ./Themes/default/Admin.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
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 successful
20. Execute Code db_change.php
21. Extract File ./Sources/Viewkarma.php
22. Extract File ./Themes/default/Viewkarma.template.php
23. Extract File ./Themes/default/DescriptionKarma.template.php
i have problem with popup and personal message :(
when i get karma, popup come, but when i click on "yes" i want see, who change my karma, redirect me on index, no karma log :(
and personal message is
QuoteVážený uživateli. Vaše karma byla změněna. Pro více informací pokračujte na násleující odkaz:\nhttp://space4all.cz/index.php?action=ownkarma;u=1\n\nDůvod pro změnu byl: asdfadf\n\nVaše karma byla změněna s následující zprávou:\nhttp://space4all.cz/index.php?topic=16.msg18#msg18
help :( and sorry for my english :)
Quote from: shirasnetwork on September 23, 2009, 03:00:26 PM
One question. Is it possible that an Admin can enable notification by PM for all members, instead of asking every member to do it on their own by going to their profiles.
I think you can enable this for them "by force" :) (from the current theme settings).
Grek_KamchatkaHi,
I have one small feature request (or it's a question?) - Is it would be possible to set default value for the description field, so the user will not have to write description every time, for example there always will be "Thanls you!" text, and user will just need to hit the Continue button. Or, just add an option to skip the description, and if it skipped add the line with "The description was disabled for this item".
i have problem with install packages :(
i have SMF2.0 RC2
QuoteTabulka 'space4all.log_karma' neexistuje
File: /var/www/space4all.cz/beta/Packages/temp/db_change.php
Line: 18
I dont understand, why table space4all, because i have table beta_ no space4all
nobody know? :'(
i am getting many requests from users who want a link on the top menu that says "MY KARMA" and it will take them to their own karma log. is this possible? if so, how?
i am running 1.1.10 with the default (core) theme.
EDIT: i know http://www.domain.com/forum/index.php?action=ownkarma;u=1 would bring up my page but that's specific to me. is there any way i could modify that link so that it would change the user ID number to whoever it is who clicked it?
Quote from: greg04 on November 15, 2009, 11:00:51 AMis there any way i could modify that link so that it would change the user ID number to whoever it is who clicked it?
Something like that perhaps:
echo "<a href=" . $script_url . "?action=ownkarma;u=" . $user_info['id'] . ">My Karma</a>";
Great mod, been using it forever! I miss it in SMF 2.0 RC2 =(
Hello
It is possible to adapt it for RC2 Congratulations on the mod
Regards
Another request for a RC2 version that works with Curve - can't upgrade without this mod, my users love it!
How to set limit user can send karma to anoter user only 1 for 24 hour....
???
Sorry my english not good >,<
I'm not sure the author of this mod is around any more; he hasn't been online since May.
I'll try to get it working in Curve, but I'm not very good at this sort of thing.
maybe someone should PM him, he may be busy offline. I love this mod and have used it for years now. Don't want to do without it, it's very useful.
Quote from: quiteperplexed on November 30, 2009, 08:54:44 AM
maybe someone should PM him, he may be busy offline. I love this mod and have used it for years now. Don't want to do without it, it's very useful.
I don't think that will work, he was last active on May 25, 2009. It can't be that hard to update for rc2.
Hi,
Lo e provado en RC2 y solo falla un archivo alguien puede activarlo es un mod que vale la pena creo que deveria salir instalado co smf disculpen mi ingles
Lo and tried it on RC2 and only fault one can activate a file is a mod that I think is worth co deveria installed smf out excuse my English
Can someone help me out with this? I'm currently using SMF 2.0 RC 1.2 and I installed this mod. It said everything was successful and I enabled the mod in the Karma settings and set the permissions for all the member groups.
Everyone sees the "Who Changed My Karma" links in their profile, however, when you click on the Applaud and Smite links next to a users name in a thread it leads to a blank page and won't work.
What's wrong????! I checked all of the files to see if the coding is correct and everything matches the manual install instructions.
*** EDIT ***
Nevermind! I read this post from an early page and it fixed the problem.
Quote from: kswebs on July 02, 2009, 07:09:49 AM
I was having the same problem today after i accidentally uninstall karma mod.. And i solved this problem.. :D do this.. uninstall karma mod then upload the original Karma.php from a fresh smf package.. then install the karma mod again.. this will solve ur problem.. ;)
I attempted to install KarmaLog before this and that's what messed things up. I Uninstalled Karma Description Mod...replaced the Karma.php in the /Sources folder with a fresh one from the SMF 2.0 RC 1.2 install and then re-installed Karma Description Mod and all is well!!!! THANKS
Hi everyone,
I've just installed this mod on a 1.1.10 version. The mod version was 2.3.1
On the Manage Permissions page There are the following options in the top left of the page:
View Forum Statistics
View The Member List
I then have a blank line - but with a checkbox - followed by
View Who's online.
I'm sure that this option is one from this mod - does anyone know what it should be and where it is generated?
Also - is there any button or link to see the View Karma Log? I can't seem to find one and I have to type it in the URL.
Many Thanks
OK - resolved the first one. The $txt['permissionhelp_karmalog_view'] value in ManagePermissions.english did not have double escaped primes (apostrophes) in it.
The mod said $txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the Karma Description screen by clicking the link in the \'Karma Stat\' section of the board index.';
It should be
$txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \\\'Features and Options\\\'. You can access the Karma Description screen by clicking the link in the \\\'Karma Stat\\\' section of the board index.';
Still hunting the other one!!
Sorted the other - my own stupidity. Needed to set permissions
I am working on the mod for RC2, if I am done with the changes.
I will post it here
Great, I can't wait!
I'll take this down if I'm not authorized to post my own changes, but here..! I managed to get this running on RC2 ;P.
you might be able to install but there is a bug in it.
u will notice it when u give karma.
i got a fixed version of it. currently working making the look of statistics to look like the ones in curve
Hello
I try to install ver 2.6 posted by: gm112 for in smf 2.0 rc 2, but the problem is this: Test Failed in Add After and Add Before, for the Profile.Template.
Before to install, I stoped the karma option.
What can I do?
Thanks
Hello
I have this problem to install the mod for RC2
herror in data base
Table 'miforo_.bbs_log_karma' doesn't exist
Archivo: /var/www/vhosts/cambiarcromos.com/httpdocs/Packages/temp/db_change.php
Línea: 18
Quote from: nurg on December 24, 2009, 02:33:29 PM
Hello
I have this problem to install the mod for RC2
herror in data base
Table 'miforo_.bbs_log_karma' doesn't exist
Archivo: /var/www/vhosts/cambiarcromos.com/httpdocs/Packages/temp/db_change.php
Línea: 18
My bad! I ran into a problem when installing this mod. I had tou pdate the SQL entries to include my forums prefix. If it errors for you still, let me know, and I'll help you out.
u need to convert it into curve.
whose is it?
Hello
I have this problem to install the mod for RC2
herror in data base
Table 'cambiarcromos_.log_karma' doesn't exist
Archivo: /var/www/vhosts/cambiarcromos.com/httpdocs/Packages/temp/Karma_Description_Mod_ver.2.6/db_change.php
Please Help
Regards
Quote from: nurg on December 25, 2009, 02:39:10 AM
Hello
I have this problem to install the mod for RC2
herror in data base
Table 'cambiarcromos_.log_karma' doesn't exist
Archivo: /var/www/vhosts/cambiarcromos.com/httpdocs/Packages/temp/Karma_Description_Mod_ver.2.6/db_change.php
Please Help
Regards
What is the DB prefix for your forums?
You're gonna want to open db_change and stick that in before the SQL entries, lol..
Hello
$db_prefix = 'smf_';
Regards
Та же проблема ((( Кто нибудь может подсказать как решить?
Table 'plesen.smf_log_karma' doesn't exist
Файл: Z:\home\localhost\www\plesen\Packages\temp\Karma_Description_Mod_ver.2.6\db_change.php
Строка: 18
NIce mod... thanks for creating it! will there be any chance of getting a SMF2 RC2 compatible version of this soon..
hi GM112,
tried your 2.6 package on my SMF2 RC2
it gave me this error
Table 'dharshan_forumsmf.log_karma' doesn't exist
File: /home/dharshan/public_html/forum/Packages/temp/Karma_Description_Mod_ver.2.6/db_change.php
Line: 18
is it possible for 1.1.x ?
Quote from: haito on December 30, 2009, 02:36:40 AM
is it possible for 1.1.x ?
of course...just download the package from the mod site..
we r trying to get this work on SMF 2 RC2
Yes Karma_Description_Mod_ver.2.5 make on RC2 and 1.1.x :)
Hi
Not is correct Karma_Description_Mod_ver.2.6.zip RC2
Regards
Quote from: Dharshan on December 30, 2009, 02:01:33 AM
hi GM112,
tried your 2.6 package on my SMF2 RC2
it gave me this error
Table 'dharshan_forumsmf.log_karma' doesn't exist
File: /home/dharshan/public_html/forum/Packages/temp/Karma_Description_Mod_ver.2.6/db_change.php
Line: 18
For whatever reason, SMF isn't including the forum prefix when it used to in RC1. The fix is, go into db_change and replace "smf_" with what your DB prefix is. And, that, should fix your issues ^^.
EDIT: Woops, silly me.
Change db_change.php to
<?php
//Karma Description Mod
if(file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
else if(!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php and SSI.php files.');
if((SMF == 'SSI') && !$user_info['is_admin'])
die('Admin priveleges required.');
db_extend('packages');
$one = array('name' => 'description', 'type' => 'text', 'null' => false);
$two = array('name' => 'link', 'type' => 'text', 'null' => false);
$three = array('name' => 'is_read', 'type' => 'smallint', 'size' => 1, 'null' => false);
$smcFunc['db_add_column']("{db_prefix}log_karma", $one);
$smcFunc['db_add_column']("{db_prefix}log_karma", $two);
$smcFunc['db_add_column']("{db_prefix}log_karma", $three);
$smcFunc['db_remove_index']("{db_prefix}log_karma", 'primary');
$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array('variable' => 'string', 'value' => 'string'),
array(
array('karmamaxmembers', '10'),
array('karmawhatwrite', 'Explanation was disabled'),
array('karmaidmember', '1'),
),
array('variable')
);
?>
That "should" fix the issues you guys are having. (At least this time, it recognized the prefix for me >_<)..
hi gm112,
thanks for the update...
but at the installation process it does give a lot of "test fails"...
will try this on my localhost....
cheers!
thanks
Quote from: Dharshan on January 03, 2010, 02:53:15 AM
hi gm112,
thanks for the update...
but at the installation process it does give a lot of "test fails"...
will try this on my localhost....
cheers!
What version of SMF are you trying on? I modified it exclusively for RC2..
SMF 2 RC2 to be exact...
default core theme..
have a bunch of other mods installed as well
Quote from: Dharshan on January 06, 2010, 11:16:49 PM
SMF 2 RC2 to be exact...
default core theme..
have a bunch of other mods installed as well
Interesting.. I've tested this on a vanilla install of SMF2 RC2, and it worked fine. Is it failing on the template files or some core files? (running this on a forum with various other mods as well, and it seems to be working just fine)
gimme your latest installation module...
then i'll be able to retry
Hi gm112.
First thanks for the update of this mod, installed without a problem on SMF 2.0 RC2.
But i get a lot of this errors:
8: Undefined index: karma_delete
File: /Themes/default/Viewkarma.template.php
line: 110
8: Undefined index: karmanumb
File: /Themes/default/Viewkarma.template.php
line: 105
8: Undefined index: karmatime
File: /Themes/default/Viewkarma.template.php
line: 32
8: Undefined index: karmadesc
File: /Themes/default/Viewkarma.template.php
line: 30
8: Undefined index: karmawhat
File: /Themes/default/Viewkarma.template.php
line: 29
8: Undefined index: karmawhos
File: /Themes/default/Viewkarma.template.php
line: 28
8: Undefined index: karmawho
File: /Themes/default/Viewkarma.template.php
line: 27
8: Undefined index: karmaview
File: /Themes/default/Viewkarma.template.php
line: 23
8: Undefined index: sure_about_karma_remove
File: /Themes/default/Viewkarma.template.php
line: 20
8: Undefined index: viewkarma_title
File: /Sources/Viewkarma.php
line: 189
8: Undefined index: viewkarma_title
File: /Sources/Viewkarma.php
line: 186
8: Undefined index: statkarma
File: /Themes/default/BoardIndex.template.php
line: 381
in my errorlog. Any hints how i can fix this? Thanks in advance for a reply.
Quote from: Fisch.666 on January 07, 2010, 03:50:23 PM
Hi gm112.
First thanks for the update of this mod, installed without a problem on SMF 2.0 RC2.
But i get a lot of this errors:
8: Undefined index: karma_delete
File: /Themes/default/Viewkarma.template.php
line: 110
8: Undefined index: karmanumb
File: /Themes/default/Viewkarma.template.php
line: 105
8: Undefined index: karmatime
File: /Themes/default/Viewkarma.template.php
line: 32
8: Undefined index: karmadesc
File: /Themes/default/Viewkarma.template.php
line: 30
8: Undefined index: karmawhat
File: /Themes/default/Viewkarma.template.php
line: 29
8: Undefined index: karmawhos
File: /Themes/default/Viewkarma.template.php
line: 28
8: Undefined index: karmawho
File: /Themes/default/Viewkarma.template.php
line: 27
8: Undefined index: karmaview
File: /Themes/default/Viewkarma.template.php
line: 23
8: Undefined index: sure_about_karma_remove
File: /Themes/default/Viewkarma.template.php
line: 20
8: Undefined index: viewkarma_title
File: /Sources/Viewkarma.php
line: 189
8: Undefined index: viewkarma_title
File: /Sources/Viewkarma.php
line: 186
8: Undefined index: statkarma
File: /Themes/default/BoardIndex.template.php
line: 381
in my errorlog. Any hints how i can fix this? Thanks in advance for a reply.
Woah. That's not right.. Can you turn off template eval and send me the errors? It looks like the database changes didn't roll out as it was supposed to.
Quote from: Dharshan on January 07, 2010, 06:38:54 AM
gimme your latest installation module...
then i'll be able to retry
Attached with the {db_prefix} included in the DB install.
Hi!
Thanks for your reply.
I had this problem because i have a german-utf8 language pack installed and the german languagefiles wasn't edited by the installer.
After adding the edits by hand it works without errors now. :)
Quote from: Fisch.666 on January 07, 2010, 06:19:51 PM
Hi!
Thanks for your reply.
I had this problem because i have a german-utf8 language pack installed and the german languagefiles wasn't edited by the installer.
After adding the edits by hand it works without errors now. :)
I see. ^^
Glad you resolved it!
Many thanks gm112 for updating this mod - I'd give you +ve karma if I was able to on here :)
hi gm112,
your 2.6 version works well..... no errors and it installed perfect!
any ways i have a SS for errors i had with previous installation
Quote from: Dharshan on January 10, 2010, 03:58:56 AM
hi gm112,
your 2.6 version works well..... no errors and it installed perfect!
any ways i have a SS for errors i had with previous installation
Oh, damn >_<.. Sucks you were receiving those errors, but I'm glad it resolved eventually! : D I wonder what the error was on the profile template. I bet it was something silly which was easy to fix, no?
Quote from: bork on January 09, 2010, 07:31:38 AM
Many thanks gm112 for updating this mod - I'd give you +ve karma if I was able to on here :)
All I did was update the installer script to RC2 ;P.
hi gm112,
it's just a simple thing in your side LOL....but for me it was a lot more bigger...Thanks a lot for making it work!
cheers!
In my case the mod destroys the BoardIndex.template.php at this line:
<a href="' . $scripturl . '?action=stats">' . $txt['more_stats'] . '</a>' : '', '</p>';
I fixed it by removing the inserted stuff.
Now it works fine! Cool mod!
Karma Description Mod was updated
Release notes:
Karma_Description_Mod_ver.2.6.1
*This bugs was fixed:
- Fixed bug with reinstalling KDM (There was an error with "}" at the end of Karma.php after reinstalling kdm)
- Fixed bug with notifications, when karma was changed (Users settings in their profiles was absent)
- Fixed bug with redirecting when karma was changed in PM
- Small fix in Viewkarma template for Administratos. "Where" field now have 9% from parent table and double linktree was fixed
- Small fix in BoardIndex template with [Karma Stat] link.
- Small fix in Viewkarma template. When other karma statistic was ON, progress bar was absent. Bar.gif was renamed to bar_stats.png
- Settings with notifications when karma was changed replaced to Notification area in user profiles
i got error when i installed this mod...
any sollution?
haito, this mod is only for SMF 2.1 RC2.
For 1.1.11 still not ready.
Grek_Kamchatka thank you for new version ;)
I second that! Thanks for updating this mod :D
is there an older copy floating around of one of the versions that worked with 1.1.x?
thezkitten, i hope in few day it will be.
To All: Karma Description Mod 2.6.3 was released!
In Russian: Инасталлятор теперь один и содержит в себе английский и русские языки (cp1251 и utf8)
Thanks for updating this mod.
Karma Description Mod 2.6.4 RELEASED!
Hi,
I installed today this mod and i have some problem.
I dont see any text in admin area, even i do see boxes and simialr - i attached ss.
during installation, i get error installing in profile.template.php, but i added manualy that code.
Please help me
edit: i have 2.0 RC2 and KDM 2.6.4
Do you use the english-utf8 languagepack?
If yes, you have to make the changes from the english languagepack to the english-utf8 languagepack or you have to install this mod:
http://custom.simplemachines.org/mods/index.php?mod=615
Quote from: Fisch.666 on January 22, 2010, 08:17:34 AM
Do you use the english-utf8 languagepack?
If yes, you have to make the changes from the english languagepack to the english-utf8 languagepack or you have to install this mod:
http://custom.simplemachines.org/mods/index.php?mod=615
i use croatian language, and I installed this mod, and now i can see mod in admin, however, does he need lil time to start gather and show up stats and things? cos i dont see thos 2 things (actualy i dont see mod in action -except in admin area :o ):
It is because of you use another language then English. Open english files which was updated with this mod and add to your language files needed strings.
By the way, http://custom.simplemachines.org/mods/index.php?mod=615 will help you. Thank you Fisch.666
Karma_Description_Mod_ver.2.6.5 was released!
You can see release notes on main mod page. (http://custom.simplemachines.org/mods/index.php?mod=192)
Enjoy!
Quote from: Repsol AL on September 14, 2005, 09:13:41 PM
there is no "test"
nothing to enable it
it just never gets installed
how can i execute the XML files to do the modifications
from ftp software ?
Have you tried downloading the package to your forum using the alternative means in the package manager? i.e. by url or upload the zip after downloading it and failing that trying to manually install it.
I know your problem is execution but it's worth a try.
Greg,
for users who are still on 1.1.x, would you be so kind as to make available KMD2.3.1 in the downloads section in the meantime?
Am getting lots of errors from 2.2 version with the "is_read" issue and seems to be upsetting some users login (it's throwing longs lists of errors)
Sil, all Done!
Note: KDM ver.2.3.1 is an old version of this mod without any new functions which has version 2.6.5 and version 2.3.1 is no longer supported. Any troubles with KDM 2.3.1 on SMF 1.1.* is your own trouble. I'm work right now with compatibility kdm 2.6.5 and smf 1.1.11
Quote from: Grek_Kamchatka on January 24, 2010, 11:57:38 PM
Sil, all Done!
Note: KDM ver.2.3.1 is an old version of this mod without any new functions which has version 2.6.5 and version 2.3.1 is no longer supported. Any troubles with KDM 2.3.1 on SMF 1.1.* is your own trouble. I'm work right now with compatibility kdm 2.6.5 and smf 1.1.11
thankyou, & understood. :)
Karma Description Mod ver. 2.6.6 was RELEASED!
Now compatible with all latest SMF versions (1.1.11 and 2.0 RC2)
Quote from: Grek_Kamchatka on January 27, 2010, 11:11:25 PM
Karma Description Mod ver. 2.6.6 was RELEASED!
Now compatible with all latest SMF versions (1.1.11 and 2.0 RC2)
Very nice work :-)
@Grek
i have error when installed...
11. Execute Modification ./Themes/default/Display.template.php Test failed
:-\
Karma Description Mod 2.6.7 was released. See release notes on mod page
Full upgraded Czech translate version Karma_Description_Mod_ver.2.6.7.zip there:
http://www.simplemachines.org/community/index.php?topic=301494.msg1993207#msg1993207
Thx, posted link on mod page.
Quote from: haito on January 28, 2010, 09:23:41 PM
@Grek
i have error when installed...
11. Execute Modification ./Themes/default/Display.template.php Test failed
:-\
Are you currently using any mods that have already edited Display.template.php? From my experience, a fail usually indicates that the required code cannot be found usually because it's not there or it's been edited by another mod.
Have a look at the section of code that the mod is trying to find and see if you can match it up:
http://custom.simplemachines.org/mods/index.php?action=parse
If not, you'll need to manually install the mod.
After I install it, I get this error when I try to view a topic
Fatal error: Call to undefined function is_limitedbykarma() in /home/nepta/public_html/killthemongoose.com/tnc/Sources/Display.php on line 1183
Quexinos, This mod is incompatible with other karma mods
does this mod works with advance reputation mod also
i mean like this mod shows if someone give karma to another we can see it
in same way like someone add reputation to other we can see that also ?
Head's up on 2.6.7. In karma.php, you're going to want to remove an extra }.
GOTO: Line 428 and find
obExit(false);
}
}
}
Change that to
obExit(false);
}
}
..and everything will be fine. =)
Hi,
I installed the latest version of this mod in my SMF 1.1.11 it not work properly.
Please see attached
there is error, not description (words) in the screen, after I clik good karma or bad karma
hope you can help me to solve this problem
thanks in advance
Quote from: kicky on February 07, 2010, 09:14:10 PM
Hi,
I installed the latest version of this mod in my SMF 1.1.11 it not work properly.
Please see attached
there is error, not description (words) in the screen, after I clik good karma or bad karma
hope you can help me to solve this problem
thanks in advance
Hi, what language do you use by default on your forum?
Quote from: Grek_Kamchatka on February 07, 2010, 09:36:28 PM
Quote from: kicky on February 07, 2010, 09:14:10 PM
Hi,
I installed the latest version of this mod in my SMF 1.1.11 it not work properly.
Please see attached
there is error, not description (words) in the screen, after I clik good karma or bad karma
hope you can help me to solve this problem
thanks in advance
Hi, what language do you use by default on your forum?
English
Only English, or english-utf8? Do you have any errors in error log?
Quote from: Grek_Kamchatka on February 08, 2010, 02:00:13 AM
Only English, or english-utf8? Do you have any errors in error log?
English utf8
Yes, lots about karma
- 8: Undefined index: viewkarma_title
File: /home/innovaco/public_html/Sources/Karma.php
Line: 94
- 8: Undefined index: karma_continue
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 36
-8: Undefined index: statkarma
File: /home/innovaco/public_html/Themes/default/BoardIndex.template.php
Line: 421
- 8: Undefined index: karma_continue
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 36
- 8: Undefined index: karma_back
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 35
- 8: Undefined index: karmarequare
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 30
-8: Undefined index: karmamoder
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 30
-8: Undefined index: karmadescappl
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 27
-8: Undefined index: whykarmamod
File: /home/innovaco/public_html/Themes/default/DescriptionKarma.template.php
Line: 26
-8: Undefined index: viewkarma_title
File: /home/innovaco/public_html/Sources/Karma.php
Line: 94
Add all language strings that was added by this mod, to your english-utf.php files
Quote from: Grek_Kamchatka on February 08, 2010, 03:41:33 AM
Add all language strings that was added by this mod, to your english-utf.php files
what is languange strings?
where i can find them?
i assume add by manual, right?
At the end of each files add this code:
ManageMaintenance.english-utf8.php
//Karma Descriprion Mod
$txt['maintain_karmalog'] = 'Empty out Karma Description log';
$txt['maintain_karmalog_info'] = 'Delete all karma description log';
$txt['maintain_karma_points'] = 'Set all karma points to 0 to all members';
$txt['maintain_karma_points_info'] = 'Set all karma points to 0 to all members';
$txt['maintain_karma_points_info2'] = 'and erase all karma description log';
ManageSettings.english-utf8.php
//Karma Descriprion Mod
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic\'s starter karma';
$txt['karmanotifier'] = 'Enable karma notification';
$txt['karmaidmember'] = 'Send PM from this Member ID (1 by default)';
$txt['karma_pm_send_changelink'] = 'Send link in personal message to message where karma was changed';
$txt['karma_pm_send_link'] = 'Send link in personal message to own karma log';
$txt['karmacantmodify'] = 'User ID\'s, whose karma can\'t be changed. <div class="smalltext">Comma separated, without spaces. For example: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID\'s, who can\'t modify karma. <div class="smalltext">For example: 2,412,88</div>';
$txt['karmabuttons'] = 'Show small images instead of karma applaud and smite text labels';
$txt['karmapictureinlog'] = 'Show small images in karma description log instead of + or - in action field';
$txt['karmadelete'] = 'Delete user karma points when i delete descriptions of changing in Karma Description log';
$txt['karmalabellink'] = 'Use karma label as link to members karma description log';
$txt['karmalastchange'] = 'Enable last karma change on BoardIndex';
$txt['karmalastchangenum'] = 'Number of descriptions on BoardIndex';
$txt['karmadescfieldnum'] = 'How much symbols will be in Description field on BoardIndex';
Who.english-utf8.php
//Karma Descriprion Mod
$txt['whoadmin_viewkarma'] = 'Viewing <a href="' . $scripturl . '?action=viewkarma">Karmachange Description log</a>.';
$txt['whoall_modifykarma'] = 'Changing karma.';
Help.english-utf8.php
//Karma Descriprion Mod
$helptxt['karmapermiss'] = 'By default this option is switched off and Karma Log can look only admins. If you want to do Karma Log available for other users or moderators, etc, enable this option and give the right that group, which can look Log in "Permissions" section.';
$helptxt['karmaotherstat'] = 'Show other karma statistics like Max applauded users or Max smited users and so on in whole karma log.';
$helptxt['karmalinks'] = 'If you enable this feauture, users will see two links in their profiles (Own or other users). They can see who change their karma and whom they change it. Karma Description Mod must be enabled';
$helptxt['karmakarma'] = 'It\'s display users karma in Karma log opposit the usernames. For example: Username (+12/-8)';
$helptxt['karmaurl'] = 'If you enable this option, you and your users can view where their karma was change.';
$helptxt['karmaisowner'] = 'If you enable this option, only profile owner will see two links to his own karma log. By the way, your users will resieve an error if they input an url adress (like http://your_forum.com/index.php?action=ownkarma;u=other_user) by the hand if you don\'t want your users can view other users karma log. Whole karma log will be disabled too. ONLY OWN KARMA LOG.';
$helptxt['karmanotifier'] = 'If you enable this function, your users will see another one field in their profiles in \'Notifications\' section. It give an opportunity to notify users when their karma will be changed by two way notify: Popup Message and Personal Message.';
$helptxt['karmaidmember'] = 'If your users enabled Karma Notify function and choose Personal Message notify, they will recieve a Peronal Message from this member id. For example, if you have ID_MEMBER=1 they will recieve PM from you and so on. If you set member id = 0 your users will recieve a message from Admin Guest.';
$helptxt['karma_pm_send_link'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to their own karma log.';
$helptxt['karma_pm_send_desc'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see the reason of karma change.';
$helptxt['karma_pm_send_changelink'] = 'If your users enabled Karma Notify function and choose Personal Message notify, in Personal Message they will see a link to message where their karma was changed.';
$helptxt['karmacantmodify'] = 'Comma separated, without any spaces.';
$helptxt['karmacantmodify2'] = 'Comma separated, without any spaces.';
index.english-utf8.php
//Karma Description Mod
$txt['karmaview'] = 'Karma Change Description';
$txt['whykarmamod'] = 'Karma change';
$txt['Description'] = 'No Description';
$txt['karmamoder'] = 'Reason for changing the karma of this user';
$txt['karmarequare'] = '(Required field)';
$txt['karmawho'] = 'Who';
$txt['karmawhos'] = 'Whom';
$txt['karmawhat'] = 'What';
$txt['karmadesc'] = 'For What';
$txt['karmatime'] = 'When';
$txt['karmanumb'] = 'Values: ';
$txt['statkarma'] = '[Karma Stats]';
$txt['viewkarma_title'] = 'Karma Change Description';
$txt['deletekarma'] = 'Delete';
$txt['clearkarma'] = 'Clear';
$txt['karma_delete_confirm'] = 'Are you sure you want to delete this record?';
$txt['karma_back'] = '< Back';
$txt['karma_continue'] = 'Continue >';
$txt['karmadescappl'] = ' (Applaud)';
$txt['karmadescsmi'] = ' (Smite)';
$txt['karmawhere'] = 'Where';
$txt['karmawhereurl'] = 'In topic';
$txt['karmawhereurl2'] = 'In PM';
$txt['karma_delete'] = 'Delete';
$txt['karma_pages'] = 'Pages';
$txt['karma_profile_of'] = 'View the profile of';
$txt['sure_about_karma_remove'] = 'Are you sure you want to delete this record?';
$txt['karma_stat'] = 'Karma Statistic';
$txt['karma_top_applaud'] = 'Top 5 applauded users';
$txt['karma_top_smite'] = 'Top 5 smited users';
$txt['karma_other_stat'] = 'General Statistics';
$txt['karma_max_appl'] = 'User MAX applauding other users';
$txt['karma_max_smit'] = 'User MAX smiting other users';
$txt['karma_today'] = 'Karma points today';
$txt['karma_today_plus'] = 'Today "+"';
$txt['karma_today_minus'] = 'Today "-"';
$txt['karma_notifier'] = 'Your karma was changed on ';
$txt['karma_notifier2'] = ' points. Do you want to see the karma description log?';
$txt['karma_pm_subject'] = 'Karma Notification';
$txt['karma_pm_body'] = 'Dear user. Your karma was changed. ';
$txt['karma_pm_body2'] = 'You can see the log if follow this link:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Send the reason in personal message';
$txt['karma_pm_send_desc2'] = '<br /><br />The reason of changing was: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Your karma was changed on this message:<br />';
$txt['karma_last_change']='Last karma change';
$txt['karma_last_change1']='Last ';
$txt['karma_last_change2']=' karma changes';
ManagePermissions.english-utf8.php
$txt['permissionname_karmalog_view'] = 'View Karma Log';
$txt['permissionhelp_karmalog_view'] = 'Karma Description Log shows all members karma and description of applauding or smiting. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the Karma Description screen by clicking the link in the \'Karma Stat\' section of the board index.';
Errors.english-utf8.php
$txt['cannot_karmalog_view'] = 'Sorry - you don\'t have the proper permissions to view the Karma Description list.';
$txt['viewkarma_error'] = 'User ID must be a number';
$txt['karma_not_topic_starter'] = 'Sorry, he(she) is not a topic\'s starter.';
$txt['karma_cant_modify'] = 'Sorry, you can\'t modify karma to this user.';
$txt['karma_cant_modify2'] = 'Sorry, you can\'t modify karma to other users.';
$txt['kdm_error'] = 'Karma Description Mod is disabled';
Profile.english-utf8.php
$txt['who_change_my_karma'] = 'Who changed my karma';
$txt['whom_i_change_karma'] = 'Whose karma have I changed';
$txt['enable_notify'] = 'Notify me when my karma will be changed';
$txt['enable_notify_none'] = 'don\'t notify';
$txt['enable_notify_popup'] = 'Popup window';
$txt['enable_notify_pm'] = 'Personal Message';
Thanks Grek
But I can not find files :
ManageMaintenance.english-utf8.php
ManageSettings.english-utf8.php
The rest I have it
Ah, ofcource, you have a ModSettings.english-utf8.php in smf 1.1.11 instead of ManageMaintenance and ManageSettings.
Quote from: Grek_Kamchatka on February 08, 2010, 04:42:41 PM
Ah, ofcource, you have a ModSettings.english-utf8.php in smf 1.1.11 instead of ManageMaintenance and ManageSettings.
I open ModSetting.english-utf8.php and found the edit you asked.
So after I add the code as your quideance, the admin panel for karma showed as attached
And now what happened?
No error log.
Thanks in advance again
Try to erase all cache data for your forum.
Quote from: Grek_Kamchatka on February 08, 2010, 10:01:59 PM
Try to erase all cache data for your forum.
If you mean cache in my browser I always do it after I install any mod.
And I just did it again....
Or you means clear cache data in file manager?
which cache?
how to erase?
I am noobie here :)
thanks again
Nope, cache in admin panel. Admin - Server options - Cacheeng. Disable
Quote from: Grek_Kamchatka on February 08, 2010, 11:20:47 PM
Nope, cache in admin panel. Admin - Server options - Cacheeng. Disable
Cache is disable in my SMF
Ok, can you mail me your ModSettings.english.php and ModSettings.english-utf8.php? grek.kamchatka at gmail.com
Thanks Grek.
Sent
I saw your files you mail me, do next step
open your ModSettings.english-utf8.php file and add this code at the end of the file
//Karma Descriprion Mod
$txt['karmadescmod'] = 'Enable Karma Description Mod';
$txt['karmamaxmembers'] = 'Members per page in Karma Description log';
$txt['karmalogview'] = 'Use member names as link to their profiles';
$txt['karmapermiss'] = 'Allow users view Karma Description log (See Permissions)';
$txt['karmalinks'] = 'Enable karma links in users profiles';
$txt['karmaisowner'] = 'Disable whole karma log for users but enable own karma log';
$txt['karmakarma'] = 'Display users karma(+/-) in Karma Description Log';
$txt['karmaurl'] = 'Enable "Where" field in Karma Description Log';
$txt['karmaotherstat'] = 'Show other Karma Statistics';
$txt['karmasurv'] = 'Applaud or smite users without explanation';
$txt['karmawhatwrite'] = 'Write this in the log, when explanation is disabled';
$txt['karmacensor'] = 'Censor karma explanation';
$txt['karmatopicstarter'] = 'Users can change only topic\'s starter karma';
$txt['karmanotifier'] = 'Enable karma notification';
$txt['karmaidmember'] = 'Send PM from this Member ID (1 by default)';
$txt['karma_pm_send_changelink'] = 'Send link in personal message to message where karma was changed';
$txt['karma_pm_send_link'] = 'Send link in personal message to own karma log';
$txt['karmacantmodify'] = 'User ID\'s, whose karma can\'t be changed. <div class="smalltext">Comma separated, without spaces. For example: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID\'s, who can\'t modify karma. <div class="smalltext">For example: 2,412,88</div>';
$txt['karmabuttons'] = 'Show small images instead of karma applaud and smite text labels';
$txt['karmapictureinlog'] = 'Show small images in karma description log instead of + or - in action field';
$txt['karmadelete'] = 'Delete user karma points when i delete descriptions of changing in Karma Description log';
$txt['karmalabellink'] = 'Use karma label as link to members karma description log';
$txt['karmalastchange'] = 'Enable last karma change on BoardIndex';
$txt['karmalastchangenum'] = 'Number of descriptions on BoardIndex';
$txt['karmadescfieldnum'] = 'How much symbols will be in Description field on BoardIndex';
@ Grek
Done and work perfect.
But now some member can not view the stats, even I already allow in the permision and karma panel
I will report back if I still can not solve it
@ Grek
I thick this function
Disable whole karma log for users but enable own karma log
But then all members can not see Karma Stats.
That function suppose for view own karma log only, isn't it?
Quote from: kicky on February 11, 2010, 04:11:41 AM
That function suppose for view own karma log only, isn't it?
Yes, thats right
@ Grek,
After I thick that function than all member can't see their own karma, even can't not see any karma stat icon in Homepage.
Whats went wrong?
Any item that I miss?
Fantastic MOD love it.. instealled freshly on 2.0RC with custom theme no proble no mod needed to the custom theme works a treat..
Thanks for the great mod.. :)
100% man.
If Karma Mode is 'Enable Total', then can I still use this Karma Description?
Thanks.
Yes, ofcourse
I completed the translation spanish_es (and spanish_es-utf8, of course ;) ) of KarmaDescriptionMod 2.6.7 (I have based on several translations already made)
<?php
// $themedir/languages/Admin.spanish_es.php - 1.1
// $themedir/languages/ManageMaintenance.spanish_es.php - 2.0
$txt['maintain_karmalog'] = 'Vaciar el log de Descripción del Karma';
$txt['maintain_karmalog_info'] = 'Elimina todo el log de Descripción del Karma';
$txt['maintain_karma_points'] = 'Establecer todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info'] = 'Establece todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info2'] = 'y borra todo el log de Descripción del Karma';
// $themedir/languages/ModSettings.spanish_es.php - 1.1
// $themedir/languages/ManageSettings.spanish_es.php - 2.0
$txt['karmadescmod'] = 'Habilita el Mod Karma Description';
$txt['karmamaxmembers'] = 'Usuarios por página en el log de Descripción del Karma';
$txt['karmalogview'] = 'Usa los nombres de los usuarios como enlace a sus perfiles';
$txt['karmapermiss'] = 'Permite a los usuarios ver el log de Descripción del Karma (Ver Permisos)';
$txt['karmalinks'] = 'Habilita los enlaces de karma en los perfiles de usuario';
$txt['karmaisowner'] = 'Inhabilita el log de karma completo a los usuarios, pero habilita el log de karma propio';
$txt['karmakarma'] = 'Muestra el karma(+/-) de los usuarios en el log de Descripción del Karma';
$txt['karmaurl'] = 'Habilita el campo "Dónde" en el log de Descripción del Karma';
$txt['karmaotherstat'] = 'Muestra otras estadísticas de karma';
$txt['karmasurv'] = 'Aplaudir o castigar a usuarios sin explicación';
$txt['karmawhatwrite'] = 'Escribe esto en el log cuando la explicación esta inhabilitada';
$txt['karmacensor'] = 'Censurar la descripción del karma';
$txt['karmatopicstarter'] = 'Los usuarios solo pueden modificar el karma del autor del tema';
$txt['karmanotifier'] = 'Habilita la notificación de karma';
$txt['karmaidmember'] = 'Envía MP desde este ID de usuario (por defecto 1)';
$txt['karma_pm_send_changelink'] = 'Envía por mensaje personal un enlace al mensaje donde se ha cambiado el karma';
$txt['karma_pm_send_link'] = 'Envía enlace al log de karma propio por mensaje personal';
$txt['karmacantmodify'] = 'IDs de usuario cuyo karma no puede ser modificado. <div class="smalltext">Separados por coma, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuario que no pueden modificar el karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Muestra pequeñas imágenes en lugar de las etiquetas de texto de karma de aplaudir y castigar';
$txt['karmapictureinlog'] = 'Muestra pequeñas imágenes en el log de Descripción del Karma en lugar + o - en el campo acción';
$txt['karmadelete'] = 'Elimina los puntos de karma de usuario cuando borre la descripción de los cambios en el log de Descripción del Karma';
$txt['karmalabellink'] = 'Usa etiquetas de karma como enlace al log de Descripción del Karma de los usuarios';
$txt['karmalastchange'] = 'Habilita últimos cambios de karma en el índice del foro';
$txt['karmalastchangenum'] = 'Número de descripciones en el índice del foro';
$txt['karmadescfieldnum'] = 'Cuántos caracteres habrá en el campo descripción en el índice del foro';
// $themedir/languages/Who.spanish_es.php
$txt['whoadmin_viewkarma'] = 'Viendo el <a href="' . $scripturl . '?action=viewkarma">log de Cambios en la Descripción del Karma</a>.';
$txt['whoall_modifykarma'] = 'Cambiando el Karma.';
// $themedir/languages/Help.spanish_es.php
$helptxt['karmapermiss'] = 'Por defecto esta opción está desactivada y el log de Karma solo lo pueden ver los administradores. Si quieres que el log de Karma disponible esté otros usuarios o moderadores, etc., habilita esta opción y dale el derecho de ver el log a ese grupo modificando los permisos.';
$helptxt['karmaotherstat'] = 'Muestra otras estadísticas de karma, como los usuarios más aplaudidos o los usuarios más castigados, y cosas así, del log de karma completo.';
$helptxt['karmalinks'] = 'Si habilitas esta característica, los usuarios verán dos enlaces en sus perfiles (propios o de otros usuarios). Podrán ver quien cambia su karma y a quienes se lo han cambiado. El Mod Karma Description debe estar habilitado';
$helptxt['karmakarma'] = 'Muestra el karma del usuario en el log de karma frente a su nombre de usuario. Por ejemplo: NombreUsario (+12/-8)';
$helptxt['karmaurl'] = 'Si habilitas esta opción, tu y tus usuarios podrán ver donde se modificó su karma.';
$helptxt['karmaisowner'] = 'Si habilitas esta opción, solo el propietario del perfil podrá ver los dos enlaces a su propio log de karma. Por otra parte, tus usuarios recibirán un error si introducen una dirección url (como http://your_forum.com/index.php?action=ownkarma;u=other_user) a mano si no deseas que tus usuarios puedan ver el log de karma de los demás usuarios. El log de karma completo se inhabilitará también. SOLO EL LOG DE KARMA PROPIO.';
$helptxt['karmanotifier'] = 'Si habilitas esta función, tus usuarios verán un campo más en sus perfiles en la sección \'Notificaciones y email\'. Esto dará la oportunidad de notificar a los usuarios cuando se modifique su karma, a través de dos formas: Mensaje en una ventana emergente y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si tus usuarios habilitaron la función de Notificación del Karma y eligen notificación por Mensaje Personal, lo recibirán desde este ID de usuario. Por ejemplo, si tienes ID_MEMBER=1 recibirán un MP de tu parte. Si fijas el ID de usuario a 0, tus usuarios recibirán un mensaje de parte del Administrador.';
$helptxt['karma_pm_send_link'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán un enlace a su log de karma propio.';
$helptxt['karma_pm_send_desc'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de karma.';
$helptxt['karma_pm_send_changelink'] = 'Si tus usuarios habilitan la función de Notificación de Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán enlace al mensaje donde se modificó su karma.';
$helptxt['karmacantmodify'] = 'Separados por comas, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados por comas, sin espacios.';
// $themedir/languages/index.spanish_es.php
$txt['karmaview'] = 'Cambios en la Descripción del Karma';
$txt['whykarmamod'] = 'Cambio de karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para cambiar el karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Por qué';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Cambios en la Descripción del Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Limpiar';
$txt['karma_delete_confirm'] = '¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_back'] = '< Volver';
$txt['karma_continue'] = 'Continuar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Abuchear)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En tema/post';
$txt['karmawhereurl2'] = 'En MP';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Páginas';
$txt['karma_profile_of'] = 'Ver perfil de';
$txt['sure_about_karma_remove'] ='¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Los 5 usuarios más aplaudidos';
$txt['karma_top_smite'] = 'Los 5 usuarios más abucheados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más aplaude a otros usuarios';
$txt['karma_max_smit'] = 'Usuario que más abuchea a otros usuarios';
$txt['karma_today'] = 'Puntos de karma de hoy';
$txt['karma_today_plus'] = 'Hoy "+"';
$txt['karma_today_minus'] = 'Hoy "-"';
$txt['karma_notifier'] = 'Tu karma ha sido cambiado en ';
$txt['karma_notifier2'] = ' puntos. ¿Deseas ver el log de descripción de karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado usuario. Tu Karma ha sido cambiado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro siguiendo este enlace:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Envía la razón en el mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón del cambio fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Últimos cambios de karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de karma';
// $themedir/languages/ManagePermissions.spanish_es.php
$txt['permissionname_karmalog_view'] = 'Ver el log de karma';
$txt['permissionhelp_karmalog_view'] = 'El log de Descripción del Karma muestra el karma de todos los usuarios, y una descripción sobre los aplausos o abucheos. Este permiso sólo funcionará si también lo tienes activado en \'Características y Opciones\'. Puedes acceder a la pantalla Descripción del Karma haciendo clic en el enlace de la sección \'Estadísticas de Karma\' en el índice del foro.';
// $themedir/languages/Errors.spanish_es.php
$txt['cannot_karmalog_view'] = 'Lo siento - no tienes los permisos apropiados para ver la lista de Descripción del Karma.';
$txt['viewkarma_error'] = 'El ID de usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo siento, él no es el autor del tema.';
$txt['karma_cant_modify'] = 'Lo siento, no puedes modificar el karma de este usuario.';
$txt['karma_cant_modify2'] = 'Lo siento, no puedes modificar el karma de otros usuarios.';
$txt['kdm_error'] = 'El Mod Karma Description está inhabilitado';
// $themedir/languages/Profile.spanish_es.php
$txt['who_change_my_karma'] = '¿Quién cambió mi Karma?';
$txt['whom_i_change_karma'] = '¿A quienes he cambiado el Karma?';
$txt['enable_notify'] = 'Notificarme cuando mi karma sea cambiado';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana emergente';
$txt['enable_notify_pm'] = 'Mensaje personal';
?>
and I found an English word in the code, which should be changed to variable language:
File: Viewkarma.template.php
Line: 122
Change:
<?php
if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>';
?>
For:
<?php
if ($user_info['is_admin']) echo ' <td align="center"><b>', $txt['deletekarma'], '</b></td>';
?>
Thq, very much
Quote from: davidhs on February 23, 2010, 02:40:45 PM
I completed the translation spanish_es (and spanish_es-utf8, of course ;) ) of KarmaDescriptionMod 2.6.7 (I have based on several translations already made)
<?php
// $themedir/languages/Admin.spanish_es.php - 1.1
// $themedir/languages/ManageMaintenance.spanish_es.php - 2.0
$txt['maintain_karmalog'] = 'Vaciar el log de Descripción del Karma';
$txt['maintain_karmalog_info'] = 'Elimina todo el log de Descripción del Karma';
$txt['maintain_karma_points'] = 'Establecer todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info'] = 'Establece todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info2'] = 'y borra todo el log de Descripción del Karma';
// $themedir/languages/ModSettings.spanish_es.php - 1.1
// $themedir/languages/ManageSettings.spanish_es.php - 2.0
$txt['karmadescmod'] = 'Habilita el Mod Karma Description';
$txt['karmamaxmembers'] = 'Usuarios por página en el log de Descripción del Karma';
$txt['karmalogview'] = 'Usa los nombres de los usuarios como enlace a sus perfiles';
$txt['karmapermiss'] = 'Permite a los usuarios ver el log de Descripción del Karma (Ver Permisos)';
$txt['karmalinks'] = 'Habilita los enlaces de karma en los perfiles de usuario';
$txt['karmaisowner'] = 'Inhabilita el log de karma completo a los usuarios, pero habilita el log de karma propio';
$txt['karmakarma'] = 'Muestra el karma(+/-) de los usuarios en el log de Descripción del Karma';
$txt['karmaurl'] = 'Habilita el campo "Dónde" en el log de Descripción del Karma';
$txt['karmaotherstat'] = 'Muestra otras estadísticas de karma';
$txt['karmasurv'] = 'Aplaudir o castigar a usuarios sin explicación';
$txt['karmawhatwrite'] = 'Escribe esto en el log cuando la explicación esta inhabilitada';
$txt['karmacensor'] = 'Censurar la descripción del karma';
$txt['karmatopicstarter'] = 'Los usuarios solo pueden modificar el karma del autor del tema';
$txt['karmanotifier'] = 'Habilita la notificación de karma';
$txt['karmaidmember'] = 'Envía MP desde este ID de usuario (por defecto 1)';
$txt['karma_pm_send_changelink'] = 'Envía por mensaje personal un enlace al mensaje donde se ha cambiado el karma';
$txt['karma_pm_send_link'] = 'Envía enlace al log de karma propio por mensaje personal';
$txt['karmacantmodify'] = 'IDs de usuario cuyo karma no puede ser modificado. <div class="smalltext">Separados por coma, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuario que no pueden modificar el karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Muestra pequeñas imágenes en lugar de las etiquetas de texto de karma de aplaudir y castigar';
$txt['karmapictureinlog'] = 'Muestra pequeñas imágenes en el log de Descripción del Karma en lugar + o - en el campo acción';
$txt['karmadelete'] = 'Elimina los puntos de karma de usuario cuando borre la descripción de los cambios en el log de Descripción del Karma';
$txt['karmalabellink'] = 'Usa etiquetas de karma como enlace al log de Descripción del Karma de los usuarios';
$txt['karmalastchange'] = 'Habilita últimos cambios de karma en el índice del foro';
$txt['karmalastchangenum'] = 'Número de descripciones en el índice del foro';
$txt['karmadescfieldnum'] = 'Cuántos caracteres habrá en el campo descripción en el índice del foro';
// $themedir/languages/Who.spanish_es.php
$txt['whoadmin_viewkarma'] = 'Viendo el <a href="' . $scripturl . '?action=viewkarma">log de Cambios en la Descripción del Karma</a>.';
$txt['whoall_modifykarma'] = 'Cambiando el Karma.';
// $themedir/languages/Help.spanish_es.php
$helptxt['karmapermiss'] = 'Por defecto esta opción está desactivada y el log de Karma solo lo pueden ver los administradores. Si quieres que el log de Karma disponible esté otros usuarios o moderadores, etc., habilita esta opción y dale el derecho de ver el log a ese grupo modificando los permisos.';
$helptxt['karmaotherstat'] = 'Muestra otras estadísticas de karma, como los usuarios más aplaudidos o los usuarios más castigados, y cosas así, del log de karma completo.';
$helptxt['karmalinks'] = 'Si habilitas esta característica, los usuarios verán dos enlaces en sus perfiles (propios o de otros usuarios). Podrán ver quien cambia su karma y a quienes se lo han cambiado. El Mod Karma Description debe estar habilitado';
$helptxt['karmakarma'] = 'Muestra el karma del usuario en el log de karma frente a su nombre de usuario. Por ejemplo: NombreUsario (+12/-8)';
$helptxt['karmaurl'] = 'Si habilitas esta opción, tu y tus usuarios podrán ver donde se modificó su karma.';
$helptxt['karmaisowner'] = 'Si habilitas esta opción, solo el propietario del perfil podrá ver los dos enlaces a su propio log de karma. Por otra parte, tus usuarios recibirán un error si introducen una dirección url (como http://your_forum.com/index.php?action=ownkarma;u=other_user) a mano si no deseas que tus usuarios puedan ver el log de karma de los demás usuarios. El log de karma completo se inhabilitará también. SOLO EL LOG DE KARMA PROPIO.';
$helptxt['karmanotifier'] = 'Si habilitas esta función, tus usuarios verán un campo más en sus perfiles en la sección \'Notificaciones y email\'. Esto dará la oportunidad de notificar a los usuarios cuando se modifique su karma, a través de dos formas: Mensaje en una ventana emergente y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si tus usuarios habilitaron la función de Notificación del Karma y eligen notificación por Mensaje Personal, lo recibirán desde este ID de usuario. Por ejemplo, si tienes ID_MEMBER=1 recibirán un MP de tu parte. Si fijas el ID de usuario a 0, tus usuarios recibirán un mensaje de parte del Administrador.';
$helptxt['karma_pm_send_link'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán un enlace a su log de karma propio.';
$helptxt['karma_pm_send_desc'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de karma.';
$helptxt['karma_pm_send_changelink'] = 'Si tus usuarios habilitan la función de Notificación de Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán enlace al mensaje donde se modificó su karma.';
$helptxt['karmacantmodify'] = 'Separados por comas, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados por comas, sin espacios.';
// $themedir/languages/index.spanish_es.php
$txt['karmaview'] = 'Cambios en la Descripción del Karma';
$txt['whykarmamod'] = 'Cambio de karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para cambiar el karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Por qué';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Cambios en la Descripción del Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Limpiar';
$txt['karma_delete_confirm'] = '¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_back'] = '< Volver';
$txt['karma_continue'] = 'Continuar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Abuchear)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En tema/post';
$txt['karmawhereurl2'] = 'En MP';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Páginas';
$txt['karma_profile_of'] = 'Ver perfil de';
$txt['sure_about_karma_remove'] ='¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Los 5 usuarios más aplaudidos';
$txt['karma_top_smite'] = 'Los 5 usuarios más abucheados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más aplaude a otros usuarios';
$txt['karma_max_smit'] = 'Usuario que más abuchea a otros usuarios';
$txt['karma_today'] = 'Puntos de karma de hoy';
$txt['karma_today_plus'] = 'Hoy "+"';
$txt['karma_today_minus'] = 'Hoy "-"';
$txt['karma_notifier'] = 'Tu karma ha sido cambiado en ';
$txt['karma_notifier2'] = ' puntos. ¿Deseas ver el log de descripción de karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado usuario. Tu Karma ha sido cambiado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro siguiendo este enlace:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Envía la razón en el mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón del cambio fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Últimos cambios de karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de karma';
// $themedir/languages/ManagePermissions.spanish_es.php
$txt['permissionname_karmalog_view'] = 'Ver el log de karma';
$txt['permissionhelp_karmalog_view'] = 'El log de Descripción del Karma muestra el karma de todos los usuarios, y una descripción sobre los aplausos o abucheos. Este permiso sólo funcionará si también lo tienes activado en \'Características y Opciones\'. Puedes acceder a la pantalla Descripción del Karma haciendo clic en el enlace de la sección \'Estadísticas de Karma\' en el índice del foro.';
// $themedir/languages/Errors.spanish_es.php
$txt['cannot_karmalog_view'] = 'Lo siento - no tienes los permisos apropiados para ver la lista de Descripción del Karma.';
$txt['viewkarma_error'] = 'El ID de usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo siento, él no es el autor del tema.';
$txt['karma_cant_modify'] = 'Lo siento, no puedes modificar el karma de este usuario.';
$txt['karma_cant_modify2'] = 'Lo siento, no puedes modificar el karma de otros usuarios.';
$txt['kdm_error'] = 'El Mod Karma Description está inhabilitado';
// $themedir/languages/Profile.spanish_es.php
$txt['who_change_my_karma'] = '¿Quién cambió mi Karma?';
$txt['whom_i_change_karma'] = '¿A quienes he cambiado el Karma?';
$txt['enable_notify'] = 'Notificarme cuando mi karma sea cambiado';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana emergente';
$txt['enable_notify_pm'] = 'Mensaje personal';
?>
Disculpa, esto en que archivo del paquete lo pego? o se pega ya instalado el mod y en que archivo?
Perdon por las preguntas pero no conozco de programacion y solo hago las cosas como ustedes las indican.
Gracias por el esfuerzo que hacen. :)
Quote from: ColZur on March 06, 2010, 11:13:38 AM
Disculpa, esto en que archivo del paquete lo pego? o se pega ya instalado el mod y en que archivo?
Mientras Grek_Kamchatka no saque la siguiente actualización, he unido al MOD original la traducción en español y la corrección. Lo adjunto.
(Tu y yo hablamos español, pero creo que en esta zona es mejor escribir en inglés para que todo el mundo lo entienda, aunque mi inglés no sea muy bueno :( )
While Grek_Kamchatka not take the next update I have joined the original MOD with my Spanish translation and correction. I attached this.
(Both speak Spanish, but I think that in this area is better to write in English so that everybody understands, although my English is not very good :( )
Quote from: davidhs on March 06, 2010, 11:45:11 AM
Quote from: ColZur on March 06, 2010, 11:13:38 AM
Disculpa, esto en que archivo del paquete lo pego? o se pega ya instalado el mod y en que archivo?
Mientras Grek_Kamchatka no saque la siguiente actualización, he unido al MOD original la traducción en español y la corrección. Lo adjunto.
(Tu y yo hablamos español, pero creo que en esta zona es mejor escribir en inglés para que todo el mundo lo entienda, aunque mi inglés no sea muy bueno :( )
While Grek_Kamchatka not take the next update I have joined the original MOD with my Spanish translation and correction. I attached this.
(Both speak Spanish, but I think that in this area is better to write in English so that everybody understands, although my English is not very good :( )
Ya quedo perfectamente instalado y traducido; muchas gracias por tu ayuda y tiempo, y utilizare el minimo ingles que hablo la siguiente vez.
(Already I stay perfectly installed and translated; thank you very much for your help and time, and the English minimum will use that I speak the following time.)
Hello, I need help, modificastes install the mod, but I can not see the description of the options, I see only if I switch to English the language of the forum, which by default is in Spanish latin.
Why did this happen? . From already thank you very much.
My platform is to: SMF Web 1.1.11: mi web : fullelectronica.com.ar/foro
Hola, necesito ayuda, instale el mod que modificastes, pero no logro ver la descripcion de las opciones, las veo solo si modifico a ingles el idioma del foro, que por defecto esta en spanish latin.
¿Porque sucederá esto? . Desde ya muchas gracias.
Mi plataforma es la : SMF 1.1.11 mi web : fullelectronica.com.ar/foro
almost all mods will only install in english and the default theme. If you are using a language which is not officially supported by the mod, then you will have to add the translations to modifications.YOURLANGUAGE.php on your own
Quote from: humberto martinelli on March 07, 2010, 10:58:02 PM
Hello, I need help, modificastes install the mod, but I can not see the description of the options, I see only if I switch to English the language of the forum, which by default is in Spanish latin.
Why did this happen? . From already thank you very much.
Mi plataforma es la : SMF 1.1.11 mi web : http://www.fullelectronica.com.ar/foro
I am from Spain and I translated to Spanish of Spain (spanish_es). You need Spanish of Latin America (spanish_latin), which is very similar but differs in some words and expressions.
If you can write in new replay these texts with expressions of Latin America, I will add to my modification the spanish_latin
<?php
// $themedir/languages/Admin.spanish_es.php - 1.1
// $themedir/languages/ManageMaintenance.spanish_es.php - 2.0
$txt['maintain_karmalog'] = 'Vaciar el log de Descripción del Karma';
$txt['maintain_karmalog_info'] = 'Elimina todo el log de Descripción del Karma';
$txt['maintain_karma_points'] = 'Establecer todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info'] = 'Establece todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info2'] = 'y borra todo el log de Descripción del Karma';
// $themedir/languages/ModSettings.spanish_es.php - 1.1
// $themedir/languages/ManageSettings.spanish_es.php - 2.0
$txt['karmadescmod'] = 'Habilita el Mod Karma Description';
$txt['karmamaxmembers'] = 'Usuarios por página en el log de Descripción del Karma';
$txt['karmalogview'] = 'Usa los nombres de los usuarios como enlace a sus perfiles';
$txt['karmapermiss'] = 'Permite a los usuarios ver el log de Descripción del Karma (Ver Permisos)';
$txt['karmalinks'] = 'Habilita los enlaces de karma en los perfiles de usuario';
$txt['karmaisowner'] = 'Inhabilita el log de karma completo a los usuarios, pero habilita el log de karma propio';
$txt['karmakarma'] = 'Muestra el karma(+/-) de los usuarios en el log de Descripción del Karma';
$txt['karmaurl'] = 'Habilita el campo "Dónde" en el log de Descripción del Karma';
$txt['karmaotherstat'] = 'Muestra otras estadísticas de karma';
$txt['karmasurv'] = 'Aplaudir o castigar a usuarios sin explicación';
$txt['karmawhatwrite'] = 'Escribe esto en el log cuando la explicación esta inhabilitada';
$txt['karmacensor'] = 'Censurar la descripción del karma';
$txt['karmatopicstarter'] = 'Los usuarios solo pueden modificar el karma del autor del tema';
$txt['karmanotifier'] = 'Habilita la notificación de karma';
$txt['karmaidmember'] = 'Envía MP desde este ID de usuario (por defecto 1)';
$txt['karma_pm_send_changelink'] = 'Envía por mensaje personal un enlace al mensaje donde se ha cambiado el karma';
$txt['karma_pm_send_link'] = 'Envía enlace al log de karma propio por mensaje personal';
$txt['karmacantmodify'] = 'IDs de usuario cuyo karma no puede ser modificado. <div class="smalltext">Separados por coma, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuario que no pueden modificar el karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Muestra pequeñas imágenes en lugar de las etiquetas de texto de karma de aplaudir y castigar';
$txt['karmapictureinlog'] = 'Muestra pequeñas imágenes en el log de Descripción del Karma en lugar + o - en el campo acción';
$txt['karmadelete'] = 'Elimina los puntos de karma de usuario cuando borre la descripción de los cambios en el log de Descripción del Karma';
$txt['karmalabellink'] = 'Usa etiquetas de karma como enlace al log de Descripción del Karma de los usuarios';
$txt['karmalastchange'] = 'Habilita últimos cambios de karma en el índice del foro';
$txt['karmalastchangenum'] = 'Número de descripciones en el índice del foro';
$txt['karmadescfieldnum'] = 'Cuántos caracteres habrá en el campo descripción en el índice del foro';
// $themedir/languages/Who.spanish_es.php
$txt['whoadmin_viewkarma'] = 'Viendo el <a href="' . $scripturl . '?action=viewkarma">log de Cambios en la Descripción del Karma</a>.';
$txt['whoall_modifykarma'] = 'Cambiando el Karma.';
// $themedir/languages/Help.spanish_es.php
$helptxt['karmapermiss'] = 'Por defecto esta opción está desactivada y el log de Karma solo lo pueden ver los administradores. Si quieres que el log de Karma disponible esté otros usuarios o moderadores, etc., habilita esta opción y dale el derecho de ver el log a ese grupo modificando los permisos.';
$helptxt['karmaotherstat'] = 'Muestra otras estadísticas de karma, como los usuarios más aplaudidos o los usuarios más castigados, y cosas así, del log de karma completo.';
$helptxt['karmalinks'] = 'Si habilitas esta característica, los usuarios verán dos enlaces en sus perfiles (propios o de otros usuarios). Podrán ver quien cambia su karma y a quienes se lo han cambiado. El Mod Karma Description debe estar habilitado';
$helptxt['karmakarma'] = 'Muestra el karma del usuario en el log de karma frente a su nombre de usuario. Por ejemplo: NombreUsario (+12/-8)';
$helptxt['karmaurl'] = 'Si habilitas esta opción, tu y tus usuarios podrán ver donde se modificó su karma.';
$helptxt['karmaisowner'] = 'Si habilitas esta opción, solo el propietario del perfil podrá ver los dos enlaces a su propio log de karma. Por otra parte, tus usuarios recibirán un error si introducen una dirección url (como http://your_forum.com/index.php?action=ownkarma;u=other_user) a mano si no deseas que tus usuarios puedan ver el log de karma de los demás usuarios. El log de karma completo se inhabilitará también. SOLO EL LOG DE KARMA PROPIO.';
$helptxt['karmanotifier'] = 'Si habilitas esta función, tus usuarios verán un campo más en sus perfiles en la sección \'Notificaciones y email\'. Esto dará la oportunidad de notificar a los usuarios cuando se modifique su karma, a través de dos formas: Mensaje en una ventana emergente y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si tus usuarios habilitaron la función de Notificación del Karma y eligen notificación por Mensaje Personal, lo recibirán desde este ID de usuario. Por ejemplo, si tienes ID_MEMBER=1 recibirán un MP de tu parte. Si fijas el ID de usuario a 0, tus usuarios recibirán un mensaje de parte del Administrador.';
$helptxt['karma_pm_send_link'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán un enlace a su log de karma propio.';
$helptxt['karma_pm_send_desc'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de karma.';
$helptxt['karma_pm_send_changelink'] = 'Si tus usuarios habilitan la función de Notificación de Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán enlace al mensaje donde se modificó su karma.';
$helptxt['karmacantmodify'] = 'Separados por comas, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados por comas, sin espacios.';
// $themedir/languages/index.spanish_es.php
$txt['karmaview'] = 'Cambios en la Descripción del Karma';
$txt['whykarmamod'] = 'Cambio de karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para cambiar el karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Por qué';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Cambios en la Descripción del Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Limpiar';
$txt['karma_delete_confirm'] = '¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_back'] = '< Volver';
$txt['karma_continue'] = 'Continuar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Abuchear)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En tema/post';
$txt['karmawhereurl2'] = 'En MP';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Páginas';
$txt['karma_profile_of'] = 'Ver perfil de';
$txt['sure_about_karma_remove'] ='¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Los 5 usuarios más aplaudidos';
$txt['karma_top_smite'] = 'Los 5 usuarios más abucheados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más aplaude a otros usuarios';
$txt['karma_max_smit'] = 'Usuario que más abuchea a otros usuarios';
$txt['karma_today'] = 'Puntos de karma de hoy';
$txt['karma_today_plus'] = 'Hoy "+"';
$txt['karma_today_minus'] = 'Hoy "-"';
$txt['karma_notifier'] = 'Tu karma ha sido cambiado en ';
$txt['karma_notifier2'] = ' puntos. ¿Deseas ver el log de descripción de karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado usuario. Tu Karma ha sido cambiado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro siguiendo este enlace:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Envía la razón en el mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón del cambio fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Últimos cambios de karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de karma';
// $themedir/languages/ManagePermissions.spanish_es.php
$txt['permissionname_karmalog_view'] = 'Ver el log de karma';
$txt['permissionhelp_karmalog_view'] = 'El log de Descripción del Karma muestra el karma de todos los usuarios, y una descripción sobre los aplausos o abucheos. Este permiso sólo funcionará si también lo tienes activado en \'Características y Opciones\'. Puedes acceder a la pantalla Descripción del Karma haciendo clic en el enlace de la sección \'Estadísticas de Karma\' en el índice del foro.';
// $themedir/languages/Errors.spanish_es.php
$txt['cannot_karmalog_view'] = 'Lo siento - no tienes los permisos apropiados para ver la lista de Descripción del Karma.';
$txt['viewkarma_error'] = 'El ID de usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo siento, él no es el autor del tema.';
$txt['karma_cant_modify'] = 'Lo siento, no puedes modificar el karma de este usuario.';
$txt['karma_cant_modify2'] = 'Lo siento, no puedes modificar el karma de otros usuarios.';
$txt['kdm_error'] = 'El Mod Karma Description está inhabilitado';
// $themedir/languages/Profile.spanish_es.php
$txt['who_change_my_karma'] = '¿Quién cambió mi Karma?';
$txt['whom_i_change_karma'] = '¿A quienes he cambiado el Karma?';
$txt['enable_notify'] = 'Notificarme cuando mi karma sea cambiado';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana emergente';
$txt['enable_notify_pm'] = 'Mensaje personal';
?>
Hi with this mod.. I have thank-o-matic installed aswell..
When i thank some one and have karma enabled also.
they get +1 Karma for a thankyou on a post.
But if i was to delete the thankyou.
there +1 Karma still stays..
Is there anyway to get them both to work so that thank-o-matic and karma add and take away when thanking and deleting the thankyou?
Im using SMF 2.0 RC2
With tlanslatora PL - ENG
mod would be imparted to the vanished key thank you thank you for your post.
would be possible to insert only 1x thank you for that post by 1 members and not at a certain time to wait.
Insert only good or bad - to choose one without changing the decision after some time. And most important is that one person could be one and the same post only vote once.
Should be so that you can give thanks for every post without having to wait, but only once to 1 post thank you can insert the same person.
Waiting is unnecessary as well as the ability to change the reputation in the same post or from time to time the addition of
Following behind this mod is great, I use it on smf 1x - thanks
its not installing on RC3 :(
Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
:(
me too. installing on RC3 returns this error:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Karma Description Mod 2.6.8 was released
Please delete old version from package manager and update to new kdm 2.6.8
Hi
i have a error on RC3
see the attachments
Quote from: Eclipse16V on March 13, 2010, 06:41:01 AM
Hi
i have a error on RC3
see the attachments
me too. same thing. yikes.
fixed this for rc3 ;)
Edit by Kill Em All: Please do not distribute mod's without the mod author's consent first.
Updated kdm 2.6.8 with fixed installer was released.
Anyone who have a problem with ManageMaintenance.template.php (during install process SMF 2.0RC3) please download kdm 2.6.8 again.
was just posting a fix :\
using this on RC3 install.works fine ! :) no errors! Cheers!
Hi
there is a error in the Forum Maintenance
see the attachment
Hm. ok, i'll test it again
Hi I'm having an issue in installation.
The modification of "/Themes/default/ManageMaintenance.template.php" is not found
My ManageMaintenance.template.php, or the relevant section it seems, is below:
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=recount" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_recount_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
<>
<span class="botslice"><span></span></span>
<>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_logs'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=logs" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_logs_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
<>
<span class="botslice"><span></span></span>
<>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_cache'], '
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=cleancache" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_cache_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
<>
<span class="botslice"><span></span></span>
<>
I worked on an italian translation:
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>IvanV.PetrovichAkaGrek:KarmaDescriptionMod</id>
<version>2.6.8</version>
<file name="$themedir/languages/ManageMaintenance.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$txt['maintain_karmalog'] = 'Vuota il registro delle descrizioni del Karma';
$txt['maintain_karmalog_info'] = 'Cancella tutte le descrizioni del Karma dal registro';
$txt['maintain_karma_points'] = 'Azzera i punti Karma a tutti gli utenti';
$txt['maintain_karma_points_info'] = 'Imposta a 0 tutti i punti Karma di tutti gli utenti';
$txt['maintain_karma_points_info2'] = 'e cancella dal registro tutte le descrizioni del Karma';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Admin.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$txt['maintain_karmalog'] = 'Vuota il registro delle descrizioni del Karma';
$txt['maintain_karmalog_info'] = 'Cancella tutte le descrizioni del Karma dal registro';
$txt['maintain_karma_points'] = 'Azzera i punti Karma a tutti gli utenti';
$txt['maintain_karma_points_info'] = 'Imposta a 0 tutti i punti Karma di tutti gli utenti';
$txt['maintain_karma_points_info2'] = 'e cancella dal registro tutte le descrizioni del Karma';
]]></add>
</operation>
</file>
<file name="$themedir/languages/ManageSettings.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$txt['karmadescmod'] = 'Abilita Karma Description Mod';
$txt['karmamaxmembers'] = 'Utenti per pagina nel registro delle descrizioni del Karma';
$txt['karmalogview'] = 'Usa i nomi degli utenti come link al profilo';
$txt['karmapermiss'] = 'Permetti agli utenti di vedere le descrizioni del Karma (vedi permessi)';
$txt['karmalinks'] = 'Abilita pulsanti del Karma nel profilo utente';
$txt['karmaisowner'] = 'Disabilita il registro globale del Karma ma abilita quello personale';
$txt['karmakarma'] = 'Mostra il karma(+/-) degli utenti nel registro delle descrizioni del Karma';
$txt['karmaurl'] = 'Abilita il campo "Dove" nel registro delle descrizioni del Karma';
$txt['karmaotherstat'] = 'Mostra altre statistiche del Karma';
$txt['karmasurv'] = 'Applaudi or fischia gli utenti senza spiegazone';
$txt['karmawhatwrite'] = 'Scrivi questo nel registro, quando la spiegazione è disabilitata';
$txt['karmacensor'] = 'Censura sulla spiegazione del Karma';
$txt['karmatopicstarter'] = 'Gli utenti possono cambiare solo il Karma del creatore del topic';
$txt['karmanotifier'] = 'Abilita le notifiche del Karma ';
$txt['karmaidmember'] = 'Manda un PM da questo ID di utente (1 di default)';
$txt['karma_pm_send_changelink'] = 'Manda link al messaggio dove è stato cambiato il Karma con un messaggio personale';
$txt['karma_pm_send_link'] = 'manda link al proprio registro del Karma con un messaggio personale';
$txt['karmacantmodify'] = 'User ID per i quali il karma non può essere cambiato. <div class="smalltext">Separati da virgole, senza spazi. Esempio: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID che non possono modificare il karma. <div class="smalltext">Esempio: 2,412,88</div>';
$txt['karmabuttons'] = 'Mostra piccole immagini invece delle etichette applaudi/fischia';
$txt['karmapictureinlog'] = 'Mostra piccole immagini nel registro delle descrizioni del Karma invece del + o del - nel campo azione';
$txt['karmadelete'] = 'Elimina i punti Karma nel registro delle descrizioni del Karma quando elimino la descrizione del cambiamento di Karma';
$txt['karmalabellink'] = 'Utilizza le etichette di karma come link al registro delle descrizioni del Karma';
$txt['karmalastchange'] = 'Visualizza l\'ultimo cambiamento di Karma nell\'indice del Forum';
$txt['karmalastchangenum'] = 'Numero di descrizioni nell\'indice del Forum';
$txt['karmadescfieldnum'] = 'Quanti simboli ci saranno nel campo descrizione nell\'indice del forum';
]]></add>
</operation>
</file>
<file name="$themedir/languages/ModSettings.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$txt['karmadescmod'] = 'Abilita Karma Description Mod';
$txt['karmamaxmembers'] = 'Utenti per pagina nel registro delle descrizioni del Karma';
$txt['karmalogview'] = 'Usa i nomi degli utenti come link al profilo';
$txt['karmapermiss'] = 'Permetti agli utenti di vedere le descrizioni del Karma (vedi permessi)';
$txt['karmalinks'] = 'Abilita pulsanti del Karma nel profilo utente';
$txt['karmaisowner'] = 'Disabilita il registro globale del Karma ma abilita quello personale';
$txt['karmakarma'] = 'Mostra il karma(+/-) degli utenti nel registro delle descrizioni del Karma';
$txt['karmaurl'] = 'Abilita il campo "Dove" nel registro delle descrizioni del Karma';
$txt['karmaotherstat'] = 'Mostra altre statistiche del Karma';
$txt['karmasurv'] = 'Applaudi or fischia gli utenti senza spiegazone';
$txt['karmawhatwrite'] = 'Scrivi questo nel registro , quando la spiegazione è disabilitata';
$txt['karmacensor'] = 'Censura sulla spiegazione del Karma';
$txt['karmatopicstarter'] = 'Gli utenti possono cambiare solo il Karma del creatore del topic';
$txt['karmanotifier'] = 'Abilita le notifiche del Karma ';
$txt['karmaidmember'] = 'Manda un PM da questo ID di utente (1 di default)';
$txt['karma_pm_send_changelink'] = 'Manda link al messaggio dove è stato cambiato il Karma con un messaggio personale';
$txt['karma_pm_send_link'] = 'manda link al proprio registro del Karma con un messaggio personale';
$txt['karmacantmodify'] = 'User ID per i quali il karma non può essere cambiato. <div class="smalltext">Separati da virgole, senza spazi. Esempio: 1,13,27</div>';
$txt['karmacantmodify2'] = 'User ID che non possono modificare il karma. <div class="smalltext">Esempio: 2,412,88</div>';
$txt['karmabuttons'] = 'Mostra piccole immagini invece delle etichette applaudi/fischia';
$txt['karmapictureinlog'] = 'Mostra piccole immagini nel registro delle descrizioni del Karma invece del + o del - nel campo azione';
$txt['karmadelete'] = 'Elimina i punti Karma nel registro delle descrizioni del Karma quando elimino la descrizione del cambiamento di Karma';
$txt['karmalabellink'] = 'Utilizza le etichette di karma come link al registro delle descrizioni del Karma';
$txt['karmalastchange'] = 'Visualizza l\'ultimo cambiamento di Karma nell\'indice del Forum';
$txt['karmalastchangenum'] = 'Numero di descrizioni nell\'indice del Forum';
$txt['karmadescfieldnum'] = 'Quanti simboli ci saranno nel campo descrizione nell\'indice del forum';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Who.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$txt['whoadmin_viewkarma'] = 'Sta visualizzando il <a href="' . $scripturl . '?action=viewkarma">registro delle descrizioni del Karma</a>.';
$txt['whoall_modifykarma'] = 'Sta cambiando il karma.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Help.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Descriprion Mod
$helptxt['karmapermiss'] = 'Di default questa opzione è disattivata e il registro del Karma può essere visto solo dagli amministratori. Se vuoi che il registro sia isibile anche agli altri utenti o ai moderatori, etc, abilita questa opzione e dai diritto ai gruppi che potranno vedere il registro nella sezione "Permessi".';
$helptxt['karmaotherstat'] = 'Mostra altre statistiche sul Karma come gli utenti più applauditi o i più fischiati e così via in tutto il registro del Karma.';
$helptxt['karmalinks'] = 'Se abiliti questa funzione, gli utenti vedranno due link nel profilo (proprio o di altri utenti). Potranno vedere chi e come ha cambiato il loro karma. deve essere abilitato il Karma Description Mod';
$helptxt['karmakarma'] = 'Mostra il Karma degli utenti nel registro del Karma davanti al nome utente. Esempio: Username (+12/-8)';
$helptxt['karmaurl'] = 'Abilitando questa opzione, tu e i tuoi utenti potrete vedere dove è stato cambiato il Karma.';
$helptxt['karmaisowner'] = 'Abilitando questa opzione, solo il proprietario del profilo vedrà i due link al proprio registro del Karma. Tra l\'altro, i tuoi utenti riceveranno un errore se inseriranno un indirizzo (come http://your_forum.com/index.php?action=ownkarma;u=other_user); a mano, se non vuoi che gli utenti vedano il registro degli altri utenti. L\'intero registro del karma sarà disabilitato. SOLO IL PROPRIO REGISTRO DEL KARMA.';
$helptxt['karmanotifier'] = 'Se si attiva questa funzione, gli utenti vedranno un altro campo nei loro profili in \'Notifiche\'. Si offre la possibilità di informare gli utenti quando il loro karma viene modificato in due modi: Messaggio Popup o messaggio personale.';
$helptxt['karmaidmember'] = 'Se gli utenti abilitano la funzione di notifica del Karma e scelgono i messaggi privati, riceveranno un messaggio personale da questo ID utente. Per esempio, se avete ID_MEMBER = 1 riceveranno PM da voi e così via. Se si imposta ID = 0 gli utenti riceveranno un messaggio dall\'amministratore.';
$helptxt['karma_pm_send_link'] = 'Se gli utenti abilitano la funzione di notifica del Karma e scelgono i messaggi privati, nel messaggio vedranno un link al loro registro del karma.';
$helptxt['karma_pm_send_desc'] = 'Se gli utenti abilitano la funzione di notifica del Karma e scelgono i messaggi privati, nel messaggio vedranno la motivazione del cambio di Karma.';
$helptxt['karma_pm_send_changelink'] = 'Se gli utenti abilitano la funzione di notifica del Karma e scelgono i messaggi privati, nel messaggio vedranno un link al messaggio dove è stato cambiato il loro Karma.';
$helptxt['karmacantmodify'] = 'Separati da virgole, senza nessuno spazio.';
$helptxt['karmacantmodify2'] = 'Separati da virgole, senza nessuno spazio.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/index.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Description Mod
$txt['karmaview'] = 'Descrizione del cambiamento del Karma';
$txt['whykarmamod'] = 'Cambiamento del Karma';
$txt['Description'] = 'Nessuna Descrizione';
$txt['karmamoder'] = 'Ragione per cui si cambia il Karma di questo utente';
$txt['karmarequare'] = '(Campo obbligatorio)';
$txt['karmawho'] = 'Chi';
$txt['karmawhos'] = 'A chi';
$txt['karmawhat'] = 'Cosa';
$txt['karmadesc'] = 'Perché';
$txt['karmatime'] = 'Quando';
$txt['karmanumb'] = 'Cambiamenti di Karma: ';
$txt['statkarma'] = '[Statistiche del Karma]';
$txt['viewkarma_title'] = 'Descrizione del cambiamento del Karma';
$txt['deletekarma'] = 'Elimina';
$txt['clearkarma'] = 'Vuota';
$txt['karma_delete_confirm'] = 'Sei sicuro di voler eliminare questo record?';
$txt['karma_back'] = '< Indietro';
$txt['karma_continue'] = 'Continua >';
$txt['karmadescappl'] = ' (Applaudi)';
$txt['karmadescsmi'] = ' (Fischia)';
$txt['karmawhere'] = 'Dove';
$txt['karmawhereurl'] = 'Nella discussione';
$txt['karmawhereurl2'] = 'In un PM';
$txt['karma_delete'] = 'Elimina';
$txt['karma_pages'] = 'Pagine';
$txt['karma_profile_of'] = 'Guarda il profilo di';
$txt['sure_about_karma_remove'] = 'Sei sicuro di voler eliminare questo record?';
$txt['karma_stat'] = 'Statistiche del Karma';
$txt['karma_top_applaud'] = 'I 5 utenti più applauditi';
$txt['karma_top_smite'] = 'I 5 utenti più fischiati';
$txt['karma_other_stat'] = 'Statistiche Generali';
$txt['karma_max_appl'] = 'Chi ha applaudito di più';
$txt['karma_max_smit'] = 'Chi ha fischiato di più';
$txt['karma_today'] = 'Punti Karma di oggi';
$txt['karma_today_plus'] = '"+" di oggi';
$txt['karma_today_minus'] = '"-" di oggi';
$txt['karma_notifier'] = 'Il tuo Karma è stato cambiato di ';
$txt['karma_notifier2'] = ' punti. Vuoi vedere il registro del Karma?';
$txt['karma_pm_subject'] = 'Notifica cambiamento Karma';
$txt['karma_pm_body'] = 'Caro utente, Il tuo karma è stato cambiato. ';
$txt['karma_pm_body2'] = 'Puoi vedere il registro seguendo questo link:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Manda la motivazione con un messaggio personale';
$txt['karma_pm_send_desc2'] = '<br /><br />La motivazione del cambiamento di karma è: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Il tuo Karma è stato modificato in questo messaggio:<br />';
$txt['karma_last_change']='Ultimo cambiamento di Karma';
$txt['karma_last_change1']='Ultimi ';
$txt['karma_last_change2']=' cambiamenti di Karma';
]]></add>
</operation>
</file>
<file name="$themedir/languages/ManagePermissions.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Description Mod
$txt['permissionname_karmalog_view'] = 'Visualizzare il registro del Karma';
$txt['permissionhelp_karmalog_view'] = 'Il registro delle descrizioni del Karma mostra il Karma di tutti gli utenti e le descrizioni degli applausi e dei fischi. Questo permesso funziona solo se è stato abilitato nella sezione \'Funzioni e Opzioni\'. Puoi accedere alla schermata delle descrizioni del Karma cliccando il linki nelle \'Statistiche del Karma\' nell\'indice del Forum.';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Errors.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Karma Description Mod
$txt['cannot_karmalog_view'] = 'Spiacente, non hai i permessi giusti per veder l\'elenco delle descrizioni del Karma.';
$txt['viewkarma_error'] = 'User ID deve essere un numero';
$txt['karma_not_topic_starter'] = 'Spiacente, l\'utente non è il creatore del topic.';
$txt['karma_cant_modify'] = 'Spiacente, non puoi modificare il Karma di questo utente.';
$txt['karma_cant_modify2'] = 'Spiacente, non puoi modificare il Karma degli utenti.';
$txt['kdm_error'] = 'Karma Description Mod è disabilitata';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Profile.italian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
$txt['who_change_my_karma'] = 'Chi ha modificato il mio Karma';
$txt['whom_i_change_karma'] = 'Quali Karma ho modificato';
$txt['enable_notify'] = 'Avvisami quando qualcuno modifica il mio Karma';
$txt['enable_notify_none'] = 'Non avvisarmi';
$txt['enable_notify_popup'] = 'Finestra Popup';
$txt['enable_notify_pm'] = 'Messaggio personale';
]]></add>
</operation>
</file>
</modification>
Is there any way to let users leave empty the description field?
In the Settings of this Mod you can disable this.
of course you can disable... but i mean let users leave empty, if they don't want to say nothing
Hi! I've been using this great mod for quite a while now, the only problem I have is that with the progressive increase of entries in smf_log_karma opening the page ?action=ownkarma;u=* became slower and slower.
smf_log_karma has reached almost 250000 entries and the ownkarma page loads in about 4 seconds, which is bad considering that my smf installation is heavily optimized and I manage my own dedicated server.
The queries that seem to slow down the loading of the page are these:
SELECT COUNT(*) AS cnt, mem.realName
FROM smf_log_karma AS lk, smf_members AS mem
WHERE lk.action = 1
AND mem.ID_MEMBER = lk.ID_EXECUTOR
GROUP BY lk.ID_EXECUTOR
ORDER BY cnt DESC
LIMIT 1
in forum/Sources/Viewkarma.php line 382, which took 2.18026304 seconds.
SELECT COUNT(*) AS cnt, mem.realName
FROM smf_log_karma AS lk, smf_members AS mem
WHERE lk.action = -1
AND mem.ID_MEMBER = lk.ID_EXECUTOR
GROUP BY lk.ID_EXECUTOR
ORDER BY cnt DESC
LIMIT 1
in forum/Sources/Viewkarma.php line 396, which took 0.52557111 seconds.
SELECT ID_MEMBER, realName, karmaGood
FROM smf_members
WHERE karmaGood >= 0
ORDER BY karmaGood DESC
LIMIT 5
in forum/Sources/Viewkarma.php line 431, which took 0.63220406 seconds.
SELECT ID_MEMBER, realName, karmaBad
FROM smf_members
WHERE karmaBad >= 0
ORDER BY karmaBad DESC
LIMIT 5
in forum/Sources/Viewkarma.php line 458, which took 0.60894513 seconds.
The table smf_log_karma has only one index: logTime
The version of KDM I'm using is pretty old (2.2) but I read the changelog and I didn't see any performance fix, I'd prefer to avoid the upgrade of the mod because I'd have to translate it again, but of course if you tell me that this issue has been fixed in later versions and I can upgrade it without losing all the karma description entries I'll do that :)
Thanks.
I have moderators who are allowed to view the karma description list, by permissions. However, only the administrator has access to that list.
Also, I was going to upgrade to the newest version, but I'm getting some test failed errors when trying to either uninstall the old version, or install the new one.
Help!
Hoping someone can help me out here. I installed the mod but when I go to the "Configuration" "Features and options" "Karma" all the options are invisible. I see all the check boxes but no words to the left of them???? Any ideas?
Thank You
Spacecadet: What language are you using, what version of SMF?
RC3 and English UK i think.
Right got it, thank you. US English only.
Quote from: Spacecadet on May 08, 2010, 08:14:38 PM
Right got it, thank you. US English only.
Well, yeah, the mod only adds settings to US English however there's no reason why it couldn't be expanded to check for ManageSettings.english_british.php (and both the UTF-8 variants). Or even use Modifications.english.php which is loaded in English as well as language specific in RC2+.
Quote from: Major Wood on April 23, 2010, 12:11:27 AM
I have moderators who are allowed to view the karma description list, by permissions. However, only the administrator has access to that list.
Also, I was going to upgrade to the newest version, but I'm getting some test failed errors when trying to either uninstall the old version, or install the new one.
Help!
Someone? Please?
I installed this mod but none of my regular users can access the "Karma Stats" I undertstand it's a permission problem however I honestly cannot figure out how to use the permissions properly. I opened up the area in permissions with all the check boxes and checked off "Allow users to see stats" but it doesnt do anything. How does the advanced permission settings work? I belive this is the same problem Major Wood is having.
TY
Hey Major ever get the feeling your being ignored?
Well... the mod author isn't here all the time, I've never used the mod so have absolutely no idea about it other than general support issues, and really I'm not even a support person any more (apparently I have trouble being nice to people)
Remember the person who wrote this is someone who wrote it and gave it away - you could have a little patience.
lol that was pretty polite you know, if you ever want to be a support person again you have my vote. I figured that the person who wrote the script simply wasnt here and I am aware that he made the script for free. I was hoping that someone knew the answer besides the author. Ah well when I have no choice but to be paitient..........
HMMM another problem has croped up. who has changed my Karma and who's Karma have i changed are doubled. I realize this means going in and manually deleting the duplicate information. Can someone tell me which file it would be in and where?
If I remember correctly, there are many settings to this mod and they all together make up the way this mod works / looks to your users. Firstly, it should add functions to see recent karma actions from a link placed in your info center, and two links to see specific users karma action in the user profile area.
If your users can't access the links/stats, can you as an admin? Have you made sure your users and you are using the same themes? Have you considered creating a test user to test the different settings and permissions on? ;)
The duplicates are probably in profile.template.php or similar, I don't remember for sure - and can't check this right now, but do take a look at the manual install instructions - it should show you where the mod adds those...
When your message is the guy always comes up a bug report. The problem with the line in the file:
if ($message['member']['karma']['allow'])
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg441.imageshack.us%2Fimg441%2F7853%2Fbeztytuukf.png&hash=50cee9706ed8f835b70e361e3b191563dcacb321)
How many posts in the topic is of international importance is the guy so much errors in the reports. It always takes place - if someone is able to help?
.............
edit: Elsewhere, graphics and so I did not work. Already it is ok
I have checked and nobody except the Administrator user can access "Karma Stats". Not even Global Moderator. Am I missing something?
Quote from: Spacecadet on May 31, 2010, 10:40:56 PM
I have checked and nobody except the Administrator user can access "Karma Stats". Not even Global Moderator. Am I missing something?
This is my problem. I have checked many times to see if I have any permissions incorrect. I even created a test account and gave it a new usergroup that had specific permissions to see the karma stats. It didn't work.
This is driving me crazy. Does anyone have any ideas?
Major I found this other mod it might be a good substitute for the Reputation System Mod.
http://custom.simplemachines.org/mods/index.php?mod=346
for the record, thank you for the one person who tried to help us. I am uninstalling this mod and have no plans on ever using a mod from this designer again. I waited 3 weeks for help, I think I was very patient.
Hi, I have one of the problems listed on the FAQ (the menu does not display in the admin panel). I used to use Load Standard language but I can't anymore since I upgraded to RC3. I use english-utf8 on my forum.
I tried following some of the previous posts in this thread but I couldn't get it to work properly...
Which files should I change to utf-8?
I have display issues with this on SMF 2.0 RC3 - it displays fine within the ACP but when using it within the forum its totally screwed.
As an example I've attatched an image that shows the screen when you click on the thumbs up or thumbs down (where you place the reason for applauding/smiting). It looks the same on all themes, including the default Core theme.
hi on the [karma stats] i have enabled the 'Karma Statistic' but it's showing just the applauded users + and not there total + and the same with smited
is there a way to change that to total as i use the total karma system on smf and not +/-
at version 1.7 you had added this option:
*Add "Delete" function in Karma Log. Only for Admin.
can you add an option to "delete" function in permissions for all other membergroups?
Quote from: zx71 on June 26, 2010, 11:01:09 AM
hi on the [karma stats] i have enabled the 'Karma Statistic' but it's showing just the applauded users + and not there total + and the same with smited
is there a way to change that to total as i use the total karma system on smf and not +/-
bump?
Even with the default theme, no words show up for me on the Karma settings screen, or when people try to change karma. just a text box and two blank buttons show up.
what'd i do wrong?
it doesn't appear to be a language pack issue, i'm not having any similar issues else where. i could be wrong though?
aha! it WAS a language pack issue. it was editting english and i was using english-utf8.
any idea what changes i can make to get it working in UTF8?
Hello people! i've got a question, I translated the mod to spanish_latin because my forum uses it as the main language, and I'm attaching it for those who need the .xml file translated, but I don't know how it is suposed to work.
I mean I only translated the xml file and directed the url's tho the spanish_latin php files, is there anything else that I should do? Cause it's not picking it up! I matched the lines with the english xml file and there aren't any syntax error for what I can tell, but would any of you take a look if you can?
Thanks a lot anyway!
I have the earlier version 2.3 installed on SMF 1.1 and I want to install the latest version.
Q1: Do I have to uninstall v2.3 first?
Q2: If I do have to uninstall it first, I get this error upon testing the uninstall -
2. Execute Modification ./Sources/Karma.php Test failed
How can I fix this error? Or can I just restore the original Karma.php file?
Someone please give me some advice. I've been trying to figure this out for months and no one has offered any help.
I just installed the latest version and it didn't fix the problem. No one else besides the admin can view the karma description log. The following error comes up.
QuoteSorry - you don't have the proper permissions to view the Karma Description list.
All the permissions are set to allow other types of users to view this, but it isn't working. I realize that this is a question in the FAQ on the mod page, but the answer doesn't fix the problem.
Did you choose that on the administration control panel or did you just change the permissions? In the admin c_panel the option should be ticked as well as the permissions must be set. If the permissions are set but the option in the admin c_panel is not ticked it may not work. I'm sure you've done all this anyway, but just to be sure.
I've got the correct settings in the permissions, as well as in the karma tab under features and options. If there are any other options, I sure can't find them.
Ok, so the upgrade apparently caused other issues.
Now when someone tries to applaud or smite another user, they get this:
QuoteFatal error: Cannot redeclare modkarm() (previously declared in /home1/yourmomt/public_html/zebrahuddle/Sources/Karma.php:41) in /home1/yourmomt/public_html/zebrahuddle/Sources/Karma.php on line 834
If I remove that second modkarm() function, they get this:
QuoteUnable to load the 'main' template.
I'm ready to tear my hair out here.
Ignore that last post, I managed to fix that problem.
Still having problems getting my moderators to see the log though.
Hi Greg,
A really basic issue but I can't for the life figure out where the issue lays. I'm confident it's not specifically with the mod.
I believe my admin formatting or database may be screwy but I'm getting the attached image in my karma settings section. If you could point me in the right direction to addressing this I should be able to fix easily.
Many Thanks,
Miyagi
PLEASE add the ability to restrict the total karma given in a day.
i.e. I would like to let my users give a maximum of 10 karma points a day.
I'm willing to pay you for your time to make this change for me.
Hi,
I have SMF 1.1.11. lok at the pics. the mod does not show text infront of the check boxes etc.
tried installing 2.6 and 2.8...HELP please
language files... make sure that modifications.YOURLANGUAGE.php was edited with the new strings.
(do note that the UTF-8 version of a language is *NOT* the same as the regular version)
(and try using search next time, this question has been answered multiple times in nearly EVERY mod thread)
tnx.
I have this mod installed on a 1.1.11 board.
When users look at the karma log, ALL of the "Where" say "In Topic", even the actions that were performed "In PM". It displays correctly for the admin.
Suggestions?
Quote from: Kindred on July 31, 2010, 12:56:15 PM
language files... make sure that modifications.YOURLANGUAGE.php was edited with the new strings.
(do note that the UTF-8 version of a language is *NOT* the same as the regular version)
(and try using search next time, this question has been answered multiple times in nearly EVERY mod thread)
ok this is weird or else am doing smthing wrong.
i use a custom theme. so i used the mods parse instructions and edited the
Display.template.php
BoardIndex.template.php
files
but still the text doesn't show up. :S
if u need screen shots i look at my previous post. (i tried searching for this?#@#)
Quote from: Kindred on July 31, 2010, 12:56:15 PM
language files... make sure that modifications.YOURLANGUAGE.php was edited with the new strings.
(do note that the UTF-8 version of a language is *NOT* the same as the regular version)
Quote from: Kindred on August 08, 2010, 09:49:44 PM
Quote from: Kindred on July 31, 2010, 12:56:15 PM
language files... make sure that modifications.YOURLANGUAGE.php was edited with the new strings.
(do note that the UTF-8 version of a language is *NOT* the same as the regular version)
edited them! no use..
i have attached it here ..
are you SURE that you are using english and not english utf-8
thanks Kindred.
you pointed me right direction..
this mod does not update the code in utf8 language files... just updated the utf8 files instead of changing the language in server settings.
thank you once again.,
Hello,
I just upgraded from 1.1.11 to 2.0 RC3, and after installing the Karma Description Mod, I see that none of the old description logs have carried over. How do I go about importing the old logs so that my forum members can see both their old logs and the most recent (since migrating to RC3) logs?
Thank You,
Greg
BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG
Quote from: NukeWorker.com on August 02, 2010, 12:31:58 PM
I have this mod installed on a 1.1.11 board.
When users look at the karma log, ALL of the "Where" say "In Topic", even the actions that were performed "In PM". It displays correctly for the admin.
When users look at the karma log, ALL of the "Where" say "In Topic", even the actions that were performed "In PM". It displays correctly for the admin, but users see "In Topic" for EVERY action, even in the "In PM" karma actions. Clicking on the "In Topic" link takes then to the forum index.
Shouldn't it say "In PM" to everyone?
BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG
I have a different language pack (spanish_es_utf8) and cant make this mod work in this language,
i dont care if it is properly traducted i just want the tool operational, what can i do?
Quote from: sss on September 02, 2010, 11:22:37 AM
I have a different language pack (spanish_es_utf8) and cant make this mod work in this language,
i dont care if it is properly traducted i just want the tool operational, what can i do?
check the manual installation instructions, by using the parse function in mod site.
Quote from: Major Wood on April 23, 2010, 12:11:27 AM
I have moderators who are allowed to view the karma description list, by permissions. However, only the administrator has access to that list.
Also, I was going to upgrade to the newest version, but I'm getting some test failed errors when trying to either uninstall the old version, or install the new one.
Help!
Is anyone going to try to help me on this? I've been very patient, but I need a solution.
the author has not been online since July....
About the install/uninstall... that just means that some other mod that you installed in between has changed the code, so the auto-function won't work. You'll have to manually edit the files that failed.
i enabled send personal message for reason and link for where karma is been changed
but i tested, it's not sending out anything
any idea why?
also how do i check member's id?
thx
i have a problem whit the karma mod in personal messages ,
wen i try to hit in the karma buttons from personal messages
i get this error :
The database value you're trying to insert does not exist: id_topic
any cloud?? plz
here is a part of eror log :
forum/index.php?action=modifykarma;sa=applaud;uid=1;f=inbox;start=0;pm=
Type of error: Critical :(
btw many thanks for this awesome mod :)
This may have been asked before, but; since the mod already attaches certain karma to certain messages, would it be possible to implement the option to show how many karma points have been given to a certain post? So that every message in a thread would display the possible karma?
Can someone gimme a solution why i enabled send pm but members are not receiving any pm for karma change
i searched this post and red every single reply that contains the word "message", and i still can't find a solution
someone mentioned there is an option under profile look and layout but i couldn't find any
i found the notify option under the notification now
but how do i enable everyone to receive pm, and make it receive karma change notification by default
i installed it with no error
and my smf version is 2.0rc3
Nice mod, thank you.
In my error log I've noticed an error:
8: Undefined index: viewkarma_title
Apply Filter: Only show the errors from this file
File: /var/www/clients/client50/web65/web/forum/Sources/Karma.php
Line: 100
'name' => $txt['viewkarma_title'] );
and others with Line 97
$context['page_title'] = $txt['viewkarma_title'];
I have defined viewkarma_title in index.*.php and I have updated both language files used.
I am using 2.0 RC3
Thank you in advance
I just updated a forum to SMF 2.0 RC4 and this mod is now no longer compatible. Here's the error message I get -
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
greate mod but doesn't work with RC4
Could we possibly at least get the Mod author to chime in briefly here and tell us he'll be looking into making this compatible with RC4? I don't mind waiting a bit, but this mod is very important to my forum community and I don't want to upgrade to RC4 until this mod is compatible.
I do appreciate this mod and the work that goes into updating it.
Thanks!
hello how to enable notification to all users?
Does anyone know the author of this mod -
Grek_Kamchatka
Maybe another way to contact him and at least get him to say if he might update the mod? He was last active Nov 12th, but doesn't seem to be interested in replying to the support thread for his mod here. I'm holding my forum to RC3 for a while longer, but at some point I'll have to tell my membership that we have to move on without this mod.
Well, I upgraded to RC4 and now the karma descriptions are gone. What a shame. I don't understand why the author does not even log in to tell us why he has abandoned this great mod.
Quote from: xrunner on November 21, 2010, 10:18:00 AM
Well, I upgraded to RC4 and now the karma descriptions are gone. What a shame. I don't understand why the author does not even log in to tell us why he has abandoned this great mod.
Well, you don't know the reason why he didn't show up since the last time.
Besides, everyone has their own private life.
Quote
Well, you don't know the reason why he didn't show up since the last time.
He
has shown up "since last time" though ...
Check the dates below. He logged on 6 days
after my first post in this series. So I would have thought he could have at least told us that he would either be updating the mod or abandoning it. Does he log on and not respond to his mod support thread? All he had to say was either
"I am not interested in supporting the mod any longer"
or
"I will have to put off support because of my personal life"
He doesn't have to do anything he doesn't want to do, but logging on and not even talking to loyal users of his mod in
his support thread isn't good for his reputation. If he isn't supporting the mod, and users are posting in the support thread for support from him, then he needs to tell the users they should not expect support from him. Seems to me that's the least he could have done if he logged on, as I have clearly shown that he did below.
*****
Grek_Kamchatka
Last Active:
November 12, 2010, 05:25:31 PM
Quote from: xrunner on November 06, 2010, 07:41:57 PM
Could we possibly at least get the Mod author to chime in briefly here and tell us he'll be looking into making this compatible with RC4? I don't mind waiting a bit, but this mod is very important to my forum community and I don't want to upgrade to RC4 until this mod is compatible.
I do appreciate this mod and the work that goes into updating it.
Thanks!
Maybe someone else is doing the update, give them some time to update it.
Quote from: giovannie_1 on November 23, 2010, 12:44:59 PM
Maybe someone else is doing the update, give them some time to update it.
http://www.simplemachines.org/community/index.php?topic=369147.msg2861319#msg2861319
I did all the changes you described step by step and got the following error message during the package install process -
Duplicate column name 'description'
File: /home/thesite9/public_html/test/Packages/temp/Karma_Description_Mod_ver.2.6.8/db_change_2.0.php
Line: 18
Did you have installed karma description before?
If so.... open db_changes_2.0.php
and replace everything with:
<?php
//Karma Description Mod
if(file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
else if(!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php and SSI.php files.');
if((SMF == 'SSI') && !$user_info['is_admin'])
die('Admin priveleges required.');
db_extend('packages');
?>
Quote from: lucas-ruroken on November 25, 2010, 12:55:49 PM
Did you have installed karma description before?
Yes I did.
Quote
If so.... open db_changes_2.0.php
and replace everything with: ...?>
OK, let me test this for a day on my test forum and I'll report back. Thanks for your effort to help us. :)
You're welcome
lucas-ruroken,
Suppose I need to uninstall this mod after all these manual patches - how would I do it? I can't use the package manager to uninstall it right?
mmmm no... The only you need is not load again the new dates on your database.... If you install as I say... You can install with no problems
Quote from: lucas-ruroken on November 27, 2010, 10:08:17 AM
mmmm no... The only you need is not load again the new dates on your database.... If you install as I say... You can install with no problems
Yes, but I was asking about
un-installing it if I ever needed to. How would I do that properly -
un-installing it?
Is there a version for 1.1.12?
lucas-ruroken,
Since you knew how to fix this mod, and the changes worked, is there any way you could take over the mod, or is there any way you could make a new package for it that would install/uninstall with the fixes through the package manager, so others wouldn't have to manually edit stuff?
Thanks.
not unless the original authors gives permission to transfer ownership of the mod to another user.
Quote from: vince123 on December 05, 2010, 07:58:06 AM
Is there a version for 1.1.12?
I'm looking for this too.
thanks!
When i try install this mod in 1.1.12 version,,I get this message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg255.imageshack.us%2Fimg255%2F5826%2F21999904.th.jpg&hash=8f42a9cccad75c7adc0d5c2a82414cac0c143fa0) (http://img255.imageshack.us/i/21999904.jpg/)
Uploaded with ImageShack.us (http://imageshack.us)
Why? Not compatible with this version?
How to setting this mod.
I need all user can see Who changed my karma and Whose karma have I changed but i can't setting.
Only admin can see in thier profile.
Thank you so much
i managed to install in 2.0rc4
the only problem i have is the karma log is overlapping clear cache in Forum Maintenance
what should i do? see attachment
solved, see http://www.simplemachines.org/community/index.php?topic=49088.msg2885875#msg2885875 (http://www.simplemachines.org/community/index.php?topic=49088.msg2885875#msg2885875)
Quote from: Eudemon369 on December 18, 2010, 09:39:57 PM
i managed to install in 2.0rc4
the only problem i have is the karma log is overlapping clear cache in Forum Maintenance
what should i do? see attachment
Yes, I too...
But is it not important ;)
true that, not really important, but that bothers you sometimes
because now we can't empty cache... should be a little edit, but i just can't do it
QuoteYes, I too...
But is it not important ;)
ok, i got some free time today
so i took a look at the codes, and i managed to make cache log to display fine
here is the change, actually all i did is relocate the codes (tested in my own forum, works)
go to ur ManageMaintenance.template.php
find, and delete
<div class="cat_bar">
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karmalog'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karma_points'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
search
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_logs'], '</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=logs" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_logs_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_cache'], '</h3>
</div>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=cleancache" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_cache_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
add after
<div class="cat_bar">
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karmalog'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karma_points'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
still nothing is displayed under " Empty out Karma Description log " but at least got the empty cache back ;D
hope that helps
Very nice :D
Thank you!
I fixed the code to make the Karma log buttons/sections show under maintenance. There were span class and div misplacements.
First I want to thank Eudemon369 for sharing the fix to make the cache log maintenance show again.
I will restate his brilliant fix with my fix in it:
http://www.simplemachines.org/community/index.php?topic=49088.msg2885875#msg2885875
FIND & DELETE as E said:
<div class="cat_bar">
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karmalog'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karma_points'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
Now SEARCH as E said:
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_logs'], '</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=logs" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_logs_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_cache'], '</h3>
</div>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=cleancache" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_cache_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
AFTER add this fixed code instead:
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_karmalog'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg">', $txt['maintain_karma_points'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
_____________________________________________
If you've already done E's methods, do this only
FIND
<div class="cat_bar">
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karmalog'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg"><span class="left"></span>
', $txt['maintain_karma_points'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
REPLACE WITH:
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_karmalog'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg">', $txt['maintain_karma_points'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
tested, works perfect
thx kaung ;)
One lite bug :)
:D
For the double lines with misplaced checkbox,
In the same managemaintenance.template.php
FIND:
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_karmalog'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg">', $txt['maintain_karma_points'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
REPLACE:
<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_karmalog'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karmalog_info'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
<h3 class="catbg">', $txt['maintain_karma_points'], '</h3></div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info'], ' ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
No, it is the same :)
I read your post before ;)
Quote from: MaXiForum.cz on December 22, 2010, 10:24:32 AM
No, it is the same :)
I read your post before ;)
Oops. I pasted it wrong.
Find:
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p>', $txt['maintain_karma_points_info'], '</p>
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
Replace
<form action="', $scripturl, '?action=admin;area=maintain;sa=routine;activity=karma_points" method="post" accept-charset="', $context['character_set'], '">
<p><input type="checkbox" name="del" value="del" class="check"/> ', $txt['maintain_karma_points_info'], ' ', $txt['maintain_karma_points_info2'], '</p>
<span><input type="submit" value="', $txt['maintain_run_now'], '" class="button_submit" /></span>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
No change man :)
are you using simple portal?
it could be sp's block issue, im not sure
try uninstall portal see if it displays fine, if it is, then it's the portal block problem
i know recently they did something to the portal.css
Yes I have installed SimplePortal :-)
And I have the file portal.css in the actual theme :)
This bug is not important.
Thank you
I have simple portal as well.
I wonder if it's cache issue.
How did the people who have this working on RC4 manage it?
Quote from: HorTs on January 01, 2011, 04:04:27 PM
How did the people who have this working on RC4 manage it?
open package-info
find
<install for="2.0 RC3">
replace with
<install for="2.0 RC3, 2.0 RC4">
find
<uninstall for="2.0 RC3">
replace with
<uninstall for="2.0 RC3, 2.0 RC4">
Or you can use the advanced options in the package manager to emulate earlier versions of SMF so older mods will install.
Many thanks.
great modification, I translated it into PL because of such use. Very good mod. Thanks
is this available as a zipfile mod? im a rookie and surely know nothing about those codes. currently only using package manager :-[
using smf 1.1.12
I'm using this mod and have just converted my forum to UTF8 and suddenly the page where you enter the reason for the Karma change has no text/form labels? Also, within the admin the Karma settings page also have no text/form labels?!
I have tried uninstalling the mod and reinstalling but to no avail?
most mods do not install in tuf-8. You need to make the language updates to your utf-8 language files manually.
Quote from: Kindred on February 07, 2011, 03:10:07 PM
most mods do not install in tuf-8. You need to make the language updates to your utf-8 language files manually.
Ohh bum! Can I just take one of the language files that comes with it and append UTF8 to the end of it?
Quote from: vasilios on December 16, 2010, 06:45:28 AM
When i try install this mod in 1.1.12 version,,I get this message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg255.imageshack.us%2Fimg255%2F5826%2F21999904.jpg&hash=72d77ae0326e661164dce71f96e75fc07d7c4b1f)
Why? Not compatible with this version?
sorry me if this post was answered, but i could not see any.
i got the same problem with version 1.1.3 can anyone help me ?
Install it like 1.1.11
http://custom.simplemachines.org/mods/index.php?mod=2113
or by hand ;)
Quote from: MaXiForum.cz on February 20, 2011, 05:23:42 AM
Install it like 1.1.11
http://custom.simplemachines.org/mods/index.php?mod=2113
or by hand ;)
first of all thanks for the answer,
second i did it manual and i think it worked well (since in admin panel at karma mod, i could add the log and configure it)
but 1 problem appear when i wanted to check it, i clicked on >Home and i got this error.
Unknown column 'lk.Description' in 'field list'
File: /home/ilive/public_html/forum/Sources/BoardIndex.php
Line: 438
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.13, while your database is at version 1.1.12. The above error might possibly go away if you execute the latest version of upgrade.php.
i installed that mod "version_emulate_dropdown" and selected 1.1.11 / 1.1.12 and some others, and still nothing....
so nobody :( ?
i saw some things about this error but could not understand :(
Just means you didn't run the installer script that comes with the mod - when you did the manual installation instructions you missed the last step.
Quote from: Arantor on February 20, 2011, 05:33:56 PM
Just means you didn't run the installer script that comes with the mod - when you did the manual installation instructions you missed the last step.
ur right :-X
i didnt did the last 2 steps Code & File Operations,
my question is now what i have to do in this step ?
QuoteCode
db_change_1.1.php
This file should be able to execute standalone.
Upload that file to your forum's directory, next to SSI.php and then navigate to it in your browser so the code runs and expands the database.
Quote from: Arantor on February 20, 2011, 06:43:27 PM
Upload that file to your forum's directory, next to SSI.php and then navigate to it in your browser so the code runs and expands the database.
just a white page ill get if i visit it ....
Quotejust a white page ill get if i visit it ....
You're not supposed to get any content in that page. Now does it work?
Quote from: Arantor on February 20, 2011, 07:00:44 PM
Quotejust a white page ill get if i visit it ....
You're not supposed to get any content in that page. Now does it work?
nop, the same exact error.
Hmm.
So you definitely put it into the right place and you definitely browsed to it in your browser?
Quote from: Arantor on February 20, 2011, 07:17:05 PM
Hmm.
So you definitely put it into the right place and you definitely browsed to it in your browser?
next to SSI.php and yes i runed it into my browser adress/forum/db_change_1.1.php
Odd.
What you can do is go into the db_change_1.1.php and look at the instructions it runs, and run those manually in phpMyAdmin, just remembering to change {$db_prefix} for your actual prefix, normally smf_ (e.g. smf_log_karma)
Quote from: Arantor on February 20, 2011, 07:30:41 PM
Odd.
What you can do is go into the db_change_1.1.php and look at the instructions it runs, and run those manually in phpMyAdmin, just remembering to change {$db_prefix} for your actual prefix, normally smf_ (e.g. smf_log_karma)
with my knowledge i cant do what its writed there :-\
Even though it's basically copy and paste?
You copy the ALTER TABLE lines into phpMyAdmin, remove the {$db_prefix} and put your actual setting there, then hit 'Go'.
Quote from: Arantor on February 21, 2011, 05:23:54 AM
Even though it's basically copy and paste?
You copy the ALTER TABLE lines into phpMyAdmin, remove the {$db_prefix} and put your actual setting there, then hit 'Go'.
Create new table on database [b]DBname[/b]
Name
if i put that line here ( where i think it should) and hit go, it just tell me that table exist...
Yes, the database already exists. You need to alter tables in it.
Hit the SQL button to get a nice big area to put the query into.
Quote from: Arantor on February 21, 2011, 05:44:58 AM
Yes, the database already exists. You need to alter tables in it.
Hit the SQL button to get a nice big area to put the query into.
didnt know about that ( i mean , so i could execute "texts" from sql button)
and sorry for late, i dont know why but it gave me errors, i tried to change text , understand the error and so long, (errors were like DBname_PREFIXname.PREFIXiWriteOnSqlButtonKarma_Log does not exist, and i was till bath and come again, did the same thing and worked ... strange)
all its working ok, i just miss the down button near [other stats] the [karma log]
i think its easy this one (if not ill come and ask for help once again)
but the karma log work, i checked in Profile -> who changed my karma, and worked.
thanks very much for all, especially to Arantor :P
:-[ im here again....
now i cant change my theme , i click on
Overall forum default:
and it change to my choosed theme
but
Reset everyone to:
remain to No Change
Quoteremain to No Change
And that's a problem? What it means is to reset the forum default and anyone who's set their profile to 'use the forum default' will use the new default, and anyone who set it for anything else is left alone.
If you have any problems that aren't strictly related to this mod please open a support topic.
i cant change the forum theme even from profile or any other option, it just remain on default one w/e i do.
and i posted here believing this is the right section, since this problem appear when i added this karma mod :P
Well, that area of the admin panel isn't touched by this mod so that isn't the issue... the profile might have been edited incorrectly though.
Quote from: Arantor on February 21, 2011, 06:55:11 AM
Well, that area of the admin panel isn't touched by this mod so that isn't the issue... the profile might have been edited incorrectly though.
lol my bath is special. now i didnt did smth special just changed few files but still not worked....
i was till bath and come again saw ur answer and wanted to do few more edits to see if it worked, and when i clicked on my forum adress to join the admin panel , the theme was changed already. hmmm
maybe my host upload it a bit harder and thats why i see no changes in few secs ...
Sorry for double post,
i wanted to say.
Thanks once again for all support.
All works well now, i need no more help in this case,
and anyone if have problem with this just read all the posts, u will find the answer :P
i have question about karma mod. When i give a karma (lots of) my members, i can do it easly in profile section (Forum Profile Information) with karma box. But Global moderators didn't too. I want to open it for my global moderators, because when we giving lots of karma, they are can't do easly.
How i can solve it? my smf verison is 1.1.12
Quote from: DnZkYcN on February 21, 2011, 08:34:36 AM
i have question about karma mod. When i give a karma (lots of) my members, i can do it easly in profile section (Forum Profile Information) with karma box. But Global moderators didn't too. I want to open it for my global moderators, because when we giving lots of karma, they are can't do easly.
How i can solve it? my smf verison is 1.1.12
can u please rewrite what u just said ? i didnt understand a thing :(
Quote from: Sido on February 21, 2011, 10:47:46 AM
Quote from: DnZkYcN on February 21, 2011, 08:34:36 AM
i have question about karma mod. When i give a karma (lots of) my members, i can do it easly in profile section (Forum Profile Information) with karma box. But Global moderators didn't too. I want to open it for my global moderators, because when we giving lots of karma, they are can't do easly.
How i can solve it? my smf verison is 1.1.12
can u please rewrite what u just said ? i didnt understand a thing :(
sorry my english very bad :D But i can explain with picture
here it is:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg220.imageshack.us%2Fimg220%2F1050%2Fadszif.png&hash=887caf3eb3b0d56827def4149d54c6e691b34bf3)
as you can see, 2 boxes here for karma changing on -forum profile information- on my any member. I can writing numbers here what i want. But global moderator's can't see this 2 boxes. I want to open this my moderators but im rookie on smf mod editing.
Quote from: Eudemon369 on October 02, 2010, 05:36:56 PM
Can someone gimme a solution why i enabled send pm but members are not receiving any pm for karma change
i searched this post and red every single reply that contains the word "message", and i still can't find a solution
someone mentioned there is an option under profile look and layout but i couldn't find any
i found the notify option under the notification now
but how do i enable everyone to receive pm, and make it receive karma change notification by default
i installed it with no error
and my smf version is 2.0rc3
What did you end up doing about this?
Quote from: Grek_Kamchatka on October 03, 2006, 01:02:51 AM
Whoops, it's not a _members table. It is a _setting table, i forget it. So it is a dynamical table, and it can't consist default value. You only can edit Profile.template.php lines with Karma Description Mod to set default value = 2
So what do you do to make it a default option?
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
Why does the "Show small images instead of karma applaud and smite text labels?" use the default template images, instead of the current theme's images??
Something is wrong with the manageMaintance..
'delete cache' is gone and there is no button for Empty out Karma Description log
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.decashare.com%2Fimages%2F0nJ9ygDuG-Untitled-2.jpg&hash=1ded20208f0546498b7d147c7841fba8bd26bd79)
This may have been asked and answered, but two things:
1. Is there a script to make all existing users set to Notify via PM (or popup)?
2. Is there a script to make new users set to Notify via PM (or popup)?
Thanks
Quote from: Leemy on May 01, 2011, 05:50:57 PM
This may have been asked and answered, but two things:
1. Is there a script to make all existing users set to Notify via PM (or popup)?
2. Is there a script to make new users set to Notify via PM (or popup)?
Thanks
I would like to ask the same question.
Many thanks.
Quote from: RvG on May 02, 2011, 02:46:51 PM
Quote from: Leemy on May 01, 2011, 05:50:57 PM
This may have been asked and answered, but two things:
1. Is there a script to make all existing users set to Notify via PM (or popup)?
2. Is there a script to make new users set to Notify via PM (or popup)?
Thanks
I would like to ask the same question.
Many thanks.
Likewise.
no... as far as I know, you would have to do a direct database edit...
Quote from: Kindred on May 02, 2011, 04:16:42 PM
no... as far as I know, you would have to do a direct database edit...
How so?
Quote from: Kindred on May 02, 2011, 04:16:42 PM
no... as far as I know, you would have to do a direct database edit...
Kindly help us...
Many thanks for your help.
ok, maybe I am just overlooking it when reviewing this thread. Is there a way for me to install this to SMF 2.0 RC5? If so, how?
thx
would be awesome for 2.0 RC5 i rlly want this :O
Quote from: wii123 on May 18, 2011, 05:52:08 PM
would be awesome for 2.0 RC5 i rlly want this :O
open the package file using notepad and change the RC4 or whatever it's at to RC5 and it will install with no problems.
Quote from: shuban on May 18, 2011, 10:05:42 PM
Quote from: wii123 on May 18, 2011, 05:52:08 PM
would be awesome for 2.0 RC5 i rlly want this :O
open the package file using notepad and change the RC4 or whatever it's at to RC5 and it will install with no problems.
Oh beast thanks man
nope, now I get this:
Duplicate column name 'description'
File: /.../Forumsmf/Packages/temp/db_change_2.0.php
Line: 18
Quote from: shuban on May 18, 2011, 10:05:42 PM
Quote from: wii123 on May 18, 2011, 05:52:08 PM
would be awesome for 2.0 RC5 i rlly want this :O
open the package file using notepad and change the RC4 or whatever it's at to RC5 and it will install with no problems.
Worked perfectly. Thank You!
yup, use that trick with whatever mod u install
wonder why its not working for me?
exactly what file did you change in the package?
Quote from: Omen on May 19, 2011, 01:57:01 PM
wonder why its not working for me?
exactly what file did you change in the package?
file name = package-info.xml
Change
<install for="2.0 RC2"> to whatever version you have. I changed mine to
<install for="2.0 RC5">
Is there an option to have the Karma listed on profiles?
ok, apparently the fix for this is more involved than just changing rc2 to rc5, I keep getting the following error:
Duplicate column name 'description'
File: /.../Forumsmf/Packages/temp/db_change_2.0.php
Line: 18
the mod may work for some, but it isn't working for me for some reason.
anyone out there that can help?
Great Mod.
It works perfect for me.
Thanks a lot.
An advice: change de installer to 1.1.13 instead 1.1.11.
And here is my Mod's spanish translation (it says "spanish_latin" but it'll work for "spanish_es" too):
Admin.spanish_latin.php
//Karma Descriprion Mod
$txt['maintain_karmalog'] = 'Vaciar el Registro de Descripción de Karma';
$txt['maintain_karmalog_info'] = 'Borrar todo el Registro de Descripción de Karma';
$txt['maintain_karma_points'] = 'Poner el Karma de todos los Usuarios en 0';
$txt['maintain_karma_points_info'] = 'Establecer el Karma de todos los Usuarios en 0';
$txt['maintain_karma_points_info2'] = 'y borrar todo el Registro de Descripción de Karma';
ModSettings.spanish_latin.php
//Karma Descriprion Mod
$txt['karmadescmod'] = 'Activar el Mod de Descripción de Karma';
$txt['karmamaxmembers'] = 'Usuarios por página en el registro de Descripción de Karma';
$txt['karmalogview'] = 'Hacer que los nicks de usuarios sean links a sus perfiles';
$txt['karmapermiss'] = 'Permitir a los usuarios ver el registro de Descripción de Karma (Ver Permisos)';
$txt['karmalinks'] = 'Activar links de Karma en los Perfiles';
$txt['karmaisowner'] = 'Desactivar el registro de karma para los usuarios, pero permitir el registro del karma propio';
$txt['karmakarma'] = 'Mostrar el karma(+/-) de usuarios en el registro de Descripción de Karma';
$txt['karmaurl'] = 'Activar el campo "Dónde" en el Registro de Descripción de Karma';
$txt['karmaotherstat'] = 'Mostrar otras Estadísticas de Karma';
$txt['karmasurv'] = 'Aplaudir o castigar usuarios sin explicaciones';
$txt['karmawhatwrite'] = 'Escribir lo siguiente en el registro cuando la Explicación está desactivada';
$txt['karmacensor'] = 'Censurar la Explicación de Karma';
$txt['karmatopicstarter'] = 'Los Usuarios sólo pueden cambiar el carma del autor del Tema';
$txt['karmanotifier'] = 'Activar Notificación de Karma';
$txt['karmaidmember'] = 'Enviar PM al usuario con este ID (1 por defecto)';
$txt['karma_pm_send_changelink'] = 'Enviar en los PM un link al mensaje donde fue modificado el Karma';
$txt['karma_pm_send_link'] = 'Enviar en los PM link al registro de Karma propio';
$txt['karmacantmodify'] = 'IDs de los usuarios a los que no se les puede cambiar el Karma. <div class="smalltext">Separar con comas, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuarios que no pueden modificar Karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Mostrar pequeñas imágenes de aplaudir y castigar en el Karma en lugar de las palabras';
$txt['karmapictureinlog'] = 'Mostrar pequeñas imágenes en el registro de Descripción de Karma en el campo "Acción" en lugar de + o -';
$txt['karmadelete'] = 'Borrar los puntos de karma del usuario cuando se borran las descripciones de cambios en el registro de Descripción de Karma';
$txt['karmalabellink'] = 'Usar la etiqueta karma como link al registro de Descripción de Karma del usuario';
$txt['karmalastchange'] = 'Activar último cambio de karma en el Índice';
$txt['karmalastchangenum'] = 'Número de descripciones en el Índice';
$txt['karmadescfieldnum'] = 'Cantidad de símbolos que se mostrarán en el campo "Descripción" en el Índice';
Who.spanish_latin.php
//Karma Descriprion Mod
$txt['whoadmin_viewkarma'] = 'Viendo <a href="' . $scripturl . '?action=viewkarma">Registro de Descripción de Cambio de Karma</a>.';
$txt['whoall_modifykarma'] = 'Modificando Karma.';
Help.spanish_latin.php
//Karma Descriprion Mod
$helptxt['karmapermiss'] = 'Por defecto, esta opción está desactivada y el Registro de Karma sólo lo pueden ver los Admins. Si quieres que lo puedan ver otros moderadores o usairos, etc., actívalo y dale permisos a cada usuario en la sección "Permisos".';
$helptxt['karmaotherstat'] = 'Mostrar las Estadísticas de Karma como usuarios más aplaudidos o castigados, etc., en el registro de Karma.';
$helptxt['karmalinks'] = 'Si activas esto, los usuarios verán dos links en sus perfiles (o en el de otros). Podrán ver quién les cambió el Karma y a quién se lo han cambiado. El Mod de Descripción de Karma debe estar activado';
$helptxt['karmakarma'] = 'Esto muestra el Karma de los usuarios en el Registro de Karma junto a sus nombres. Por ejemplo: Nombre (+12/-8)';
$helptxt['karmaurl'] = 'Si activas esta opción, tú y los usaurios podrán ver dónde les fue cambiado el Karma.';
$helptxt['karmaisowner'] = 'Si activas esta opción, sólo el dueño del perfil podrá ver dos links a su propio registro de Karma. De paso, los usuarios recibirán un mensaje de error si escriben la url de otro usuario (como http://your_forum.com/index.php?action=ownkarma;u=other_user) si no quieres que puedan ver el registro de Karma de otros usuarios. El registro completo de Karma estará desactivado también. SÓLO EL REGISTRO PERSONAL.';
$helptxt['karmanotifier'] = 'Si activas esta función, los usuarios podrán ver otro campo en sus perfiles en la sección \'Notificaciones\'. Ésto les dará la oportunidad de recibir notificaciones cuando sus karmas sean modificados, de dos formas: Mensaje Popup y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si los usuarios activan la Notificación de Karma y escogen notificaciones por Mensaje Personal, recibirán un Mensaje Personal del usuario con esta ID. Por ejemplo, si pones ID_MEMBER=1, ellos recibirán un PM del Usuario 1 y así. Si pones ID = 0 recibirán un PM de Admin Invitado.';
$helptxt['karma_pm_send_link'] = 'Si los usuarios activan la Notificación de Karma y escogen notificaciones por Mensaje Personal, en el Mensaje Personal verán un link a su Registro de Karma personal.';
$helptxt['karma_pm_send_desc'] = 'Si los usuarios activan la Notificación de Karma y escogen notificaciones por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de Karma.';
$helptxt['karma_pm_send_changelink'] = 'Si los usuarios activan la Notificación de Karma y escogen notificaciones por Mensaje Personal, en el Mensaje Personal verán un link al mensaje en el cual les modificaron el Karma.';
$helptxt['karmacantmodify'] = 'Separados con coma, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados con coma, sin espacios.';
index.spanish_latin.php
//Karma Description Mod
$txt['karmaview'] = 'Descripción de Cambio de Karma';
$txt['whykarmamod'] = 'Cambio de Karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para modificar el Karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Razón';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Descripción de Cambio de Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Borrar';
$txt['karma_delete_confirm'] = '¿Estás seguro/a que quieres borrar este registro?';
$txt['karma_back'] = '< Cancelar';
$txt['karma_continue'] = 'Aceptar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Castigar)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En Tema';
$txt['karmawhereurl2'] = 'En PM';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Página';
$txt['karma_profile_of'] = 'Ver el Perfil de';
$txt['sure_about_karma_remove'] = '¿Estás seguro/a que quieres borrar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Top 5 de usuarios aplaudidos';
$txt['karma_top_smite'] = 'Top 5 de usuarios castigados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más ha aplaudido';
$txt['karma_max_smit'] = 'Usuario que más ha castigado';
$txt['karma_today'] = 'Puntos de Karma hoy';
$txt['karma_today_plus'] = '"+" de hoy';
$txt['karma_today_minus'] = '"-" de hoy';
$txt['karma_notifier'] = 'Tu karma ha sido modificado en ';
$txt['karma_notifier2'] = ' puntos. ¿Quieres ver el Registro de Descripción de Karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado Usuario. Tu Karma ha sido modificado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro en el siguiente link:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Enviar la razón en un mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón de la modificación fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu Karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Último cambio de Karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de Karma';
ManagePermissions.spanish_latin.php
//Karma Description Mod
$txt['permissionname_karmalog_view'] = 'Ver Registro de Karma';
$txt['permissionhelp_karmalog_view'] = 'El Registro de Descripción de Karma muestra el karma de todos los usuarios y las descripciones para aplaudir o castigar. Este permiso sólo funcionará si ya lo has activado en Características y Opciones. Puedes acceder a la pantalla de Descripción de Karma haciendo clic en el link de Estadísticas de Karma en el Índice del Foro.';
Errors.spanish_latin.php
//Karma Description Mod
$txt['cannot_karmalog_view'] = 'Lo sentimos - no tienes permisos para ver la lista de Descripción de Karma.';
$txt['viewkarma_error'] = 'La ID del usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo sentimos, pero este/a usuario/a no es el autor del Tema.';
$txt['karma_cant_modify'] = 'Lo sentimos, pero no puedes modificarle el Karma a este/a usuario/a.';
$txt['karma_cant_modify2'] = 'Lo sentimos, pero no puedes modificarle el Karma a otros usuarios.';
$txt['kdm_error'] = 'El Mod de Descripción de Karma está desactivado';
Profile.spanish_latin.php
//Karma Description Mod
$txt['who_change_my_karma'] = 'Quién modificó mi Karma';
$txt['whom_i_change_karma'] = 'A quién le modifiqué el Karma';
$txt['enable_notify'] = 'Notificarme cuando alguien me modifique el Karma';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana popup';
$txt['enable_notify_pm'] = 'Mensaje Personal';
2.0 RELEASE
Invalid default value for 'is_read'
file: /blabla/db_change_2.0.php
str: 20
A new version of Karma Description Mod will be released soon.
Quote from: Grek_Kamchatka on June 17, 2011, 12:57:47 AM
A new version of Karma Description Mod will be released soon.
Great !!!
Very nice Grek_Kamchatka ;)
thank god
believe it or not.. my forum's demographic thrive on the ability to rep/karma each other publicly.. with a description.
i have migrated to 2.0 gold.. but currently have a gaping hole where your mod was.
pls, hurry!
XOX
Waits patiently. Our members loved this mod.
Quote from: Grek_Kamchatka on June 17, 2011, 12:57:47 AM
A new version of Karma Description Mod will be released soon.
Thank goodness!
Run the new Version on 2.0?
QuoteSMF Version: 1.1.11, 2.0 RC3
Quote from: Eclipse16V on June 22, 2011, 03:00:13 AM
Run the new Version on 2.0?
QuoteSMF Version: 1.1.11, 2.0 RC3
KDM with 2.0 Gold supporting will be released soon.
Thanks
Quote from: Grek_Kamchatka on June 22, 2011, 03:03:48 AM
Quote from: Eclipse16V on June 22, 2011, 03:00:13 AM
Run the new Version on 2.0?
QuoteSMF Version: 1.1.11, 2.0 RC3
KDM with 2.0 Gold supporting will be released soon.
Yay! hope to see it soon...
waiting for 2.0 version..
I have a problem...
When I first installed this MOD long time ago users decided if they wanted to be inform when they get a karma point... but for some reason now the option is not displayed in the profile configuration under the "notifications" tab. I don't think is a problem with the MOD since is was working before. I think is because we modified some things of our theme and maybe the guy that did it missed the code that puts that option. Can you tell me how can I have that option back?
PS: The option is marked in the administration panel... it just doesn't show the option to choose anymore. Therefore, member who already decided to receive either a PM or a pop-up do receive the message or pop-up... but new member can't decide.
Thanks.
It will be a new function in admin panel to change karma notification for new and old members.
By the way, KDM for SMF 2.0 already done. I'll see it soon.
Quote from: Grek_Kamchatka on July 02, 2011, 06:44:56 AM
By the way, KDM for SMF 2.0 already done. I'll see it soon.
It's done? Sure would be nice to see it this weekend!
Quote from: Grek_Kamchatka on July 02, 2011, 06:44:56 AM
It will be a new function in admin panel to change karma notification for new and old members.
By the way, KDM for SMF 2.0 already done. I'll see it soon.
its the last mod im waiting to be done, so i can move my forum from 1.1.14 to 2.o final.
It's done for SMF 2.0 but I still working on KDM for SMF 1.1*
So when it will be done, you all'll see a new version with many new feautures you asked.
Man, the suspense is killing me!
Be patient =)
Quote from: Grek_Kamchatka on July 03, 2011, 03:48:09 AM
Be patient =)
Good to see you still hanging in around here <3 :D
Hey Grek,
I still have the database table for when I was using the previous version of the Karma Desc. Mod. Will the new version use the same table, i.e. will the entries I have show up OK?
Yep. The new version use the same table.
Karma Description Mod ver.2.7 was Released.
At this time ver. 2.7 compatible with SMF 2.0 only (Sorry, i have a lot of work)
I have updated some screen shots, but other release notes i'll post tomorrow (haven't time right now)
Yes ! It works ! thx a lot !
Thanks!
For some reason, none of the old descriptions show up with 2.7. Also, when I set permissions to "Allow to see Log" that doesn't work... So only admins are given the option to view the log.
Sweet, thanks for the update!
Quote from: Richardgm on July 07, 2011, 10:06:21 AM
For some reason, none of the old descriptions show up with 2.7. Also, when I set permissions to "Allow to see Log" that doesn't work... So only admins are given the option to view the log.
same problem, all old descriptions are gone.
Getting this error when trying to give karma...
QuoteField 'is_read' doesn't have a default value
File: E:\Websites\Forum\Sources\Karma.php
Line: 588
Installed latest version on SMF 2.0 gold
edit to add.. i uninstalled this mod and still getting this error. cant give karma at all.
// none of the old descriptions show up with 2.7.
+1
// Also, when I set permissions to "Allow to see Log" that doesn't work... So only admins are given the option to view the log.
-1
set it in group permissions
something is horribly wrong now.... i uninstalled it but this still shows up (see attachment) any help is GREATLY appreciated
@ willsteele
Clear your smf cache
^^ got it. thanks. still having the problem below though
Quote from: willsteele on July 07, 2011, 01:25:05 PM
Getting this error when trying to give karma...
QuoteField 'is_read' doesn't have a default value
File: E:\Websites\Forum\Sources\Karma.php
Line: 588
Installed latest version on SMF 2.0 gold
edit to add.. i uninstalled this mod and still getting this error. cant give karma at all.
All your old reasons has gone because you used a standart karma function. By the way it clear all karma actions all time. (now you can upload your old karma actions from sql backup, ofcourse if you have it.)
2.7 worked wonderfully on my forums, thanks!
Quote from: Grek_Kamchatka on July 07, 2011, 05:04:29 PM
All your old reasons has gone because you used a standart karma function. By the way it clear all karma actions all time. (now you can upload your old karma actions from sql backup, ofcourse if you have it.)
How do we upload the old ones? I thought just changing the "backup_smf_karma_log" to "smf_karma_log" would work. But that gave me an error.
Quote from: PascalCX on July 07, 2011, 01:41:14 PM
// Also, when I set permissions to "Allow to see Log" that doesn't work... So only admins are given the option to view the log.
-1
set it in group permissions
And where else should I enable members to have access to the Log? (see attachment)
Hi. Here is small video How to upload old descriptions to the new empty (or with some values) table.
I used phpMyAdmin (free software) for it.
Don't forget to change encoding, when you will be Import an old log. See the red pointer on video
http://www.youtube.com/watch?v=NKWits46gpQ
Quote from: Richardgm on July 07, 2011, 07:54:47 PM
Quote from: Grek_Kamchatka on July 07, 2011, 05:04:29 PM
All your old reasons has gone because you used a standart karma function. By the way it clear all karma actions all time. (now you can upload your old karma actions from sql backup, ofcourse if you have it.)
How do we upload the old ones? I thought just changing the "backup_smf_karma_log" to "smf_karma_log" would work. But that gave me an error.
Quote from: PascalCX on July 07, 2011, 01:41:14 PM
// Also, when I set permissions to "Allow to see Log" that doesn't work... So only admins are given the option to view the log.
-1
set it in group permissions
And where else should I enable members to have access to the Log? (see attachment)
Check off "Disable whole karma log..."
You forbade users to look a log.
Thanks for helping me out.
When I'm importing the old table, I get "Error
SQL query: #1054 - Unknown column 'logTime' in 'field list'"
In PHPMyAdmin
logTime was in SMF 1.1.* in SMF 2.0 it's named as log_time.
Rename "logTime" into "log_time" in your sql file and try to execute it again.
That worked! Thanks.
Also, what's :
"Amount of karma points: ∞" about?
Quote from: Richardgm on July 07, 2011, 11:27:14 PM
That worked! Thanks.
Also, what's :
"Amount of karma points: ∞" about?
It's show how many karma points you have today. As an administrator you have no limit, so this character is meant by endlessness to you.
Im a newbie.
im using SMF 1.1.14 with Black Rain theme and TP
Will this work for my forum?
No. This mod only for SMF 2.0
KDM ver.2.7.1 was released.
*Added new icons for karma labels +/-
*Fixed bug with real_name instead of poster_name in description for concrete message template
*Fixed bug with </div> in Description template (When applauding or smiteing)
*Fixed bug with $button error in error log. (Reason for concrete message template)
Thanks
I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.
Quote from: MacTrom on July 24, 2011, 03:39:53 PM
I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.
You have to set permissions for the groups to see that, go to permissions ...
Quote from: xrunner on July 24, 2011, 05:46:25 PM
Quote from: MacTrom on July 24, 2011, 03:39:53 PM
I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.
You have to set permissions for the groups to see that, go to permissions ...
can you be more specific? I take it you mean the Member's Persmissions, but where do I set the "See Karma Descriptions"?
Quote from: MacTrom on July 25, 2011, 01:44:22 AM
can you be more specific? I take it you mean the Member's Persmissions, but where do I set the "See Karma Descriptions"?
Did you even look?
Admin > Permissions > General Permissions > "Regular Members" > Use basic forum functionality > View Karma Log
Got it, thanks. I'm just a little slow.
::)
Great mod, I'm using it on 2.0 final now.
et
One issue I've had since the beginning: Notifications. If a user sets their profile to get a PM notification when they receive karma, there are the following issues:
1. Even though normal PMs get an e-mail notification, this PM does not. That is, expected: recipient receives a PM as well as an email with the PM notification. actual: recipient receives just the PM.
2. The e-mail is very poorly formatted and with broken links. Expected: a full working link to the user's karma log. Actual: Text and a link that says:
"Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=27"
That's not a link.
If PMs send e-mail notifications, then karma PMs should as well. The reason I care is because it drives user engagement, bringing a user to the site because another user has interacted with them.
Lastly, a request: which column in which table is the setting for notifications, and what are the values that map to PM notification? I would like to put together a script that just sets all users to PM notification (BONUS POINTS if you make it the default setting for new users!)
i.e. update profile_settings_table?
set karma_notification_type = 'value for PM'
no where statement, all users.
Mod works well on my board, only problem I've run into is that on the home page, the words "KARMA STATS" are enormous and up by my banner. Is there a quick fix for this?
It's fun to be as far gave the set to display the top positive and negative and not by default, only 5
I have a problem with "Today karma points". The count is wrong. How can I fix this? Thanks!
//Today karma points
$today_karma_points = db_query("
SELECT COUNT(*)
FROM {$db_prefix}log_karma
WHERE FROM_UNIXTIME( logTime, '%Y%m%d' ) = $date
",__FILE__, __LINE__);
$row = mysql_fetch_row($today_karma_points);
$context['today_point'] = stripslashes($row[0]);
mysql_free_result($today_karma_points);
Note: I'm using version 2.6.8 on SMF 1.1.11.
I tried to upgrade from 2.7 to 2.7.1 because my applauding doesn't work anymore, and I get the following error:
Install Mod
This package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Installations actions for "Karma Description Mod"
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I tried uninstalling 2.7 but it states:
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information.
I am running SMF 2.0.1. Any help would be appreciated!
use version emulate
I succesfully installed this mod, but with even activated the permission for my global moderators, they cannot view the karma log...
Quote from: davidhs on February 23, 2010, 02:40:45 PM
I completed the translation spanish_es (and spanish_es-utf8, of course ;) ) of KarmaDescriptionMod 2.6.7 (I have based on several translations already made)
<?php
// $themedir/languages/Admin.spanish_es.php - 1.1
// $themedir/languages/ManageMaintenance.spanish_es.php - 2.0
$txt['maintain_karmalog'] = 'Vaciar el log de Descripción del Karma';
$txt['maintain_karmalog_info'] = 'Elimina todo el log de Descripción del Karma';
$txt['maintain_karma_points'] = 'Establecer todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info'] = 'Establece todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info2'] = 'y borra todo el log de Descripción del Karma';
// $themedir/languages/ModSettings.spanish_es.php - 1.1
// $themedir/languages/ManageSettings.spanish_es.php - 2.0
$txt['karmadescmod'] = 'Habilita el Mod Karma Description';
$txt['karmamaxmembers'] = 'Usuarios por página en el log de Descripción del Karma';
$txt['karmalogview'] = 'Usa los nombres de los usuarios como enlace a sus perfiles';
$txt['karmapermiss'] = 'Permite a los usuarios ver el log de Descripción del Karma (Ver Permisos)';
$txt['karmalinks'] = 'Habilita los enlaces de karma en los perfiles de usuario';
$txt['karmaisowner'] = 'Inhabilita el log de karma completo a los usuarios, pero habilita el log de karma propio';
$txt['karmakarma'] = 'Muestra el karma(+/-) de los usuarios en el log de Descripción del Karma';
$txt['karmaurl'] = 'Habilita el campo "Dónde" en el log de Descripción del Karma';
$txt['karmaotherstat'] = 'Muestra otras estadísticas de karma';
$txt['karmasurv'] = 'Aplaudir o castigar a usuarios sin explicación';
$txt['karmawhatwrite'] = 'Escribe esto en el log cuando la explicación esta inhabilitada';
$txt['karmacensor'] = 'Censurar la descripción del karma';
$txt['karmatopicstarter'] = 'Los usuarios solo pueden modificar el karma del autor del tema';
$txt['karmanotifier'] = 'Habilita la notificación de karma';
$txt['karmaidmember'] = 'Envía MP desde este ID de usuario (por defecto 1)';
$txt['karma_pm_send_changelink'] = 'Envía por mensaje personal un enlace al mensaje donde se ha cambiado el karma';
$txt['karma_pm_send_link'] = 'Envía enlace al log de karma propio por mensaje personal';
$txt['karmacantmodify'] = 'IDs de usuario cuyo karma no puede ser modificado. <div class="smalltext">Separados por coma, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuario que no pueden modificar el karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Muestra pequeñas imágenes en lugar de las etiquetas de texto de karma de aplaudir y castigar';
$txt['karmapictureinlog'] = 'Muestra pequeñas imágenes en el log de Descripción del Karma en lugar + o - en el campo acción';
$txt['karmadelete'] = 'Elimina los puntos de karma de usuario cuando borre la descripción de los cambios en el log de Descripción del Karma';
$txt['karmalabellink'] = 'Usa etiquetas de karma como enlace al log de Descripción del Karma de los usuarios';
$txt['karmalastchange'] = 'Habilita últimos cambios de karma en el índice del foro';
$txt['karmalastchangenum'] = 'Número de descripciones en el índice del foro';
$txt['karmadescfieldnum'] = 'Cuántos caracteres habrá en el campo descripción en el índice del foro';
// $themedir/languages/Who.spanish_es.php
$txt['whoadmin_viewkarma'] = 'Viendo el <a href="' . $scripturl . '?action=viewkarma">log de Cambios en la Descripción del Karma</a>.';
$txt['whoall_modifykarma'] = 'Cambiando el Karma.';
// $themedir/languages/Help.spanish_es.php
$helptxt['karmapermiss'] = 'Por defecto esta opción está desactivada y el log de Karma solo lo pueden ver los administradores. Si quieres que el log de Karma disponible esté otros usuarios o moderadores, etc., habilita esta opción y dale el derecho de ver el log a ese grupo modificando los permisos.';
$helptxt['karmaotherstat'] = 'Muestra otras estadísticas de karma, como los usuarios más aplaudidos o los usuarios más castigados, y cosas así, del log de karma completo.';
$helptxt['karmalinks'] = 'Si habilitas esta característica, los usuarios verán dos enlaces en sus perfiles (propios o de otros usuarios). Podrán ver quien cambia su karma y a quienes se lo han cambiado. El Mod Karma Description debe estar habilitado';
$helptxt['karmakarma'] = 'Muestra el karma del usuario en el log de karma frente a su nombre de usuario. Por ejemplo: NombreUsario (+12/-8)';
$helptxt['karmaurl'] = 'Si habilitas esta opción, tu y tus usuarios podrán ver donde se modificó su karma.';
$helptxt['karmaisowner'] = 'Si habilitas esta opción, solo el propietario del perfil podrá ver los dos enlaces a su propio log de karma. Por otra parte, tus usuarios recibirán un error si introducen una dirección url (como http://your_forum.com/index.php?action=ownkarma;u=other_user) a mano si no deseas que tus usuarios puedan ver el log de karma de los demás usuarios. El log de karma completo se inhabilitará también. SOLO EL LOG DE KARMA PROPIO.';
$helptxt['karmanotifier'] = 'Si habilitas esta función, tus usuarios verán un campo más en sus perfiles en la sección \'Notificaciones y email\'. Esto dará la oportunidad de notificar a los usuarios cuando se modifique su karma, a través de dos formas: Mensaje en una ventana emergente y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si tus usuarios habilitaron la función de Notificación del Karma y eligen notificación por Mensaje Personal, lo recibirán desde este ID de usuario. Por ejemplo, si tienes ID_MEMBER=1 recibirán un MP de tu parte. Si fijas el ID de usuario a 0, tus usuarios recibirán un mensaje de parte del Administrador.';
$helptxt['karma_pm_send_link'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán un enlace a su log de karma propio.';
$helptxt['karma_pm_send_desc'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de karma.';
$helptxt['karma_pm_send_changelink'] = 'Si tus usuarios habilitan la función de Notificación de Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán enlace al mensaje donde se modificó su karma.';
$helptxt['karmacantmodify'] = 'Separados por comas, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados por comas, sin espacios.';
// $themedir/languages/index.spanish_es.php
$txt['karmaview'] = 'Cambios en la Descripción del Karma';
$txt['whykarmamod'] = 'Cambio de karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para cambiar el karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Por qué';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Cambios en la Descripción del Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Limpiar';
$txt['karma_delete_confirm'] = '¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_back'] = '< Volver';
$txt['karma_continue'] = 'Continuar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Abuchear)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En tema/post';
$txt['karmawhereurl2'] = 'En MP';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Páginas';
$txt['karma_profile_of'] = 'Ver perfil de';
$txt['sure_about_karma_remove'] ='¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Los 5 usuarios más aplaudidos';
$txt['karma_top_smite'] = 'Los 5 usuarios más abucheados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más aplaude a otros usuarios';
$txt['karma_max_smit'] = 'Usuario que más abuchea a otros usuarios';
$txt['karma_today'] = 'Puntos de karma de hoy';
$txt['karma_today_plus'] = 'Hoy "+"';
$txt['karma_today_minus'] = 'Hoy "-"';
$txt['karma_notifier'] = 'Tu karma ha sido cambiado en ';
$txt['karma_notifier2'] = ' puntos. ¿Deseas ver el log de descripción de karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado usuario. Tu Karma ha sido cambiado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro siguiendo este enlace:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Envía la razón en el mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón del cambio fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Últimos cambios de karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de karma';
// $themedir/languages/ManagePermissions.spanish_es.php
$txt['permissionname_karmalog_view'] = 'Ver el log de karma';
$txt['permissionhelp_karmalog_view'] = 'El log de Descripción del Karma muestra el karma de todos los usuarios, y una descripción sobre los aplausos o abucheos. Este permiso sólo funcionará si también lo tienes activado en \'Características y Opciones\'. Puedes acceder a la pantalla Descripción del Karma haciendo clic en el enlace de la sección \'Estadísticas de Karma\' en el índice del foro.';
// $themedir/languages/Errors.spanish_es.php
$txt['cannot_karmalog_view'] = 'Lo siento - no tienes los permisos apropiados para ver la lista de Descripción del Karma.';
$txt['viewkarma_error'] = 'El ID de usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo siento, él no es el autor del tema.';
$txt['karma_cant_modify'] = 'Lo siento, no puedes modificar el karma de este usuario.';
$txt['karma_cant_modify2'] = 'Lo siento, no puedes modificar el karma de otros usuarios.';
$txt['kdm_error'] = 'El Mod Karma Description está inhabilitado';
// $themedir/languages/Profile.spanish_es.php
$txt['who_change_my_karma'] = '¿Quién cambió mi Karma?';
$txt['whom_i_change_karma'] = '¿A quienes he cambiado el Karma?';
$txt['enable_notify'] = 'Notificarme cuando mi karma sea cambiado';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana emergente';
$txt['enable_notify_pm'] = 'Mensaje personal';
?>
and I found an English word in the code, which should be changed to variable language:
File: Viewkarma.template.php
Line: 122
Change:
<?php
if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>';
?>
For:
<?php
if ($user_info['is_admin']) echo ' <td align="center"><b>', $txt['deletekarma'], '</b></td>';
?>
Sorry, but I installed the mod on my forum, version 2.0.1 and I want to install it says "The package you're trying to download or install is corrupt or not compatible with your version of SMF.", I tried different ways and the result is always the same. someone could help me or guide are some solutions to do so.
By the way the mod you download the 2.7.1 which claims to be compatible with versions 2.0 and 2.0.1 or I'm wrong?
From already thank you very much!!
Just install in the 2.0 version and no problem. It will work fine.
Nice MoD be the way, at least it works, not like others...
I've some suggestions/questions.
Is it possible to make it only "add" karma and not allow to negative points? Yes, i know the concept of a karma is +/- but would like to have a system with just "+"
Then is it possible to display karma with xx amount of images and not number?
Also, would be possible to add a function for security that out or even with amount of time for next action of karma, another function that force member to give karma to different user before giving to the last one?
Out of that, nice mod since it work. Still testing in my forums. :P
Hello there
I am currently trying to install this mod to a forum with 2.0.1. The file isn't available and I'm not sure if I have to upgrade the forum again to get this to work? Any help is appreciated.
-m
Emulate 2.0 version in the package manager and install it.
It is written: "compatible with version 2.0.2" - it is not compatible.
Quote from: sdd on February 02, 2012, 02:29:10 PM
It is written: "compatible with version 2.0.2" - it is not compatible.
Go to Package Manager->Advanced(at bottom right corner) and change Emulate Version to 2.0
And try again. Don't forget to change Emulate Version back after install.
And don't forget to enable this mod(at "Core Features")
Hi what was modified in January? I already have 2.7.1 for several months and says that there were changes in 2012. What is it?
I have an idea
When enabled, the total karma is good if it was shown in posts, the total for the post and not the + / -
Downloaded this today, works great.
However, I want to change language so in which file do I do that and how do I do it?
Or, do someone have this mod translated to Swedish?
Or, the mod creator can send me what needs to be translated via PM, I'll fix it 8).
Thanks.
Apply Filter: Only show the error messages of this URL
http://**********/index.php?action=karmamessage;u=32
Apply Filter: Only show the errors with the same message
Ошибка базы данных: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND mes.id_msg =
LIMIT 1' at line 4
Apply Filter: Only show the errors from this file
File: /***********/htdocs/Sources/Viewkarma_smf2.php
Line: 440
DB Error if you click on view post karma and after that click on Karma Change Description
VERY BAD error. Indicates that author is putting GET contents directly to database query. Can be a security flaw.
If development of this mod is active, mod should be fixed or removed for security reasons!
How to have fun doing this modification:
How to fill in the relevant post it to such a possibility has already disappeared from the person for the same post
Any help on this? Thanks! I've been searching through the database and xml files and just CANNOT figure out what to update
Quote from: Leemy on July 28, 2011, 02:00:32 PM
Great mod, I'm using it on 2.0 final now.
et
One issue I've had since the beginning: Notifications. If a user sets their profile to get a PM notification when they receive karma, there are the following issues:
1. Even though normal PMs get an e-mail notification, this PM does not. That is, expected: recipient receives a PM as well as an email with the PM notification. actual: recipient receives just the PM.
2. The e-mail is very poorly formatted and with broken links. Expected: a full working link to the user's karma log. Actual: Text and a link that says:
"Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=27"
That's not a link.
If PMs send e-mail notifications, then karma PMs should as well. The reason I care is because it drives user engagement, bringing a user to the site because another user has interacted with them.
Lastly, a request: which column in which table is the setting for notifications, and what are the values that map to PM notification? I would like to put together a script that just sets all users to PM notification (BONUS POINTS if you make it the default setting for new users!)
i.e. update profile_settings_table?
set karma_notification_type = 'value for PM'
no where statement, all users.
Update: So I found where the notifier settings are, if anyone else reading this is looking for the information. It's in smf_themes with variable 'enable_notify'. What's frustrating is that I can't just set all users to '1' or '2': the only existing rows are those who updated it manually first. I guess i can remove the existing entries and create a new row for each user with the variable. I wish this was a column in smf_members!! That would make a lot more sense.
Many user options are stored in the themes table like that...especially mod settings. It does not require any new tables or columns, and h code already supports inserting values into the themes table
would it be possible to make it so that is optional for users to input a reason?
There should be no possibilities thank one person for the same post
today I found strange thing... user can add karma points for himself. This is how this mod works or I just cant see proper setting?
Quote from: phantomm on April 03, 2012, 02:15:02 PM
today I found strange thing... user can add karma points for himself. This is how this mod works or I just cant see proper setting?
This can be disabled using the forum admin.
I've searched everywhere, but I can't see this setting :|
There is only "Users can change only topic's starter karma", but then users who reply in topic can't receive points
How to enable "Set reason for karma" ?
Can't parse for 2.02 is this compatible ?
Kinda stupid question but I want to minimise all the ifs in this block of code that I've redone the HTML of...
//Karma Description Mod
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmainmessage']))
{
if (($context['karma_message_plus']!=0) || ($context['karma_message_minus']!=0))
{
if (!empty($modSettings['karmainmessagelink']))
{
echo '<a href="'. $scripturl . '?action=karmamessage;u='. $message['member']['id'] .';topic=', $context['current_topic'], ';m=', $message['id'], '"> +'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'].'</a>';
}
else
{
echo '+'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'];
}
}
}
What do they mean? What does each one do exactly? I get the first one checks that the settings are on, and the second makes sure there's more or less than 0 for either karma, but what's the third one do?
Hello fellow Simple Machiners,
I have recently installed the Karma Description Mod. No errors, works perfectly fine. When i click on to a user profile -> click either the "Who Changed my Karma" or "Who's Karma have i changed" link, it will show the Karma info outside the normal main frame.
Screenshot attatched
The lower part (Users online , search , recent topics) is actually ment to be on the right side.
Details of what I have installed
SMF version 2.0.2,
Core theme
TinyPortal 1.107
Karma Buttons 1.1
YouTube BBCode 2.6
Activity in Profile 1.1
Copyright and Footer Links 3.2
Custom Greeting Mod 1.1.1
Avatar Verification 1.4.4
Karma Description Mod 2.7.1
I would appreciate any assisatnce in this matter
Thanks
this thing is driving me crazy... i installed the mod without uninstalling Karma Buttons v1.1, now my karma is all messed up
here is my forum: c4gnation.com
i've uninstalled the karma buttons mod, only the Karma Description Mod is installed now
please help me fix this, thanks
anyone help with the issue above, much thanks
How comes this tells me that it's not compatible with my SMF version when it states it's for 2.0.2?
@freakydeaky
Nice Forum & Nice Car. ;)
I have a question, how would I open this for all members? cause right now, only administrator can use my karma mod.
is there a way to allow groups (other than admin) have the ability to delete karma comments?
I would like my Global Moderators to have access to moderate the Karma comments.
Quote from: Jade Elizabeth on July 01, 2012, 02:36:46 AM
Kinda stupid question but I want to minimise all the ifs in this block of code that I've redone the HTML of...
//Karma Description Mod
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmainmessage']))
{
if (($context['karma_message_plus']!=0) || ($context['karma_message_minus']!=0))
{
if (!empty($modSettings['karmainmessagelink']))
{
echo '<a href="'. $scripturl . '?action=karmamessage;u='. $message['member']['id'] .';topic=', $context['current_topic'], ';m=', $message['id'], '"> +'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'].'</a>';
}
else
{
echo '+'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'];
}
}
}
What do they mean? What does each one do exactly? I get the first one checks that the settings are on, and the second makes sure there's more or less than 0 for either karma, but what's the third one do?
In the Karma notification, I see:
Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2
The reason of changing was: Thank you!
How do I fix the link?
Quote from: Goad on August 02, 2012, 07:45:04 AM
is there a way to allow groups (other than admin) have the ability to delete karma comments?
I would like my Global Moderators to have access to moderate the Karma comments.
I need that as well. Can someone help me with this?
Quote from: Ix Soulcist xI on July 13, 2012, 04:40:30 AM
How comes this tells me that it's not compatible with my SMF version when it states it's for 2.0.2?
I get this too.
I'm having an issue with new members, when the register they automatically get +100 applauds in their Karma. This just started happening, it may be related to this mod??
this is the list of my current installed mods.
I want to set it to ZERO so new member are 0 / 0
1. Karma Description Mod 2.7.1
2. Countdown BBCode 2.0.1
3. Referrals System 3.0.3
4. Adk Top Karma 1.0
5. Ad Seller Pro 1.0.12
6. Separate the sticky topics 1.0.0
7. FancyBox 4 SMF 0.2.1
8. markItUp! for SMF 0.4.2
9. SMF 2.0.2 Update 1.0
10. Join date and Location in Posts 1.2
11. Customize *Child Board* | S-Ace & Eudemon 2.4
12. InLine Attachments 1.11
13. Aeva ~ Auto-Embed Video & Audio 7.1
14. Stop Forum Spam 1.0
15. Custom Board Sort 1.0.2
16. Ad Managment 3.0.1
17. NChat 1.3
18. Users Online Today 2.0
19. Custom Copyright 1.0.2
20. Google Analytics Code 1.4
21. Hide Images from Guests 2.0
22. SMF 2.0.1 Update 1.0
23. Report BBCode 1.0
Great mod. But, instead of being taken to a new page when stating a description, can we have a popup showup? Thanks.
Oh can you also tell me how to bold the karma label? Just the "Karma:" not the score. Thanks.
And one last thing, is it possible to integration the statistic with the mod cp?
Also, I think there's a bug with the delete button, why is it up there? I tried fixing it using margin, but that's obviously not always going to work.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F6rsgog.png&hash=6530cb65c91ac697a550930d661df18260b05ffe)
How do I disable karma for administration. I know about entering the member ID, but I don't want the label to display at all for admins, it's obviously not necessary if their karma is not modifiable.
Something along the lines of?:
elseif (!$user_info['is_admin'])
echo '';
Grek,
Your mod won't install under 2.0.2 unless you go to Advanced and emulate 2.0.0. You ought to fix that so it isn't necessary. I'm training some newbies on a test forum and they got completely stumped when I told them to install this mod. :)
Quote from: shazoo! on August 10, 2012, 09:36:49 AM
In the Karma notification, I see:
Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2
The reason of changing was: Thank you!
How do I fix the link?
Anyone have an idea of how to fix this? I'm sure it's probably something simple
I see it's referencing "$scripturl" before "?action=ownkarma;u=2".... where can I go to verify my scripturl is present?
Hello
I've installed without any errors on SMF 2.0.4 by emulating 2.0 version
everything's normal, yet again when someone looks at his profile the following message shows up in the top of the page
//Karma Descriprion Mod $txt['whoadmin_viewkarma'] = 'Viewing Karmachange Description log.'; $txt['whoall_modifykarma'] = 'Changing karma.';
no errors on the error log, and I can't track it for some reason on cpanel, tried everything on sources/load and themes/default/languages
it looks like one of the language files gort updated incorrectly.
Look at this mod - find which language files it edits... confirm that each (and every) one of those files has the ?> as the FINAL THING in the file. NOTHING should be after that... not a space, not a carriage return... nothing.
If the ?> is higher in the file... move it to the end
Quote from: shazoo! on June 02, 2013, 06:37:43 AM
Quote from: shazoo! on August 10, 2012, 09:36:49 AM
In the Karma notification, I see:
Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2
The reason of changing was: Thank you!
How do I fix the link?
Anyone have an idea of how to fix this? I'm sure it's probably something simple
I see it's referencing "$scripturl" before "?action=ownkarma;u=2".... where can I go to verify my scripturl is present?
Can anyone help me with this issue?
Quote from: Kindred on July 10, 2013, 12:40:26 PM
it looks like one of the language files gort updated incorrectly.
Look at this mod - find which language files it edits... confirm that each (and every) one of those files has the ?> as the FINAL THING in the file. NOTHING should be after that... not a space, not a carriage return... nothing.
If the ?> is higher in the file... move it to the end
Thanks!
After researching it was in $themedir/languages/Who.english.php which I'd never expect to look there
I have no idea why the file didn't update with the ?> in the end of the file
Quote from: shazoo! on July 10, 2013, 06:46:55 PM
Quote from: shazoo! on June 02, 2013, 06:37:43 AM
Quote from: shazoo! on August 10, 2012, 09:36:49 AM
In the Karma notification, I see:
Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2
The reason of changing was: Thank you!
How do I fix the link?
Anyone have an idea of how to fix this? I'm sure it's probably something simple
I see it's referencing "$scripturl" before "?action=ownkarma;u=2".... where can I go to verify my scripturl is present?
Can anyone help me with this issue?
How can I make the message include the beginning of the URL?
It's showing only ?action=ownkarma;u=2, so I have to figure out why it's not placing "http://www.website.com/forum/index.php" in front of that. Any ideas for me to try?
Congrats on the MOD. This making the biggest success in my forum
Installed and working perfectly in SMF 2.0.5
It's working on my forum version 2.0.5. Thanks for the mod :D
Edit: Also works on 2.0.6!
At certain places in my forum (such as Who's Online) users see text relating to this mod at the top of their page. Here is an example:
//Karma Descriprion Mod $txt['whoadmin_viewkarma'] = 'Viewing Karmachange Description log.'; $txt['whoall_modifykarma'] = 'Changing karma.'; //Karma Descriprion Mod $txt['whoadmin_viewkarma'] = 'Viewing Karmachange Description log.'; $txt['whoall_modifykarma'] = 'Changing karma.';
Any idea what is going on here or how to fix it?
Quote from: makv on November 29, 2013, 06:54:14 AM
At certain places in my forum (such as Who's Online) users see text relating to this mod at the top of their page. Here is an example:
//Karma Descriprion Mod $txt['whoadmin_viewkarma'] = 'Viewing Karmachange Description log.'; $txt['whoall_modifykarma'] = 'Changing karma.'; //Karma Descriprion Mod $txt['whoadmin_viewkarma'] = 'Viewing Karmachange Description log.'; $txt['whoall_modifykarma'] = 'Changing karma.';
Any idea what is going on here or how to fix it?
Ah, got it. The Who.english.php file was hosed as per a post a page or so back. Move the ?> to the end of the file and that did it.
Is there a way to make it so the karma description is optional? I have some members who don't like to put in descriptions, while others would like to have the option of putting a description in
Quote from: bros on February 19, 2014, 06:40:14 PM
Is there a way to make it so the karma description is optional? I have some members who don't like to put in descriptions, while others would like to have the option of putting a description in
Check this in karma settings - "Change karma without explanation"
Quote from: Grek.Kamchatka on February 19, 2014, 07:29:09 PM
Quote from: bros on February 19, 2014, 06:40:14 PM
Is there a way to make it so the karma description is optional? I have some members who don't like to put in descriptions, while others would like to have the option of putting a description in
Check this in karma settings - "Change karma without explanation"
That makes it so nobody can give an explanation.
What happens with my current karma totals for each member when I install this mod on a forum that only has the basic SMF v2 karma (from Core features) turned on?
Some members have over 5000 'karma_good' points, will these totals be kept after I install this mod?
Currently in 'log_karma' table there is only one row that gets overwritten over and over and all the karma totals are kept in 'karma_good' and 'karma_bad' in 'members' table. Will all my members lose those totals and will have to start over?
Thank you for clarification :)
EDIT: Installed - previous karma totals in 'members' table ('karma_good' and 'karma_bad') got kept :)
it's not uninstalling !!..... :(
Help needed,..
saying no uninstaller found,..contact mod author
Quote from: Jade Elizabeth on July 01, 2012, 02:36:46 AM
Kinda stupid question but I want to minimise all the ifs in this block of code that I've redone the HTML of...
//Karma Description Mod
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmainmessage']))
{
if (($context['karma_message_plus']!=0) || ($context['karma_message_minus']!=0))
{
if (!empty($modSettings['karmainmessagelink']))
{
echo '<a href="'. $scripturl . '?action=karmamessage;u='. $message['member']['id'] .';topic=', $context['current_topic'], ';m=', $message['id'], '"> +'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'].'</a>';
}
else
{
echo '+'.$context['karma_message_plus'].'/-'.$context['karma_message_minus'].$txt['karma_count'];
}
}
}
What do they mean? What does each one do exactly? I get the first one checks that the settings are on, and the second makes sure there's more or less than 0 for either karma, but what's the third one do?
wont install in 2.0.7 says not compatible
http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Quote from: blunted on April 17, 2014, 04:03:59 PM
wont install in 2.0.7 says not compatible
Quote from: Kindred on April 17, 2014, 09:48:30 PM
http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Blunted, emulate version 2.0 and you should be golden
Nice Mod, except for the display position issue with Tinyportal that was reported earlier.
Since I a running a completely dutch forum, I created a full translation for the text files to Dutch.
I attached the "language_dutch.xml" file.
This can be added to the install . zip file, just add following lines in the "package-info.xml" and it installs and de-installs with the rest...
Quote<modification type="file" format="xml">language_english.xml</modification>
<modification type="file" format="xml">language_english_utf8.xml</modification>
<modification type="file" format="xml">language_dutch.xml</modification>
and
Quote<modification reverse="true">language_english.xml</modification>
<modification reverse="true">language_english_utf8.xml</modification>
<modification reverse="true">language_dutch.xml</modification>
It would be nice to get the screen layout in the profile fixed when combined with Tinyportal...
I have an error, I can't found it anywhere in Display.template.php.
As from the image there is two lots of links
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfhacks.com%2Findex.php%3Faction%3Ddlattach%3Btopic%3D8750.0%3Battach%3D4745%3Bimage&hash=e0e086ccf753ad633b27a115dce301ceda0b80de)
Want to remove one of them
Hi there,
First off, this is a great and useful mod!
I just have a minor problem:
If I am going to delete an entry, it does not redirects me correctly to the previous page (I guess it should go there, right?). This is what I get in the Error log:
---------/index.php?action=viewkarma
8: Undefined index: sort
File: ----/Sources/Viewkarma_smf2.php
Line: 535
---------/index.php?action=viewkarma
8: Undefined index: start
File: ----/Sources/Viewkarma_smf2.php
Line: 535
Offending line is:
redirectexit('action=viewkarma;start=' . $_GET['start'] . ';sort='. $_GET['sort'].';' . (isset($_GET['desc']) ? 'desc' : 'asc') . '');
We are on SMF 2.0.11.
It would be cool if there is a solution for this.
Are people still using this mod? Our forum has always had it but I am reluctant to reinstall it again as it hasn't been updated for three years. We just upgraded to 2.0.14.
why would that matter? Most mods which work on 2.0.x will work on any other 2.0.x with little, if any, need for further modification
Karma Description Mod v2.8
*Minor fixes.
*Update database install script.
*Add new indexes for karma table.
*Fix columns delete when uninstall mod if needed.
*Fix install script for MySQL 5.7 and newer.
*Force karma enabled when mod installed.
*Mod tested with SMF 2.0.15 and PHP 7.0.
Karma +3/-4 in member profile at left side
Want to change "Karma" word to something else, can't able to see in language files Default/theme/language
please guide
Where's the footer copyright? We've been through this before...
He's hoping that we don't remember him from the copyright discussion 2 years ago... and also before that... and before that.
I am getting a blank page on Karma Change description as a regular user. It works fine as an admin, but not as a regular user. Help appreciated
I finallly figured it out. Both the Karma log box and the show Karma to users boxes have to be ticked on.
Quote from: shazoo! on August 15, 2013, 08:54:11 AM
Quote from: shazoo! on July 10, 2013, 06:46:55 PM
Quote from: shazoo! on June 02, 2013, 06:37:43 AM
Quote from: shazoo! on August 10, 2012, 09:36:49 AM
In the Karma notification, I see:
Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2
The reason of changing was: Thank you!
How do I fix the link?
Anyone have an idea of how to fix this? I'm sure it's probably something simple
I see it's referencing "$scripturl" before "?action=ownkarma;u=2".... where can I go to verify my scripturl is present?
Can anyone help me with this issue?
How can I make the message include the beginning of the URL?
It's showing only ?action=ownkarma;u=2, so I have to figure out why it's not placing "http://www.website.com/forum/index.php" in front of that. Any ideas for me to try?
I know this post is old but I got the same error after installing it just a few days ago. So I guess this issue never got fixed and probably not affecting most of the users.
So, I did some debugging and figured out some variables (
$scripturl and
$context in my case) are not working correctly within the language files. So I moved these calls to
Karma.php file.
Also, by some reason, both $context and
$modSettings were surrounded by
isset() and were returning "1" in my case. I remove this check and put actual values instead.
I attached a quick patch I created, which fixed these issues for me (I haven't been able to make it work for non-UTF Russian translation - sorry guys :) ).
Hello: I am getting this error:
Notice: Undefined index: karma_profile_of ... on line 67 of Viewkarma.template.php
Any idea about how to solve it? ... Or where to start looking for the issue?
echo '</td>
LINE 67 <td width="14%" align="center"><a href="' . $scripturl . '?action=profile;u=' . $member['id_targ'] . '" title="' . $txt['karma_profile_of'] . ' ' . $member['target'] . '">' . $member['target'] . '</a>';
if (!empty($modSettings['karmakarma'])) {
if ($modSettings['karmaMode'] == '1') {
echo ' <span class="smalltext">(', $member['targetkarmagood'] - $member['targetkarmabad'], ')</span>';
} else {
echo ' <span class="smalltext">(+', $member['targetkarmagood'], '/-', $member['targetkarmabad'], ')</span>';
}
}
Thanks a lot!