To post the title for threads to Twitter, edit
tweet.php
Find the section that starts with:
PHP Code:
if($_GET['do'] == 'thread')
{
Find:
PHP Code:
$twitter->OAuthRequest('https://twitter.com/statuses/update.xml', array('status' => $vbphrase['twitter_checkout'] . $vbulletin->options['bburl'] . '/tt.php?i=' . $vbulletin->GPC['id']), 'POST');
Change to:
PHP Code:
$thread = $db->query_first("SELECT title FROM " . TABLE_PREFIX . "thread WHERE threadid = " . $vbulletin->GPC['id']);
$twitter->OAuthRequest('https://twitter.com/statuses/update.xml', array('status' => $thread['title'] .' - '. $vbulletin->options['bburl'] . '/tt.php?i=' . $vbulletin->GPC['id']), 'POST');
This only works when Twittering a thread.
I have not looked into sending post titles yet, though it should also be trivial.