In template newthread you can add your button like this: find the existing buttons by searching for submit_new_thread and add
Code:
<input type="submit" class="button" name="calendar" value="New Thread + Calendar Entry" accesskey="c" tabindex="1" />
(you can make a phrase for it if you want)
Then add a plugin to get the value if that button is pushed: hook location newthread_post_start, code:
PHP Code:
$newthread['calendar'] = $vbulletin->input->clean_gpc('p', 'calendar', TYPE_STR);
One more plugin to redirect to the calendar, hook location newthread_post_complete, code:
PHP Code:
if ($newthread['calendar'])
{
$vbulletin->url = 'calendar.php?' . $vbulletin->session->vars['sessionurl'] . "do=add&c=1";
if ($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads'])
{
eval(print_standard_redirect('redirect_postthanks', true, true));
}
else
{
eval(print_standard_redirect('redirect_postthanks_nopermission', true, true));
}
}
If you want you might want to make another phrase that says "Thanks for posting, now you're going to the calendar" or something like that (although I find you don't often really see that page anyway). BTW, I don't know if you really need the check for permissions here, but I just copied the code for submitting a poll).
The only thing about this is that after filling in the calendar entry it won't take you back to your thread, but maybe that's OK (or maybe you can work that part out).