ok, lets go:
Open AdminCP, go to Plugin management and edit this plugin: "AWS: Show Warning Options/Points in Postbit/Threads"
replace this:
Code:
global $hierarchical, $viewoption, $showpoints;
with this:
Code:
global $hierarchical, $viewoption, $showpoints, $vbulletin, $stylevar;
scroll down to the end of the plugin and BEFORE this:
Code:
DEVDEBUG("useradmin = $useradmin, postadmin = $postadmin, usermod = $usermod, postmod = $postmod, usersmod = $usersmod");
DEVDEBUG("showpoints = $showpoints, showwarnsignmgm = $showwarnsignmgm, showwarnsign = $showwarnsign");
DEVDEBUG("showwarnlink = $showwarnlink, showviewwarnlink = $showviewwarnlink, showviewyourslink = $showviewyourslink");
add this:
Code:
if ($post[warning_level]>0) {
$width_max = 70;
$percent = $post[warning_level]/$vbulletin->options['warn_points_before_banned'];
$width_max = $width_max - 4;
$width1 = round($percent*$width_max);
$width2 = $width_max-$width1;
$graphic_warn_level = "<img src=\"".$stylevar[imgdir_misc]."/warn_left.png\" width=\"2\" height=\"10\"><img src=\"".$stylevar[imgdir_misc]."/warn_dark.png\" width=\"".$width1."\" height=\"10\"><img src=\"".$stylevar[imgdir_misc]."/warn_light.png\" width=\"".$width2."\" height=\"10\"><img src=\"".$stylevar[imgdir_misc]."/warn_right.png\" width=\"2\" height=\"10\">";
}
ATTENTION: in this variable $width_max change "70" for the MAXIMUM width of the bar you can use in postbit. I have 70 pixels to use, so i set it to 70. When doing the edit, set it to some value (IN PIXELS) that fits to your template.
Now you must go to template edition and edityour postbit/postbit_legacy template.
Find this:
Code:
Warnings Level: $post[warning_level]
and replace with
Code:
Warnings Level: $graphic_warn_level
Upload the attached images to your MISC image directory.
And now just enjoy your cool userbar instead of just numbers
See attached image to see how is the final result (my text is in portuguese, but after you follow this small tutorial you will get the text in ENGLISH).
Hope you enjoy this little mod. Thanks you all!