Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Reputation Bar for users with huge loads of the green Details »»
Reputation Bar for users with huge loads of the green
Version: 1.00, by vbmechanic vbmechanic is offline
Developer Last Online: Oct 2006 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-03-2004 Last Update: Never Installs: 13
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-23-2004, 01:49 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We applied the hack and our green bars and all seperated and hacked up. Any ideas?
Reply With Quote
  #23  
Old 09-01-2004, 04:59 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bar is hacked out here too ... would really love to use this one!
Reply With Quote
  #24  
Old 09-22-2004, 03:02 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to install this, but want to make sure this issue is fixed. Bump for the creator.
Reply With Quote
  #25  
Old 09-23-2004, 03:46 PM
azher azher is offline
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dano
I want to install this, but want to make sure this issue is fixed. Bump for the creator.
I just installed this and love it.

At first, I had the same problem as TWTCommish and (possibly) Club3G and I thought the instructions missed something, but after re-reading them, it seems like it's just something that may be easily overlooked.

Where it reads:

Code:
***** Below:

eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";');
		}

***** Add:

// Reputation Bar Hack -- START

if ($post['reputation'] > 1500) {
		$post['reputationdisplay'] .= "<img src=\"$stylevar[imgdir_reputation]/reputation_endright.gif\" border=\"0\" />";
}

// Reputation Bar Hack -- END
Perhaps some better wording would be:

Code:
***** Below:

eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";');

}

***** Add BELOW:

// Reputation Bar Hack -- START

if ($post['reputation'] > 1500) {
		$post['reputationdisplay'] .= "<img src=\"$stylevar[imgdir_reputation]/reputation_endright.gif\" border=\"0\" />";
}

// Reputation Bar Hack -- END
The curly brace is easily lost because in the text file, it's indented way over to the right. It makes all the difference in the world.
Reply With Quote
  #26  
Old 12-24-2004, 02:11 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this was a great hack for us... but now even the bar is getting too long for some members

Is it possible to make for example a blue or gold bar for users with more then 5000 or 6000 points?
Reply With Quote
  #27  
Old 12-24-2004, 04:37 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try this alternative ;

https://vborg.vbsupport.ru/showthread.php?t=69836
Reply With Quote
  #28  
Old 12-24-2004, 06:06 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, but a complete new bar would make it shorter instead longer
Reply With Quote
  #29  
Old 07-28-2008, 04:29 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know of anything like this for 3.7.2?
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 02:11 PM.


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.07474 seconds
  • Memory Usage 2,282KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete