View Full Version : Administrative and Maintenance Tools - Enhanced Reputation Checks
Paul M
12-11-2006, 10:00 PM
This modification is no longer available or supported.
This modification adds a whole set of extra checks whenever members try and give reputation to posts. While this is technically a port of the vb 3.5 mod (https://vborg.vbsupport.ru/showthread.php?t=101841), this version (v2.xx) has been largely re-written for vB 3.6.x. The main features are ;
Require Positive Reputation Comment
Members must leave a comment in order to give a post positive reputation.
Reputation Power Cap
Sets the maximum reputation giving power for any member, as well as the default forum wide setting, it is possible to set different caps in specific forums. Please carefully read the setting notes on how to do this (examples are given).
Positive Reputation Multiply Factor
Any positive reputation given will be multiplied by the "Positive Reputation Multiply Factor" - See Custom Factors below.
Negative Reputation Multiply Factor
Similar to above - any negative reputation given will be multiplied by the "Negative Reputation Multiply Factor" - See below.
Custom Multiply Factors
As well as the default forum wide factor settings for positive and negative reputation, it is also possible to set custom values for specific forums. Again, please carefully read the setting notes on how to do this (examples are given).
Closed Threads Limit
Posts in closed threads, that exceed the given age, cannot be given reputation. It is possible to stop reputation being given on any post in a closed thread.
Open Threads Limit
Posts in open threads, that exceed the given age, cannot be given reputation. If you desire, it is possible to stop reputation being given on any post in an open thread.
Allow or Disallow List
A list of forums can be supplied and then reputation either be allowed only in those forums, or be disallowed only in those forums. It is also possible to stop reputation being given in any forum (basically suspending the reputation system).
All settings are in vBulletin Options > Enhanced Reputation Checks
Install
Unzip the XML and import into vB using the ACP Product Manager.
Upgrade from 3.5 version
If you currently have the 3.5 version of Enhanced Reputation Checks installed then you should make a note of your settings and then uninstall it. This version has a different product id so it is possible to run both versions - this should never be done (I'm not sure what would happen, but you really don't want to do it).
Points to note ;
In order to give negative reputation to a post a comment must be supplied - this is part of default vb 3.6 and cannot be changed by this modification.
If a member does not have permission to give negative reputation then any negative reputation they try and give will be set to zero - in default vb they ended up giving positive reputation.
If set, the vb fixed admin reputation value will still be multiplied by any Multiply Factors specified in this modification.
If the negative reputation factor is 0.5 (to replicate default vb) then there will be one minor difference, a member whose positive reputation power is 1 will have a negative reputation power of 0, in default vb this would be -1.
The reputation cap is [now] checked after any multiplication factors have been applied - so no member can give more than the set cap, no matter what factors are applied first.
History:
v2.00 : Initial Public Release.
lovelypk
12-12-2006, 12:40 AM
Nice hack
Will definately install this.
Aeolian
12-12-2006, 02:31 AM
GREAT mod.. ur a life saver!!
a quick question though...
in my forum i am having problem as mods checking the REP comments (not visible to users) and they tend to tip off users and hence conflict :confused:
is there any way i can make the comments visible to admins only :D
thanks in advance!!!!
MaestroX
12-12-2006, 07:05 AM
Nice one, thanks for this
Great work Paul, I have been searching for a way to disable reputation in individual forums (why isn't this standard in vBulletin????). Thanks for this, = rep :)
The other options are a great bonus as well.
Installed.
Hornstar
12-12-2006, 08:49 AM
Thanks for the upgrade, this will be really useful again. thanks.
PersianImmortal
12-12-2006, 08:58 AM
Does this mod include, or is there any way to include usergroup-specific limits on how many separate people can be given reputation in a day? One thing I've found annoying is that I can't override the default maximum number of times reputation can be given out in a day - I want a separate limit for my Moderators/Super Moderators compared to regular members.
Snake
12-12-2006, 10:29 AM
Thanks! Great hack as always. ;)
projectego
12-12-2006, 02:23 PM
Cheers, Paul M. ;)
masterross
12-12-2006, 06:08 PM
thanks but i still run old version at vb3.6.4
and cant see problem
why should i uninstall the old one and install this?
thanks
Paul M
12-12-2006, 06:32 PM
why should i uninstall the old one and install this?
Nobody said you should. :)
If you are happy running the 3.5 version then by all means carry on. A 3.6 specific version has been released because I will stop supporting all my 3.5 mods in 2007. :cool:
ICY ICE
12-12-2006, 09:26 PM
Thanks for the mod!!! works great.
Aeolian
12-13-2006, 02:32 PM
hey Paul any words of wisdom for my query :D
Paul M
12-13-2006, 05:07 PM
As far as I can see you are asking a question about vB functionality, not this modification, so you would be best posting that on the general forum.
KURTZ
12-14-2006, 04:14 PM
thx Paul :)
just INSTALLED
Makc666
12-19-2006, 12:01 PM
Forums Allow/Disallow List
CSV list of forums allowed or disallowed to use reputation (used in conjunction with the default allow/disallow setting below).
And how this list must be separated?
Makc666
12-19-2006, 12:30 PM
And how this list must be separated?
Or. Get it.
CSV (Comma Separated Values)
(Computers) file format used for storing database information in ASCII format (each entry or field is separated by a comma and each new row is represented by a new line)
Makc666
12-19-2006, 12:38 PM
Found some lines which are not translated.
<optioncode>radio:piped
0|Allow in all forums
1|Allow in all forums except those listed above
2|Disallow in all forums except those listed above
3|Disallow in all forums (Suspend Reputation)</optioncode>
Paul M
12-19-2006, 05:13 PM
You cannot use phrases in those options.
R-n-R
01-18-2007, 01:53 AM
Is there a way to make this mod to only allow Reputation to be given to Members by Mods and Admins? or maybe a specific Group?
Paul M
01-18-2007, 04:13 AM
You don't need a modifications for that - can do that with usergroup permissions.
ubblite
01-30-2007, 11:51 PM
One nice addition for this mod would be the ability to limit the amount of positive and negative reputation a usergroup can give during a 24 hour period. Great mod though - thank you Paul.
dutchbb
03-05-2007, 06:32 PM
I think I discovered a bug. When I try to set a usergroups permission for reputation to "cannot leave negative rep." they have 0 rep power. Can you please check this?
Paul M
03-05-2007, 11:16 PM
Do you by any chance mean this ?
If a member does not have permission to give negative reputation then any negative reputation they try and give will be set to zero - in default vb they ended up giving positive reputation.
dutchbb
03-06-2007, 09:17 AM
No I mean they actually have zero rep power for positive and negative. You can see in postbit it shows '0' for power. I'm not sure it is related with this hack but since there are no other hacks...
Tnx for looking Paul
Paul M
03-08-2007, 10:09 PM
Sorry, but I cannot confirm your report. I set the "Can Leave Negative Reputation" to 'no', and rep power still displayed. The only way I could make it '0' was to set "Can Use Reputation" to 'no' - and that would be the expected result.
Katiemarie
04-16-2007, 03:44 PM
Is there any way to make the rep power cap dependent on Usergroup rather than forum? I'd like to make it so that the regular users are capped, but mods and admins aren't, so mods always have more rep power.
Paul M
04-16-2007, 08:25 PM
Sorry, there is no such functionality in this.
Renat_
04-18-2007, 06:54 PM
Thanks Paul, good mod!
Could you add a max-rep cap per usergroup ?
And what would be realy amazing, is to then have a little inputfield, to type the amount of rep you want to give out (of course u wouldn't be able to give more than you can possibly give)
topanet
04-30-2007, 02:32 AM
Great Hack.... i've already installed this hack few month ago...
anyway, i set Reputation Power Cap into 50, is there any way to make "ONLY Administrator Group" still can give rep 100 points???
like LaCN said, maybe you could add a max-rep per-usergroup???
thanks for your hack and support
Robert7
04-30-2007, 04:29 PM
It seems this mod only works with 'integer' Multiply Factor.
Paul M
04-30-2007, 06:30 PM
It allows non integer factors.
topanet
05-03-2007, 03:15 PM
so, is there any chance to change rep power ONLY for Administrator into 100???
thanks Paul
Paul M
05-03-2007, 03:37 PM
Nope, that is neither possible nor planned, the caps apply to anyone.
topanet
05-07-2007, 01:01 AM
Paul, can you do for me??? i will donate some for you if you can modified the code for usergroup capabilities, thanks
Paul M
05-07-2007, 10:42 AM
Sorry but this would be adding a whole new level of complication, members would potentially have two caps (forum and usergroup), that doesn't make much sense.
Doglet
05-15-2007, 04:37 AM
Any chance of introducing to this hack, the ability to give or take a number of reputation points less than your rep power? There is an individual hack for this, but it would be much better if it could be done via the enhanced reputation display
The hack I am talking about is here.
https://vborg.vbsupport.ru/showthread.php?t=146438
Paul M
05-15-2007, 12:17 PM
Sorry, I have no plans to change this atm.
Mrdby
05-21-2007, 01:51 PM
3.6.7 and any demos?
Paul M
05-21-2007, 06:45 PM
Huh ?
Xorlev
07-17-2007, 05:34 PM
Any possibility of a comma delimited list preventing certain users from using negrep?
Paul M
07-17-2007, 10:58 PM
You can use usergroup permisions to control that.
h2ojunkie
07-21-2007, 02:32 AM
In the previous version of this mod, I made a slight change to restore the way vb default handles negative rep if the users rep power is only 1
As stated in your notes, if a user has a rep power of 1, this mod causes their negative rep power to be 0
In the last version of this mod I made a simple change to allow users with a rep power of 1 to give a negative rep of -1 when the negative modify factor was 0.5
// Negative Reputation //
if ($reputation != 'pos')
{
$reppower *= $vbulletin->options['negrepfactor'];
if ($reppower < 1 & $reppower > 0)
{
$reppower = 1;
}
$reppower *= -1;
if (!($perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cannegativerep'])) $reppower = 0;
}
But for the life of me, I can't manage to figure out what to modify to get the same functionality out of this new version.
Any chance of pointing me in the right direction?
Paul M
07-21-2007, 06:51 PM
Untested, but this might work ;
Replace ;
if ($repneg)
{
$score = intval($nfactor*$score);
}
With ;
if ($repneg)
{
if ($nfactor < 1 and $score == 1)
{
$score = 1;
}
else
{
$score = intval($nfactor*$score);
}
}
h2ojunkie
07-21-2007, 08:06 PM
Thanks Paul...that put me on the right track.
A couple minor tweaks and I got it working:
if ($repneg)
{
if (($nfactor < 1 and $nfactor > 0) and $score == -1)
{
$score = -1;
}
else
{
$score = intval($nfactor*$score);
}
}
Salazar
08-14-2007, 02:15 PM
Sounds interesting. :)
Question: Are administrators exempted from those checks? Example: If I set the open thread limit to 1 week are admistrators able to rate older threads as well? Can they rate postings in forums which are on the disallow list?
Paul M
08-14-2007, 08:20 PM
Administrators are not exempt.
Salazar
08-15-2007, 10:30 AM
Thank you for the clarification Paul M.
I was hoping your answer would be different though. ;)
Pocket Aces
02-23-2008, 01:00 AM
Great hack. But before we try this one, we would like to clarify this...
If a member does not have permission to give negative reputation then any negative reputation they try and give will be set to zero...Only our moderators can give -reps. Does it mean that members or any other usergroup that are not allowed to give -rep would still be able to do so? The negative comment will still appear but only no rep pts. will be deducted?
so, is there any chance to change rep power ONLY for Administrator into 100???
thanks Paul
Go to ACP > vBulletin Options > User Reputation Options > Administrator's Reputation Power
Paul M
02-24-2008, 11:45 AM
Only our moderators can give -reps. Does it mean that members or any other usergroup that are not allowed to give -rep would still be able to do so? The negative comment will still appear but only no rep pts. will be deducted?
I believe that VB should stop them giving the rep in the first place (now), but just in case, this will make the additional check and zero it.
bigwest
02-28-2008, 11:40 PM
A great addition to this hack would be the ability to apply rep alterations based on usergroup.
I.e.,
+ Rep Factor, - Rep Factor = csv usergroup list
bigwest
02-28-2008, 11:40 PM
Great hack. Installed.
sub_ubi
03-06-2008, 06:37 AM
Any news on this guy for 3.7?
Paul M
03-06-2008, 06:34 PM
Released a month ago.
https://vborg.vbsupport.ru/showthread.php?t=169557
raiderphil83
11-03-2009, 03:53 PM
I imported this and it appears to have gone through all correctly; however I capped the Reputation giving power at 10 and those few members who were above 10 are still above 10 (I am assuming this because their Rep Power still reads '13' for example). Is this change not retroactive? Will those above 10 not be re-set down to the limit?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.