PDA

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


miz
28 Sep 2004, 01:35
Ok this hack was requsted here (http://www.vbulletin.org/forum/showthread.php?t=69871)

i just hope i posted it on right place

this hack tested on 3.0.3.

info :

this hack take user reputation and devine it with user posts
for exsample user reputation is 9 and he got 3 posts
so user ratio will be 3
its also round it for exsample :
user reputation is 10 and he got 3 posts
so instead of 3.333333 his ratio will be 3

you can see user ratio in his profile, in memberlist and postbit
in memberlist you can view user by ratio higher to lower or the opposite,

hmm thats all i think.

if you like it dont forget to click install :P

yours allways

MiZ.

Edit :

hmm guys i have found some bug (every page load its execute same query)
well fixed now, redownload the file please.

Polo
28 Sep 2004, 01:57
mmm... sound interesting :) do you have a working demo of this mod in a live site?

miz
28 Sep 2004, 02:03
and here is some pics if you want :

nexialys
28 Sep 2004, 02:45
looks like the other RPG levels to me...

Borgs8472
28 Sep 2004, 19:32
Thanks for making the hack miz, but I've logged in and out, and all ratio levels are still zero...

And they're not displaying in the postbit either...

Borgs8472
28 Sep 2004, 20:48
ah, I'm getting 1's and 0's now for some reason... but nothing more complex...

miz
29 Sep 2004, 01:55
so do you got problem with the hack or not ?

Borgs8472
29 Sep 2004, 09:02
Yes.

Here's my memberlist (http://www.wordforge.net/forum/memberlist.php?&order=DESC&sort=ratio&pp=30&ltr=)

Clicking ratio just orders the users in reverse alphabetical. As you can also see, the numbers are very low.

I don't mind them being low, but I want everyone to have a unique score, this means the value being 4.93 etc, to two decimal places.

And the ordering on the memberlist doesn't work :(

But thanks for your efforts so far, the basics are definately there!

miz
29 Sep 2004, 14:40
Yes.

Here's my memberlist (http://www.wordforge.net/forum/memberlist.php?&order=DESC&sort=ratio&pp=30&ltr=)

Clicking ratio just orders the users in reverse alphabetical. As you can also see, the numbers are very low.

I don't mind them being low, but I want everyone to have a unique score, this means the value being 4.93 etc, to two decimal places.

And the ordering on the memberlist doesn't work :(

But thanks for your efforts so far, the basics are definately there!

i think you skiped some level cuse when you press on ratio its should move the arraow next to Ratio word thats why its now working.
about the ratio, hmm
you asked it to be
ratio = repultation / posts

now try do like

ratio = 50 / 6124
its something like 0.000615418
and round function turns it to 0

this is the way you asked the hack to be...

Borgs8472
29 Sep 2004, 23:26
Ah, I had my member.php sitting in the same directory as my memberlist.php, and so was running the old memberlist.php. Fixed it now. :D

Borgs8472
29 Sep 2004, 23:31
http://www.wordforge.net/forum/memberlist.php?&order=DESC&sort=ratio&pp=30&ltr=

Excellent!

Still seeing less than 50 post users, but never mind. ;) (another time, no rush)

All I would ask now is that the values are not rounded to 0 decimal places, rather that they display to 2 d.p

So the list instead of reading
2
2
2
2
2
2
2

Woudl read

2.45
2.33
2.17
2.07
1.95
1.89
1.76
1.55

For better differenciation. :)

miz
30 Sep 2004, 01:52
i thought round numbers is nice
but if you think other wise

find this code (Global.php)



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and replace it with



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




thats all

Borgs8472
30 Sep 2004, 10:17
Did that, not sure if it will kick in later, but it's not working now.

Is the number type that the ratio's stored in not compatible with decimals perhaps?

http://www.wordforge.net/forum/memberlist.php?&order=desc&sort=ratio&pp=30&page=0

miz
30 Sep 2004, 14:26
hmmm replace the query



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



with



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Borgs8472
30 Sep 2004, 18:43
Um... what SQL query do I need to kill off the previous entry of ratio so I can put the improved one in?... sorry...

miz
30 Sep 2004, 18:56
Um... what SQL query do I need to kill off the previous entry of ratio so I can put the improved one in?... sorry...

ALTER TABLE `user` DROP `ratio` ;

phpmyadmin is very easy to use system.. and FREE

Borgs8472
30 Sep 2004, 18:59
Sorry about that, I was coming back to edit my reply, cause I had worked it out at this point. :)

Any chance of displaying to 2 decimal places rather than 8? :D

miz
30 Sep 2004, 19:08
Sorry about that, I was coming back to edit my reply, cause I had worked it out at this point. :)

Any chance of displaying to 2 decimal places rather than 8? :D


ok do this

Find :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


After Add :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Find :



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



should work, update me...

Borgs8472
30 Sep 2004, 23:00
Woo!

:D

Of course, I have to wait for the other users to log in and correct their value, but all is good. :D

dune
01 Oct 2004, 02:03
For someone to call this a "Real" reputation ranking system indicates a very poor understanding of how the built-in reputation system is supposed to work. It does require a little extra to effort to understand. But dumbing it down to a score based solely on post count is juvenile...

Sorry, I just think it's an insult to the rep system.

miz
01 Oct 2004, 04:46
For someone to call this a "Real" reputation ranking system indicates a very poor understanding of how the built-in reputation system is supposed to work. It does require a little extra to effort to understand. But dumbing it down to a score based solely on post count is juvenile...

Sorry, I just think it's an insult to the rep system.


if you look on first page you will find on first post a link
this link is the link to the requested thread, visit this thread, and you will find out that this system worked exsacly same as the user asked.
to bad you credit before you read

dune
01 Oct 2004, 05:02
if you look on first page you will find on first post a link
this link is the link to the requested thread, visit this thread, and you will find out that this system worked exsacly same as the user asked.
to bad you credit before you read

The nature (and successful completion) of the request doesn't have anything to with the "naming" of the hack. More appropriate would have been "Simplified Reputation System" or "Crippled Reputation System". I took issue solely with the word "Real".

Borgs8472
01 Oct 2004, 14:48
I see we have a fan?

Oh, admittely "proportional" reputation ranking would be more accurate. :p

miz
01 Oct 2004, 15:20
i just copy the name in requseted hack....

dune
01 Oct 2004, 18:14
I see we have a fan?

Oh, admittely "proportional" reputation ranking would be more accurate. :p

A fan of the rep system? Yes. I'm pretty fond of self-moderating algorithms. We've been working hard on our site to make the reputation system useful, fair and valuable. To make that work, people need to UNDERSTAND it, which is difficult, it's more complicated than most people can get their heads around quickly.

dune
01 Oct 2004, 18:15
i just copy the name in requseted hack....

Ok, no issue with you then! ;) Just the nitwit would asked for a dumbed-down version...

Borgs8472
02 Oct 2004, 01:03
You realise this is in addition? Not a replacement for the usual rep system...

<sigh>

dune
02 Oct 2004, 02:30
You realise this is in addition? Not a replacement for the usual rep system...

<sigh>

I didn't see it that way at all. Then again maybe I read it wrong. I can be a nitwit too... :ermm:

miz
02 Oct 2004, 13:53
I didn't see it that way at all. Then again maybe I read it wrong. I can be a nitwit too... :ermm:

this system take user posts and user rep div 1 with eachother and thats all.

Borgs8472
10 Oct 2004, 21:19
Just shamelessly bumping this thread to report that I really like this system, it allows you particularly to see the popular newbies...

miz
14 Oct 2004, 18:59
Just shamelessly bumping this thread to report that I really like this system, it allows you particularly to see the popular newbies...

heh
:nervous:

Borgs8472
15 Oct 2004, 22:46
Though if this thread were renamed to "Propotional" rather than "real" I wouldn't mind. :)