PDA

View Full Version : -Real- reputation ranking, post/rep ratio rankings...


Borgs8472
09-25-2004, 11:17 PM
Reputation's a good system, but you'll often find the top posters max out the system, simply cause they post more.

Some users post only a little, and get loads of rep, others post a lot and get hardly any.

These ratios go a long way to determining how well a user is liked.

So:

Really basic system:
I would like a hack that takes the value of a user's reputation and divides it by their post count.

More advanced system:
I would like this value to be returned on the member list, and the ability to arrange users by post-rep ratio

And an extra tweak:
Would be to ignore posters with less than 50 posts, since low post count posters can have dispropotionate reputations often.

Since I doubt anyone will leap to the rescue to do this hack (but thanks if you do!), I'll break down the operations that need to be done based on my knowledge of vb.

*Post count is a variable somewhere. Don't know where, I bet someone else could tell me
* Same with reputation
* Another variable needs to be created somewhere that does the simple reputation value divided by post count math.
* The memberlist.php needs to be given this value to display and be sorted by.
* I know certain use groups won't show up on the memberlist, but I don't want to have to change people's usegroups when they reach 50 posts just for the sake of this system, so somehow the memberlist.php will have to know to ignore the low post count users -only- when arranging my reputation/post ratio. So it's more complicated.

Can anyone else add some more pieces to this? Thanks all. :)

Borgs8472
09-27-2004, 01:32 PM
Ah come on, surely some people could help me a -little-? :D

miz
09-27-2004, 02:49 PM
this hack sounds easy but if you can explain in simpler english i will be able to make it for you.

Borgs8472
09-27-2004, 03:58 PM
Okay I'll try again.

There are 3 levels of functonality I'd like for this hack:

1.
a)Take a users's reputation rating and divide it by their post count and put it into a variable somewhere.
b)Trim this figure to just 2 decimal places and display it in the user CP somewhere
c) Display this figure in the postbit underneath a user's name.

2.
a)Display this reputation ratio value on the memberlist.php list in an additional collum
b)Allow the member list to be arranged by reputation ratio

3.
a) When displaying the memberlist by reputation ratio, ignore users with less than 50 (or "X") posts, so as to omit low post count users with dispropotionate reputation ratios.

Anyone who's at all interested in doing this, please make from 1 through to 3 in that order, cause that's in order or how important the steps are :)

miz
09-27-2004, 04:58 PM
ok
so from what i understood

ratio = repulation / postcount

and every user have diffrent ratio ?
and then just to show it profile.php
and in postbit templte
and later on to add order member list by ratio where ratio > $x

am i right ?

Borgs8472
09-27-2004, 10:52 PM
:D

Yes. I mean I doesn't sound -too- complex, and if I'm admining in a year from now, I'd hope to be able to programme something like that myself.

D'yer think you can do it? :D

miz
09-27-2004, 11:06 PM
ok ill do this hack now and post it when im finish....

Borgs8472
09-27-2004, 11:09 PM
Wooo! http://www.wordforge.net/forum/images/smilies/00001656.gif

miz
09-28-2004, 12:35 AM
here you go mate. your requsted hack is posted here :

https://vborg.vbsupport.ru/showthread.php?p=556589

enjoy, MiZ.