Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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

Version: 3.5.x Rating:
Released: 11-28-2005 Last Update: 05-14-2006 Installs: 117
 
No support by the author.

This modification is no longer available or supported.

This adds a set of extra checks for whenever members try and give reputation to posts.


Reputation Power Cap
Sets the maximum reputation giving power for any member.

Higher Reputation Forum List
Any reputation given in the forums listed will be multiplied by the "Higher Reputation Multiply Factor".

Higher Reputation Multiply Factor
See above : Forums in the "Higher Reputation Forum List" will have any reputation given multiplied by this factor.

No Reputaion Forum List
List of Forums in which members cannot give reputation to posts.

Open Threads Limit
Posts in open threads, that are older than this limit, cannot be given reputation.

Closed Threads Limit
Posts in closed threads, that are older than this limit, cannot be given reputation.

Negative Reputation Multiply Factor
All negative reputation is multiplied by this factor (by default vb sets negative reputation to half of positive reputation).

Require Reputation Comment
Members must leave a comment in order to give a post reputation.


Points to note ;
  • If a member does not have permission to give negative reputation then any negative reputation they give will be set to zero - in default vb they ended up giving positive reputation.
  • The vb fixed admin reputation setting is multiplied by the negative reputation factor - in default vb it was the same value for both positive & negative, while everyone elses negative was half the positive value.
  • 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 checked before any multiplication factors are applied - also the Forum Multiply and Negative Multiply are cumulative (e.g. if the cap is 40, and you have a forum multiply of 3, and a negative multiply of 2, a member could give a rep of -40 * 3 * 2 = -240).


History:

v1.04 : Initial Public Release.
v1.05 : Fixed zero reputation bug reported by sinaluna in Post #51.
v1.06 : Minor changes, no update necessary.

Show Your Support

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

Comments
  #82  
Old 09-26-2006, 10:51 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very usefull hack!!! Good Job!

Feature REQUEST .-) : - can you adopt changes so that users will get per Forum (groups) rep. points?
Example:

WEBDESIGN SITE FORUM will have these forums>
Photoshop Forums, Corel Forums, CSS Forums, PHP Forums .... so that we can specify which topic is user's best field of interest and profesionalism...
Reply With Quote
  #83  
Old 09-26-2006, 06:50 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

That sounds like a very specific change for you, not something the majority need.

Anyway, there are no changes planned to this (esp as it's a 3.5 mod). Atm there are not even any plans to upgrade it to 3.6 as this will work on 3.6 as is.
Reply With Quote
  #84  
Old 09-27-2006, 01:38 AM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice job Paul, it's great to see some added features for Reputation! In my opinion (along with User Notes), it's one of the often overlooked and features of vb. Nice to see an add-on for it.
Reply With Quote
  #85  
Old 09-29-2006, 07:25 PM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
That sounds like a very specific change for you, not something the majority need.

Anyway, there are no changes planned to this (esp as it's a 3.5 mod). Atm there are not even any plans to upgrade it to 3.6 as this will work on 3.6 as is.
I think chart with reputation given per forum would be usefull also for others. Your hack is very close to this. If you search vb.org there are some requests for this...

My community beg for it, but I am not a coder :-(
Reply With Quote
  #86  
Old 10-09-2006, 05:21 PM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to show reputation links only for the forums in which reputation votes count, so I used the following code in the postbit template
Code:
	<if condition="$vboptions[noreplist]">
	<else />
		<if condition="$show['reputationlink']">
			Rep Link
		</if>
	</if>
but it didn't work. Any ideas on how to implement this?
Reply With Quote
  #87  
Old 10-09-2006, 07:19 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

It's not as easy as that - you would need to add another plugin to the hack to check if the forum you are in allows reputation.
Reply With Quote
  #88  
Old 10-09-2006, 08:01 PM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Paul. I think I figured it out. I hooked
Code:
// No Reputation Link // 
$flist = explode(',',$vbulletin->options['noreplist']);  
$show['ratablelink'] = (!in_array($threadinfo['forumid'],$flist)) ? true : false;
into showthread_getinfo.

Then I put
Code:
	<if condition="$show['ratablelink']">
		<if condition="$show['reputationlink']">
			Rep Link
		</if>
	</if>
into the postbit template.
Reply With Quote
  #89  
Old 10-09-2006, 08:48 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

Excellent
Reply With Quote
  #90  
Old 10-27-2006, 04:13 PM
imranbaig imranbaig is offline
 
Join Date: Sep 2005
Location: India
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with 3.62?
Reply With Quote
  #91  
Old 10-27-2006, 06:43 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

Look up a few posts
Reply With Quote
Reply

Thread Tools

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 04:13 AM.


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.07254 seconds
  • Memory Usage 2,303KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (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