News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Advanced Reputation System

Started by Fustrate, March 25, 2008, 12:51:10 PM

Previous topic - Next topic

Nick Whetstone

Quote from: waruna on February 20, 2010, 10:03:54 AM
Ok smooth installation. Thanks!

But please help. I have two questions:

1. Is it possible if I wanted only those who have reach 200 posts can give reputation?
2. How to disable View Reputation in Profile Info -> View Reputation for regular members? I wanted only Admin who can see them.

Thanks in advance

1. Just be sure to have a posting membergroup with 200 posts set as the requirement. Then, just set the "Change other people's karma", "Can -reputation other users", and "Can +reputation other users" permissions for that group.
2. Look for this in Profile.template.php :
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
Code (Replace the above with this...) Select
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
isAllowedTo('admin_forum');
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

waruna

Ok thanks Mr. Ha. It works. ;).

I can't understand the Add Reputation function. I mean when I give reputation to someone by clicking at the heart icon, seems like nothing's happened.
Trust of Lust

Matthew K.

When you click the heart icon, it should activate a javascript popup window, then you can submit a reputation item.

waruna

Quote from: Labradoodle-360 on February 20, 2010, 03:20:59 PM
When you click the heart icon, it should activate a javascript popup window, then you can submit a reputation item.

Yes it does. But when I check their profile, the reputation still same, nothing changed  :-\. I guess I have to read all over the pages to understand how this mod works.

One more thing, I try to set user can get 5 points per thread started. And I just realize that when a topic got deleted, the points doesn't automatically deducted?
Trust of Lust

Nick Whetstone

The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

waruna

Quote from: Ha² on February 20, 2010, 09:41:12 PM
In short: no, the points are not deducted AFAIK.

Ok thanks Mr. Ha for the explanation.

I just disabled point per post but the other function such as point per thread works perfectly.

Except this one. Everytime I give reputation by clicking at the heart icon, either disagree or agree and click submit, the popup shows reputation has been sent. But the user's reputation doesn't change at all. Have I done something wrong?

Thanks in advance.
Trust of Lust

waruna

#1846
Just ignore my post above. It works now. The only thing left is I don't want users to give -ve Rep to others. I already untick the "Can give -ve" permission but they still can see and check the -ve Rep button.

And also, how to change users will gain 1 point for every 5 thread started instead of 1 thread = 1 rep?
Trust of Lust

Nick Whetstone

Quote from: waruna on February 21, 2010, 05:27:15 AM
Just ignore my post above. It works now. The only thing left is I don't want users to give -ve Rep to others. I already untick the "Can give -ve" permission but they still can see and check the -ve Rep button.

And also, how to change users will gain 1 point for every 5 thread started instead of 1 thread = 1 rep?

For the second thing, set the per-thread point setting to .2 instead of 1.

For the first problem, I will look into it.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

waruna

Trust of Lust

waruna

#1849
Can anyone help? I already set:

'How many times a day can a person give reputation?' = 10
'How many people does a user have to give reputation to before they can repeat a person?' = 3

Please see the attachment.

But the problem is the function just won't work. All users can give reputation as much as they want, like no limit at all. Have I done something wrong?

Thanks in advance

Trust of Lust

waruna

Anyone?. :D ..

Additional Question:
How to prevent regular members from viewing index.php?action=reputation? I wanted only Admin who can see the page.
Trust of Lust

hobox

Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*

Nick Whetstone

Quote from: waruna on February 23, 2010, 04:53:06 AM
How to prevent regular members from viewing index.php?action=reputation? I wanted only Admin who can see the page.

Did you try this suggestion?
Quote from: hobox on February 24, 2010, 02:43:03 AM
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
It may be possible, though it would likely expand the Mod by 30-40% alone, so as for know, this is not planned. Though, I will keep it in mind for future versions of the Mod. Sorry.

There is a Mod that replaces post-count-based groups with karma-based groups for 2.0, but not any for 1.1.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

waruna

Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Trust of Lust

rock91

Hey Ha2 , noticed the two corrupted files in the image? Is this normal? Could this be cause by another mod?




1.     PageRank BBCode      1.5      [ Install Mod ]  [ List Files ]  [ Delete ]
2.    Word Description    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Signature Area BBCode Buttons    1.7    [ Uninstall ] [ List Files ] [ Delete ]
4.    AutoKeywords    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Advanced Reputation System    1.8.1    [ Install Mod ] [ List Files ] [ Delete ]
6.    Spoiler Tag    0.7a    [ Uninstall ] [ List Files ] [ Delete ]
7.    Move Old Topics    1.3.5.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    Auto Merge Double Post    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Twitter and Facebook Publisher mod    2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    SideSparks Chat Integration    1.2.1    [ Install Mod ] [ List Files ] [ Delete ]
11.    Floating Bar Mod    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
13.    AvatarSelect    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    Google Verification META Tag    1.101    [ Uninstall ] [ List Files ] [ Delete ]
15.    Karma Description Mod    2.6.7    [ Uninstall ] [ List Files ] [ Delete ]
16.    Animated_BBC_expando    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Custom Copyright    1.2    [ Uninstall ] [ List Files ] [ Delete ]
18.    Ultimate Profile    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    Countdown_BBCode    1.2    [ Uninstall ] [ List Files ] [ Delete ]
20.    Global Headers Footers    2.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Thank-O-Matic    2.0 RC1.3    [ Install Mod ] [ List Files ] [ Delete ]
22.    SMF Trader System    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
23.    Signature Settings Mod    1.1    [ Install Mod ] [ List Files ] [ Delete ]
24.    Best 3    0.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Delete Spam Posts    1.3    [ Install Mod ] [ List Files ] [ Delete ]
26.    Spoiler BBCode    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
27.    Highslide Image Viewer    1.6    [ Uninstall ] [ List Files ] [ Delete ]
28.    Top 10 Posters and Topic Starters Stats (Today, This Week, This Month)    2.4.2    [ Uninstall ] [ List Files ] [ Delete ]
29.    EzPortal    0.3.6    [ Uninstall ] [ List Files ] [ Delete ]
30.    No BBC    1    [ Uninstall ] [ List Files ] [ Delete ]
31.    Active Members In Topic    1.8    [ Uninstall ] [ List Files ] [ Delete ]
32.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
33.    Next Post Level    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
34.    TopicStarter Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
35.    Mark_Reader_Name    1.1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
36.    unboldnews    2.0    [ Install Mod ] [ List Files ] [ Delete ]
37.    Image Quote Removal Package    1.1    [ Uninstall ] [ List Files ] [ Delete ]
38.    Topic_Locked_Message    2.1    [ Uninstall ] [ List Files ] [ Delete ]


Click to join :D ... Let's become Otaku!
My Theme : Elusion Bleach

Nick Whetstone

Quote from: waruna on February 24, 2010, 09:45:01 AM
Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Try opening up /Sources/Karma.php and finding this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;

Replace that with this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
   isAllowedTo('admin_forum');







Quote from: rock91 on February 24, 2010, 01:50:39 PM
Hey Ha2 , noticed the two corrupted files in the image? Is this normal? Could this be cause by another mod?




1.     PageRank BBCode      1.5      [ Install Mod ]  [ List Files ]  [ Delete ]
2.    Word Description    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Signature Area BBCode Buttons    1.7    [ Uninstall ] [ List Files ] [ Delete ]
4.    AutoKeywords    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Advanced Reputation System    1.8.1    [ Install Mod ] [ List Files ] [ Delete ]
6.    Spoiler Tag    0.7a    [ Uninstall ] [ List Files ] [ Delete ]
7.    Move Old Topics    1.3.5.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    Auto Merge Double Post    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Twitter and Facebook Publisher mod    2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    SideSparks Chat Integration    1.2.1    [ Install Mod ] [ List Files ] [ Delete ]
11.    Floating Bar Mod    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
13.    AvatarSelect    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    Google Verification META Tag    1.101    [ Uninstall ] [ List Files ] [ Delete ]
15.    Karma Description Mod    2.6.7    [ Uninstall ] [ List Files ] [ Delete ]
16.    Animated_BBC_expando    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Custom Copyright    1.2    [ Uninstall ] [ List Files ] [ Delete ]
18.    Ultimate Profile    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    Countdown_BBCode    1.2    [ Uninstall ] [ List Files ] [ Delete ]
20.    Global Headers Footers    2.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Thank-O-Matic    2.0 RC1.3    [ Install Mod ] [ List Files ] [ Delete ]
22.    SMF Trader System    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
23.    Signature Settings Mod    1.1    [ Install Mod ] [ List Files ] [ Delete ]
24.    Best 3    0.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Delete Spam Posts    1.3    [ Install Mod ] [ List Files ] [ Delete ]
26.    Spoiler BBCode    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
27.    Highslide Image Viewer    1.6    [ Uninstall ] [ List Files ] [ Delete ]
28.    Top 10 Posters and Topic Starters Stats (Today, This Week, This Month)    2.4.2    [ Uninstall ] [ List Files ] [ Delete ]
29.    EzPortal    0.3.6    [ Uninstall ] [ List Files ] [ Delete ]
30.    No BBC    1    [ Uninstall ] [ List Files ] [ Delete ]
31.    Active Members In Topic    1.8    [ Uninstall ] [ List Files ] [ Delete ]
32.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
33.    Next Post Level    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
34.    TopicStarter Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
35.    Mark_Reader_Name    1.1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
36.    unboldnews    2.0    [ Install Mod ] [ List Files ] [ Delete ]
37.    Image Quote Removal Package    1.1    [ Uninstall ] [ List Files ] [ Delete ]
38.    Topic_Locked_Message    2.1    [ Uninstall ] [ List Files ] [ Delete ]



The "Karma Description Mod" is likely causing it. A quote from the first post:
Quote from: Ha² on March 25, 2008, 12:51:10 PM
  • Can I use any other karma-based modifications with this one?
    NO! This is the #1 cause of major problems with the reputation system! Since this modification changes so much of how Karma works, it really doesn't play nicely with other karma mods, and could cause some big problems with your site.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

pointalk

Quote from: Ha² on February 15, 2010, 10:53:18 AM
Quote from: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');


That's a nice feature idea. I'll look into adding it to the system for you. :)

How about the progress?
What files of my forum should I supply to you?

waruna

Quote from: Ha² on February 24, 2010, 03:25:14 PM
Quote from: waruna on February 24, 2010, 09:45:01 AM
Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Try opening up /Sources/Karma.php and finding this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;

Replace that with this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
   isAllowedTo('admin_forum');


Ok. It works!. Many thanks Mr. Ha.  ;)
Trust of Lust

waruna

Hmm. I don't know whether this is a bug or not,
but seems like in my forum, the receivers will get the reputation depend on their giver's rep?

For example, if member 'A' have 10 points, then he add reputation to member 'B', member 'B' will also gain 10 points?
Trust of Lust

Nick Whetstone

That is called "Reputation Power" unless I am misunderstanding you. :) The more reputation you have, the more power you have; the more power you have, the more each rep. you give adds to the other person's points.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Advertisement: