Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Enhanced Reputation Checks Details »»
Enhanced Reputation Checks
Version: 2.00, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 12-11-2006 Last Update: Never Installs: 148
Uses Plugins
Translations  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-21-2007, 06:45 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Huh ?
Reply With Quote
  #43  
Old 07-17-2007, 05:34 PM
Xorlev Xorlev is offline
 
Join Date: May 2006
Location: Colorado
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any possibility of a comma delimited list preventing certain users from using negrep?
Reply With Quote
  #44  
Old 07-17-2007, 10:58 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use usergroup permisions to control that.
Reply With Quote
  #45  
Old 07-21-2007, 02:32 AM
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

PHP Code:
// Negative Reputation //
if ($reputation != 'pos')
{
    
$reppower *= $vbulletin->options['negrepfactor'];
    if (
$reppower $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?
Reply With Quote
  #46  
Old 07-21-2007, 06:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Untested, but this might work ;

Replace ;
PHP Code:
if ($repneg)
{
    
$score intval($nfactor*$score);


With ;
PHP Code:
if ($repneg)
{
    if (
$nfactor and $score == 1
    {
        
$score 1;
    }
    else
    {
        
$score intval($nfactor*$score);
    }

Reply With Quote
  #47  
Old 07-21-2007, 08:06 PM
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul...that put me on the right track.

A couple minor tweaks and I got it working:

PHP Code:
if ($repneg

    if ((
$nfactor and $nfactor 0) and $score == -1)  
    { 
        
$score = -1
    } 
    else 
    { 
        
$score intval($nfactor*$score); 
    } 

Reply With Quote
  #48  
Old 08-14-2007, 02:15 PM
Salazar's Avatar
Salazar Salazar is offline
 
Join Date: May 2003
Location: Austria
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #49  
Old 08-14-2007, 08:20 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Administrators are not exempt.
Reply With Quote
  #50  
Old 08-15-2007, 10:30 AM
Salazar's Avatar
Salazar Salazar is offline
 
Join Date: May 2003
Location: Austria
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the clarification Paul M.

I was hoping your answer would be different though.
Reply With Quote
  #51  
Old 12-15-2007, 09:04 AM
DDIG DDIG is offline
 
Join Date: Nov 2007
Location: The Netherlands
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks a lot!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06714 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete