MrEyes
12-11-2008, 06:39 PM
Hello all,
There is a small bug in the Crowns in Postbit plugin
In summary if you select to not use the postbit marquees and only use static images a rogue </marquee> tag is left in the output html.
This can be fixed by changing the following line in the plugin code:
if ($crown['type'] != 0)
to:
if (($crown['type'] != 0) && ($crown['type'] != 3))
There is a second markup bug in the same plugin if you include tournament wins in postbit:
Find:
$champtext = "<a href='arcade.php?do=viewtourneyend' target='_blank' alt=''>".$vbphrase[ibpa_tourney] . " <b>" . $tourneys[$post[userid]] . "</b></a><br />";
change to:
$champtext = "<a href='arcade.php?do=viewtourneyend' target='_blank'>".$vbphrase[ibpa_tourney] . " <b>" . $tourneys[$post[userid]] . "</b></a><br />";
The unnecessary alt='' throws a validation error
There is a small bug in the Crowns in Postbit plugin
In summary if you select to not use the postbit marquees and only use static images a rogue </marquee> tag is left in the output html.
This can be fixed by changing the following line in the plugin code:
if ($crown['type'] != 0)
to:
if (($crown['type'] != 0) && ($crown['type'] != 3))
There is a second markup bug in the same plugin if you include tournament wins in postbit:
Find:
$champtext = "<a href='arcade.php?do=viewtourneyend' target='_blank' alt=''>".$vbphrase[ibpa_tourney] . " <b>" . $tourneys[$post[userid]] . "</b></a><br />";
change to:
$champtext = "<a href='arcade.php?do=viewtourneyend' target='_blank'>".$vbphrase[ibpa_tourney] . " <b>" . $tourneys[$post[userid]] . "</b></a><br />";
The unnecessary alt='' throws a validation error