News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Karma based membergroups.

Started by _Anthony_, July 05, 2009, 03:31:26 AM

Previous topic - Next topic

hobox

Quote from: pointalk on January 16, 2010, 11:57:48 PM
Please compatible with smf 1.1.x

I would so love it to work for SMF 1.1.x as well.

Is it that hard to modify this to work with the older version?

_Anthony_

Quote from: hobox on February 13, 2010, 07:44:58 AM
Quote from: pointalk on January 16, 2010, 11:57:48 PM
Please compatible with smf 1.1.x

I would so love it to work for SMF 1.1.x as well.

Is it that hard to modify this to work with the older version?
It should be EASILY portable to 1.1.x just look at the code and try yourself.

Quote from: MrCreatoR on February 11, 2010, 06:10:08 AM
Nice mode.

But i found major bug: When the karma is under 0, the member is "marked" as other group, as the last one in the list i think.

And also, this mode should be added as optional, not replacing the option to set groups by posts count (what if i want to make one group by posts, and other by karma, or what if i want to switch back to posts based groups?).
With your major bug it's simply that the membergroup is set up to handle 0 whereas your values are going below 0, just change the lowest membergroup to go like -50 and see if that helps.
And for the suggestion: I don't really work on this, if someone wants to take over development they can go right ahead but I won't be working on it anymore.

Cuber

If there is anybody who can port this to 1.1.11 I would love to use it.

Not good with coding, otherwise I would have tried.
Happy Gamin'!©

Shorti25

Quote from: Cuber on March 14, 2010, 09:30:43 AM
If there is anybody who can port this to 1.1.11 I would love to use it.

Not good with coding, otherwise I would have tried.
me too
is there anybody to make it compatible with 1.1.11 please

i tried for myself, but only got errors

Shorti25

i tried for myself to convert this mod for 1.1.11, but nothing wont work

held please

tony_gt


_Anthony_


Claine

Is there any way for this mod to have usergroups for members with negative Karma.  For example someone with +1000 Karma could be
"Superhero" and someone with -1000 Karma could be "Super-villain".

_Anthony_

Quote from: Claine on June 20, 2010, 12:00:05 PM
Is there any way for this mod to have usergroups for members with negative Karma.  For example someone with +1000 Karma could be
"Superhero" and someone with -1000 Karma could be "Super-villain".
Yeah you just add it as a negative. I'm pretty sure at least.

Claine

Nah when I tried, it just deleted the negative sign.  I put -1000, but when I'm finished editing the group, it just shows up as '1000' on the member groups page.

_Anthony_

Hmm, If I have time I will try to figure it out later.

Verbist

Anthony,

Thanks for this MOD, it's going to be a life-saver for me! I had the same problem as Claine, though, of wanting to input negative karma values and it showing up as a positive number. Users with a negative total karma don't appear in any membergroup at all. It sounds like you're busy, but I'd be grateful and willing to pay a small amount if you could find time to look at this.

Thanks!

_Anthony_

Quote from: Verbist on July 10, 2010, 08:15:01 PM
Anthony,

Thanks for this MOD, it's going to be a life-saver for me! I had the same problem as Claine, though, of wanting to input negative karma values and it showing up as a positive number. Users with a negative total karma don't appear in any membergroup at all. It sounds like you're busy, but I'd be grateful and willing to pay a small amount if you could find time to look at this.

Thanks!
I will have some free time next weekend so I will look at it then.

AMWebby

I created a version of this for my forum, running SMF 1.1.15

I've attached it to this post. It works on 1.1.5 but I can't test it on earlier versions.

Werldklass

I like this mod.

But I have a problem.
แนะนำเว็บไซต์ Honda Jazz Club แห่งใหม่ เป็นเว็บไซต์สำหรับกลุ่มผู้ใช้ Honda Jazz 2014 [nofollow] โดยเฉพาะ ไม่ว่าจะเป็นข้อมูลวันเปิดตัว, ราคา, สเปค, การจอง, โปรโมชั่น ฯลฯ

ส่วนใครที่สนใจ Honda City 2014 [nofollow] สามารถติดตามข่าวและเข้ามาพูดคุยแลกเปลี่ยนความคิดเห็นได้ที่เว็บไซต์ของเรา ส่วนจะเปิดตัวเมื่อไรนั้นรอติดตามได้เลย

Arantor

It would be useful if you said what the problem was.
Holder of controversial views, all of which my own.


MrCreatoR

Still there is a problem with this mod...
QuoteWhen the karma is under 0, the member is "marked" as other group, as the last one in the list i think.
and also, when i changing specific group in Admin panel, i got an error:
QuoteBIGINT UNSIGNED value is out of range in '(`my_forum`.`smf_members`.`karma_good` - `my_forum`.`smf_members`.`karma_bad`)'
File: /var/www/.../web/Sources/Subs.php
Line: 423
it's all related to the same problem with counting the good and bad karma.

Is anyone have an idea on how to fix it?

MrCreatoR

Ok, it can be fixed if we replace this:
WHEN (karma_good - karma_bad)
with this:
WHEN karma_good >= karma_bad AND (karma_good - karma_bad)
in modification.xml file.

Should solve the problem.

confuseamuse

Does this mod work on 2.0.14?

confuseamuse

For some reason, I can't edit my last post.

I would like to know if you can create groups for negative karma. It's not a big deal if you can't.

But I'm assuming since this mod essentially changes the post to karma, it works off the logic that a user can't have negative posts, which is a shame.


Advertisement: