News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Karma Description Mod

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

Previous topic - Next topic

perplexed

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*

Grek.Kamchatka

Repeate. It will be in new version.


SleePy

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?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Grek.Kamchatka

Hi, SleePy. You can delete uncensored description by clicking on delete button. But i can made a standart forum censoring function. Is it need?

SleePy

#245
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.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Grek.Kamchatka

Yep, you are right. It's standart SMF function. Use it

California Dreamin

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



Grek.Kamchatka

Admin-Feautures and Settings-Karma-Enable Karma Description Mod

California Dreamin

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

Grek.Kamchatka

#250
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.

Grek.Kamchatka

KDM 1.9.5 now available. Enjoy!

perplexed

#252
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

Grek.Kamchatka

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.

perplexed

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

Grek.Kamchatka

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...

perplexed

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. :(

Grek.Kamchatka

#257
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

perplexed

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.


Grek.Kamchatka

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:"

Advertisement: