I think it's time to start removing some of the bloat in Drigg.

One way to do this is to remove the dependency for User Karma. Since the User Karma description is remarkably vague, it is difficult to understand what role it plays in Drigg. From the various setting presented on my drupal site, I figure User Karma is mainly a point system for monitoring user activity.

For my uses, I don't need a distinct user activity module. It seems Voting API should be able to handle vote count on scoops, and Extra Voting Form should be able to connect the user to Voting API. It seems like Voting API + Extra Voting Form should be all that is needed for users to vote up scoops.

Comments

alliax’s picture

Yes, I guess that's something to do with creating a social site, where users interacts with each other and thigns like that. But I tend to keep my drigg sites very simple, I'm afraid allowing too much will allow some sort of fraud. I don't know, but as you said this user karma is very vague.

mercmobily’s picture

Hi,

I am the original author, trying to chip in...

I don't actually think that User Karma (which is a great module) is actually a _requirement_ for drigg.
It should be totally independent... I can't think of a section of Drigg that won't work is User Karma is not installed.

Can you give it a go?

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

I checked and rechecked, User Karma is not a requirement for Drigg. You were right, the dependency shouldn't be there in the first place.
The only module that actually needs user_karma is drigg_users , a sub-module of drigg. added the dependency there (ironically, it wasn't there).

This should be fixed now.
109 issues left. Yay...

Merc.

philbar’s picture

Status: Fixed » Active

Hey Merc,

Welcome back!

Any chance you can clarify the function of User Karma? You can write it on the project page (update it from 2007) and just link to it here so we know when there is something to read.

I'm still not sure what User Karma does.

alliax’s picture

I think user karma is simply like module user_points which gives points/karma to users depending on what they do (you can control that) and then after you can use this karma/points to allow them to do more things compared to other users, display a list of best users, and things like that.
Quite useful to develop a sense of community and an incencitive to contribute, but useless in my own sites where I don't even display user's profiles and users cannot see what scoops other members have submitted.

philbar’s picture

I disabled User Karma, and now my voting forms don't show that my users have voted on them (e.g. The form shows a clickable button, even though it should be disabled since they already voted). They tally count remains, but it appears all user specific functionality has been stripped.

I checked and rechecked, User Karma is not a requirement for Drigg. You were right, the dependency shouldn't be there in the first place.
The only module that actually needs user_karma is drigg_users , a sub-module of drigg. added the dependency there (ironically, it wasn't there).

Are you sure? What would I be doing differently? I'm using Drigg and Drigg UI 6.x-dev.

Furthermore, I had to manually remove the dependencies[] = userkarma from Drigg and Drigg UI info files. Did you update the codebase when you fixed this issue?

I believe I have the most recent code. My update.module says I do.

philbar’s picture

Nevermind. I accidentally deleted my voting form, and the default isn't clear after a user has voted (it just blurs the up arrow).

It works, but still needs the dependencies[] = userkarma removed.

How do I display who has voted on the node? I believe I had a tab there at one point in time. Is that, per chance, in the Drigg User module?

mercmobily’s picture

Status: Active » Fixed

Hi,

There is a link to User Karma in Drigg's home page. And the User Karma project says what it does... Maybe it's not 100000% clear and it's a *little* too technical, but it's there...!

Merc.

philbar’s picture

Thanks.

Commit #220322 by mercmobily at 17:06

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

wwwoliondorcom’s picture

Hi,

Can you tell me if it works perfectly to disable user karma ?

And where to remove dependencies[] = userkarma ?

I'm having memory problems with my drigg website and trying to get rid of everything that is not essential.

Thanks.

feconroses’s picture

same here! im trying to remove everything that its not essential for better performance.