Ok after a lot of editing, trial and error I've got it to this:
Code:
// --- vB Galaga Hack by TommyBoy Modified by DeadMan384AD
if ($bbuserinfo[posts] >= 2000) {
$post[rank] = "<img src=\"images/ranks/34.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 100) {
$post[rank] = "<img src=\"images/ranks/7.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 75) {
$post[rank] = "<img src=\"images/ranks/6.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 50) {
$post[rank] = "<img src=\"images/ranks/5.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 25) {
$post[rank] = "<img src=\"images/ranks/4.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 10) {
$post[rank] = "<img src=\"images/ranks/3.gif\" border=0>";
}
elseif ($bbuserinfo[posts] >= 5) {
$post[rank] = "<img src=\"images/ranks/2.gif\" border=0>";
}
else {
$post[rank] = "<img src=\"images/ranks/1.gif\" border=0>";
}
// --- vB Galaga Hack by TommyBoy Modified by DeadMan384AD
note- I cut out a huge portion, simply cause I've got a LOT of images...
Everything works fine, it posts, pulls up the proper image according to the post count.... Unfortunatly, its not using the post count of the person who made the post, its using the post count of the user browsing the page! What am I doing wrong?