Jim Westergren
About me, my projects, SEO, Web Development and Personal Development since 2005
"If we did all the things we are capable of, we would literally astound ourselves." - Thomas A. Edison

Changing reputation image values for vBulletin

This is my first post in a serie about vBulletin.

If you purchase vBulletin you will notice that the default reputation system does not fit good with a brand new board. 100 positive rep points for the next additional green is too much for a new board.

This post is about changing the image values and that is something that you cannot change in the admin panel and I did not find it anywhere by Googling on how to do.

The default is the following:

red = reputation less than 0 gray = reputation 0 green = reputation more than 0

For each 100 positive rep points you get an additional green image and a new reputation title. When you reach 500 it takes 200 additional points to get a bright green (bright green).

This is how I changed it to:

red = reputation less than 0 gray = reputation between 0 and 4. green = reputation 5 and more (set that the start value to be 5)

For each 25 positive rep points you get an additional green image and a new reputation title. When you reach 125 it takes 50 additional points to get a bright green (bright green).

How I did it:

Open up includes/functions_reputation.php

Change line 83 from:

if ($post['reputation'] == 0)

To: if ($post['reputation'] < 5 && $post['reputation'] > -1) Change line 100 from:


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 if ($reputationbars > 10) { $reputationbars = 10; }

To:

	if ($reputation_value > 125)
	{  // bright green bars take 50 pts not the normal 25
		$reputation_value = ($reputation_value - ($reputation_value - 125)) + (($reputation_value - 125) / 2);
	}

$reputationbars = intval($reputation_value / 25); // award 1 reputation bar for every 25 points if ($reputationbars > 10) { $reputationbars = 10; }

I am sure you can figure out the values and how to put them to make it how you whish to have them.

My forum where this is applied can be seen here.

Next I will cover how to display the reputation value and reputation power under the post count in the posts, then I will cover how to do proper SEO for a vBulletin and after that a lot of tips on how to keep members posting.

15 Mar 2006

About the Author Jim Westergren Jim Westergren is a Swedish web entrepreneur currently living in Spain. He is happily married and has three lovely children. Some of his interests are web development, SEO and writing.
He is the Founder of DomainStats and N.nu. Read his .