Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-25-2004, 11:17 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default -Real- reputation ranking, post/rep ratio rankings...

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.
Reply With Quote
  #2  
Old 09-27-2004, 01:32 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah come on, surely some people could help me a -little-?
Reply With Quote
  #3  
Old 09-27-2004, 02:49 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack sounds easy but if you can explain in simpler english i will be able to make it for you.
Reply With Quote
  #4  
Old 09-27-2004, 03:58 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 09-27-2004, 04:58 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #6  
Old 09-27-2004, 10:52 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



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?
Reply With Quote
  #7  
Old 09-27-2004, 11:06 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ill do this hack now and post it when im finish....
Reply With Quote
  #8  
Old 09-27-2004, 11:09 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wooo!
Reply With Quote
  #9  
Old 09-28-2004, 12:35 AM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here you go mate. your requsted hack is posted here :

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

enjoy, MiZ.
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 12:52 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.06787 seconds
  • Memory Usage 2,235KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete