I modified the starhack 1.1.4 code to work with vB 2.0.3
Insert the bold code starting at line 164 of functions.php in the admin/directory (this code should be inside getpostbit())
Code:
if ($post[customtitle]==2) {
$post[usertitle] = htmlspecialchars($post[usertitle]);
}
//START STARHACK!
if ($post[usertitle]=="Administrator") {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>";
}
elseif ($post[usertitle]=="Super Moderator") {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>";
}
elseif ($post[posts]>300) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0>";
}
elseif ($post[posts]>150) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0>";
}
elseif ($post[posts]>75) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0>";
}
elseif ($post[posts]>37) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0>";
}
else {
$post[usertitle] = $post[usertitle];
}
//END STARHACK!
$jointime = (time() - $post[joindate]) / 86400; // Days Joined
if ($jointime < 1) { // User has been a member for less than one day.
$postsperday = "$post[posts]";
} else {
$postsperday = sprintf("%.2f",($post[posts] / $jointime));
}
You have to download starhack from the link I posted to get the images...
-Dennis