MyBB Community Forums

Full Version: Better Ranking System
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if there is a ranking system mod, that lets you use multiple "star" images, like star1.gif, star2.gif, and so on, kinda like the rate thread stars, but in the postbit. -LeX, I have a feeling you're gonna help. So I want to thank you in advanced, and I want to thank anyone else who helps.

Here's an idea of what I want

0 Posts:
[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]

25 Posts:
[x] [ ] [ ] [ ] [ ] [ ] [ ] [ ]

50 Posts:
[x] [x] [ ] [ ] [ ] [ ] [ ] [ ]

and so on.
Humpa Bump.
I'm not sure exactly what you're trying to do - the star images under the username already do something like this.

If you wanted to use separate images rather than repeating the same image over and over, there's a quick replacement to the star system:

In /inc/functions_post.php,
FIND:
for($i = 0; $i < $post['stars']; $i++)
		{
			$post['userstars'] .= "<img src=\"".$post['starimage']."\" border=\"0\" alt=\"*\" />";
		}
REPLACE WITH
$post['userstars'] = "<img src=\"".str_replace('.',$post['stars'].'.',$post['starimage'])."\" border=\"0\" alt=\"*\" />";

How this works - instead of having an image, let's say, star.gif, you'll have separate images for the number of stars, that is, star0.gif for 0 stars, star1.gif for 1 star etc.

Yes, it's a dirty mod, but it should work.
Well, the idea is this:

[Image: 1badge.png] for 25 posts
[Image: 2badges.png] for 50 posts
[Image: 3badges.png] for 75
[Image: 4badges.png] for 100
[Image: 5badges.png] 150
[Image: 6badges.png] 200
[Image: 7badges.png] 300
[Image: 8badges.png] 450

for the "star.gif" images.
Oh right so when a certain member gets to a level of posts they get a new star instead of repeating the normal star.gif. But could you just do this with the ranks?
Hmm, you have a point. I could try that out. Thanks dude.