vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Enhanced Reputation Given Checks (https://vborg.vbsupport.ru/showthread.php?t=101841)

Paul M 11-28-2005 10:00 PM

Enhanced Reputation Given Checks
 
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.

AshokForums.com 11-29-2005 04:14 AM

First install!!! Thanks.. Brilliant idea!!

_Corvin_ 11-29-2005 10:04 AM

Thanks a lot!!! This was exactly the Plugin I searched for :)

Snake 11-29-2005 11:33 AM

Installed! :)

Paul M 11-29-2005 11:35 AM

Quote:

Originally Posted by Aftermath
Installed! :)

Click install then please. :)

nexialys 11-29-2005 11:53 AM

interesting, i like the reputation points, will be used a lot on some of my communities... this system is a good enhancement!

MThornback 11-29-2005 11:57 AM

Brilliant, this is HOTM material

*installs (and I DID click it this time Paul :p)

AshokForums.com 11-29-2005 01:49 PM

even i clicked install.. Paul can u see the users who have installed ur plugin?

Paul M 11-29-2005 02:02 PM

Quote:

Originally Posted by AshokForums.com
even i clicked install.. Paul can u see the users who have installed ur plugin?

Yes, if they post in the hack, you can see if they have (or haven't, like nexialys & aftermath ;))

nexialys 11-29-2005 02:06 PM

Quote:

Originally Posted by Paul M
Yes, if they post in the hack, you can see if they have (or haven't, like nexialys & aftermath ;))

yeah, as usual, i comment the hacks, but never click... so i receive no support, and i can't help on the stats...

i did not even click install on my own hacks, imagine, what a shame.. lol

if i find a bug i will tell!!

Paul M 11-29-2005 02:13 PM

Quote:

Originally Posted by MThornback
Brilliant, this is HOTM material

I wish .....

Sadly I appear destined never to win a HOTM - and given that even if this qualified it would be up against two arcade hacks, I think it's rather unlikely to change that situation :)

Hexemer 11-29-2005 04:26 PM

Very nice and useful :)

Lea Verou 11-29-2005 05:55 PM

Useful hack Paul, although I think that a reputation that is member-based instead of post based would be better and members prefer it...
Why nobody has made something like that I can't understand :( :( :(

AshokForums.com 11-29-2005 07:47 PM

Quote:

Originally Posted by Paul M
I wish .....

Sadly I appear destined never to win a HOTM - and given that even if this qualified it would be up against two arcade hacks, I think it's rather unlikely to change that situation :)

Dont worry paul!! Your a master coder! Your hacks, mods whatever it is are brilliant!! I love u mate :)

Lea Verou 11-29-2005 09:51 PM

Quote:

Originally Posted by Paul M
I wish .....

Sadly I appear destined never to win a HOTM - and given that even if this qualified it would be up against two arcade hacks, I think it's rather unlikely to change that situation :)

don't worry mate! We all know that you are a brilliant coder and we need no HOTM to prove that!!

MThornback 11-30-2005 11:21 AM

Quote:

Originally Posted by Michelle
don't worry mate! We all know that you are a brilliant coder and we need no HOTM to prove that!!

I'm running into a little problem...the system seems to be working, but i'm getting a parse error when i actually give rep points:


Parse error: parse error, unexpected ';' in /../../forum/reputation.php(172) : eval()'d code on line 13

I looked at the plugin code and I didn't see it off the bat...any ideas?

Paul M 11-30-2005 04:42 PM

Line 172 of reputation.php is a call to the reputation_add_process hook - which is not made by this hack - so I think your problem is elsewhere.

The Geek 11-30-2005 04:50 PM

This looks sweet Paul. Think ill have to give this an install AND a thumbs up (now where did I put that thumb...)

rb290 12-01-2005 04:38 AM

where is the options or settings for this ?
cant find it
and whats the proper coding you input to give rep

Paul M 12-01-2005 07:16 AM

Quote:

Originally Posted by rb290
where is the options or settings for this ?
cant find it

With all the other reputation settings in the ACP.

Quote:

Originally Posted by rb290
and whats the proper coding you input to give rep

Sorry, I don't understand the question.

rb290 12-01-2005 07:25 AM

Quote:

Originally Posted by Paul M
Sorry, I don't understand the question.


like in the postbit, how you can click to give someone rep points, you know ?

lazytown 12-01-2005 01:10 PM

Very Nice & Needed Mod!

THanks! -vissa

lazytown 12-02-2005 04:31 AM

If we "rebuild" the user reps, will these new scoring actions take affect on the rebuilt score? For example, will it give them extra rep for forums I've specified even on old posts (if rebuilt)? What about forums that are not supposed to have rep -- will those still count if rebuilt?

Thanks -vissa

lazytown 12-02-2005 04:50 AM

It would be great if we could somehow have 3 or 4 different multiplier categories... (and have fractional multipliers -- maybe that's already possible).. So I can have some forums worth a lot more, some worth the normal amount, some worth less, and others 0.

-vissa

Paul M 12-02-2005 04:58 AM

Quote:

Originally Posted by vissa
If we "rebuild" the user reps, will these new scoring actions take affect on the rebuilt score? For example, will it give them extra rep for forums I've specified even on old posts (if rebuilt)? What about forums that are not supposed to have rep -- will those still count if rebuilt?

Thanks -vissa

I've not looked at the rebuild code, but I assume it processes all the scores stored in the reputation table - so it will rebuild them as per the points stored at the time the reputation was given.

Paul M 12-02-2005 04:59 AM

Quote:

Originally Posted by vissa
and have fractional multipliers -- maybe that's already possible

You can use any number, not just integers.

Hoffi 12-09-2005 06:38 AM

A multiplier per Forum would be great. If you build that, it would be easier to handle big Forums.
A Forum that should not count, can be have a multiplier of zero, and any other the special. So are also more multipliers possible what would be a great benefit.

I'll test it... and I think I will use it.

Edit: I just tested it, and with a recalculation of the Reputation, the Settings takes no effekt. Thats Bad.

Paul M 12-09-2005 07:02 AM

There are no plans to make this a per forum option, or infact, any other alterations to it.

Hoffi 12-09-2005 10:36 AM

What about the recalculation of Reputation?

Paul M 12-09-2005 04:06 PM

Quote:

Originally Posted by Hoffi
What about the recalculation of Reputation?

Erm, I don't understand the question.

Borgs8472 12-13-2005 10:00 PM

Hey paul, I installed just because I wanted to stop giving reputation in closed threads.

But I had to set
Quote:

Closed Threads Limit
Posts in closed threads, that are older than this limit, cannot be given reputation. The value is in days - zero means unlimited.
to 0.000000000000001 !

Because I don't want people giving any reputation in closed threads!

Any chance you could have a 'never' option of some kind if you update? :)

Very minor thing, you had it defaulting to require a comment, I had to immediately turn that off, I suggest you default it to off.

Paul M 12-13-2005 10:45 PM

Quote:

Originally Posted by Borgs8472
But I had to set

to 0.000000000000001 !

Because I don't want people giving any reputation in closed threads!

Anything less than 0.00001 is a waste as that's about 1 second :)

Quote:

Originally Posted by Borgs8472
Any chance you could have a 'never' option of some kind if you update? :)

Nope, those that want to do this can do it as you have.

Quote:

Originally Posted by Borgs8472
Very minor thing, you had it defaulting to require a comment, I had to immediately turn that off, I suggest you default it to off.

Not a chance - I don't think anyone should give reputation to a post without a comment of some sort, even if it's just a smile or a thumbs up.

Borgs8472 12-14-2005 12:18 AM

Quote:

Originally Posted by Paul M
Anything less than 0.00001 is a waste as that's about 1 second :)

A second's too long :/
Quote:

Not a chance - I don't think anyone should give reputation to a post without a comment of some sort, even if it's just a smile or a thumbs up.
Well that's a personal POV.

I use public display of affection, popular posts rack up lots of 'agrees' or 'disagrees' so with, some without comments. Anyhow...

I ended up having to uninstall this because some setting or other was stopping negative reputation comments show up in posts. This was possibly a conflict with the public display of affection hack I'm running.

Paul M 12-14-2005 02:08 AM

Quote:

Originally Posted by Borgs8472
I ended up having to uninstall this because some setting or other was stopping negative reputation comments show up in posts.

If reputation has been given then this cannot stop that reputation showing up - it can only change the value (at the time the rep is given [or prevent it being given in the first place]).


Quote:

Originally Posted by Borgs8472
Well that's a personal POV.

I use public display of affection, popular posts rack up lots of 'agrees' or 'disagrees' so with, some without comments. Anyhow...

That's fine, that's why there is the choice, and your choice is to turn it off, however - the default will remain as on. :)

AWI 12-15-2005 08:03 AM

Much appreciated, installed on 3.5.2 and all is well.

Smiry Kin's 12-17-2005 05:32 PM

Nice release

dutchbb 12-17-2005 08:12 PM

very very usefull plugin

thanks a lot

dutchbb 12-18-2005 05:26 PM

Paul I have a question about this:

Quote:

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.
I want certain forums to have lower reputation value. Say I want those to have half the value of other forums.

Can I just set "Higher Reputation Multiply Factor " to 0.5 ?

If not, how hard would it be to include a 'Lower Reputation Forum List' / 'Lower Reputation Multiply Factor' ?

Paul M 12-18-2005 07:16 PM

Quote:

Originally Posted by Triple_T
Can I just set "Higher Reputation Multiply Factor " to 0.5 ?

Yes, you can set any value.

HeRCuL70 12-20-2005 02:31 PM

Quote:

Originally Posted by Hoffi
What about the recalculation of Reputation?

Yes, I have the same problem. If we want it must recalculate old reputation it should recalculate it after the installation.

I think you add this feature too, doesnt it? ;)


All times are GMT. The time now is 10:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01399 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete