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)
-   -   Reputation Bar for users with huge loads of the green (https://vborg.vbsupport.ru/showthread.php?t=61174)

vbmechanic 02-03-2004 10:00 PM

Reputation Bar for users with huge loads of the green
 
As the reputation system matures, you will find users quickly hitting the current limit of 1500 reputation points. You should start scaling back the numbers at that point in the admin Cpanel so that it is not distributed so quickly, but it is also useful to have the possibility of more than 1500 points.

Purpose: Remove the current limit of 1500 points and replace the dots with a solid bar of Reputation for users over 1500.

Modifications: 3 additions to functions_showthread.php and 3 new gifs.

Install Time: 10 minutes

Difficulty: Easy

Screenshot attached of a user with 3800 reputation points!

cheers,

vBMechanic

msimplay 02-04-2004 10:44 PM

does this work on rc2 :$

vbmechanic 02-04-2004 10:56 PM

Sure, should work on any version with Reputation.

msimplay 02-04-2004 11:00 PM

PHP Code:

if ($reputation_value 500)
      {  
// bright green bars take 200 pts not the normal 100
         
$reputation_value = ($reputation_value - ($reputation_value 500)) + (($reputation_value 500) / 2);
      }
  
      
$reputationbars intval($reputation_value 100); // award 1 reputation bar for every 100 points 

i couldn't find the above in the functions_showthread in rc2
its the last step of the hack

vbmechanic 02-05-2004 01:19 AM

There is a problem with the spacing that you showed in the code box above. I checked it with the zip file and it does not match.. so check again-- it's just a spacing issue that is preventing you from finding this string:

PHP Code:

if ($reputation_value 500)
    {  
// bright green bars take 200 pts not the normal 100
        
$reputation_value = ($reputation_value - ($reputation_value 500)) + (($reputation_value 500) / 2);
    }

    
$reputationbars intval($reputation_value 100); // award 1 reputation bar for every 100 points 

Thanks, let me know if you get it.

msimplay 02-05-2004 02:14 AM

i'll try again tomorrow am too tired to be hacking thats probably why i'm making mistakes

Rampag33 02-05-2004 04:54 AM

Oh thanks that was getting a lil annoying on my forum.

gamevn 02-05-2004 09:47 AM

Nice mod,i will install it now
thz for sharing

gmarik 02-06-2004 08:47 AM

Could you make it so, it converts all the reputation in a five star hack?
I mean no 10 000 and 20 000 point, but, for example, 2,4 point user ...

vbmechanic 02-06-2004 08:54 AM

Sorry, I don't fully understand.

You would like users to have between 1 and 5 stars-- instead of reputation points?

What would the upper limit be?

1 star = 0 to 500 points
2 stars = 501 to 1500 points

etc etc ?

There would be a limit of 5 stars of course.


All times are GMT. The time now is 08:22 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.01090 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_php_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