I was actually wondering why this doesn't work on postbit_display_complete:
Code:
$ok_ids = $vbulletin->options['allowedforum_ids'];
$ok_ids_array = explode("," , $ok_ids);
if (in_array( $foruminfo['forumid'],$ok_ids_array))
{
$links = explode(',',$thread['links']);
$scans = explode(',',$thread['scans']);
array_pop($links);array_pop($scans);
vB_Template::preRegister('postbit_legacy',array(
'links' => $links,
'scans' => $scans
));
vB_Template::preRegister('postbit',array(
'links' => $links,
'scans' => $scans
));
}
It should display two boxes beneath the post text, which does fine but after using the quick edit it disappears and I have to refresh.