Well, if you have a plugin I think you can just create your own array and register it to your template, like:
Code:
$pageinfo_post = array(
'p' => $postid
);
Of course I don't know if $postbit is the right variable, but you can change that to whatever you need.
Then if your plugin is rendering the template, call register('pageinfo_post', $pageinfo_post) before the call to render(). If you're putting that in an exitsing template, then you need ti call preRegister instead, like
Code:
vB_Template::preRegister('template_name', array('pageinfo_post' => $pageinfo_post));