Thx Firefly,
So does this look right:
// ###################### Start buildpostbit #######################
function getpostbit($post) {
// sorts through all the stuff to return the postbit template
// user
global $bbuserinfo,$ignore;
// showthread
global $counter,$firstnew,$sigcache,$highlight,$postid,$f orum;
// global options
global $showdeficon,$showonline,$displayemails,$enablepms ,$allowsignatures,$wordwrap,$dateformat,$timeforma t,$logip,$replacewords,$postsperday,$avatarenabled ,$registereddateformat,$viewattachedimages;
if ($userinfo[field5]) {
$userinfo[field5] = "<img src='$userinfo[field5]' border='0'>";
}
if ($counter%2==0) {
$post[backcolor]="#F1F1F1";
$post[bgclass] = "alt1";
} else {
$post[backcolor]="#DFDFDF";
$post[bgclass] = "alt2";
}
|