vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   -Real- reputation ranking, post/rep ratio rankings System (https://vborg.vbsupport.ru/showthread.php?t=69933)

miz 09-27-2004 10:00 PM

-Real- reputation ranking, post/rep ratio rankings System
 
Ok this hack was requsted here

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 09-28-2004 12:57 AM

mmm... sound interesting :) do you have a working demo of this mod in a live site?

miz 09-28-2004 01:03 AM

and here is some pics if you want :

nexialys 09-28-2004 01:45 AM

looks like the other RPG levels to me...

Borgs8472 09-28-2004 06:32 PM

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 09-28-2004 07:48 PM

ah, I'm getting 1's and 0's now for some reason... but nothing more complex...

miz 09-29-2004 12:55 AM

so do you got problem with the hack or not ?

Borgs8472 09-29-2004 08:02 AM

Yes.

Here's my memberlist

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 09-29-2004 01:40 PM

Quote:

Originally Posted by wordforge.net
Yes.

Here's my memberlist

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 09-29-2004 10:26 PM

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


All times are GMT. The time now is 01:33 PM.

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.06664 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)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
  • (10)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