ciao a tutti.....averei un problema da risolvere...

sto creando una pagina in php che mi visualizza gli ultimi post del forum utilizzando l'addon per vbulletin...vbexternal....tuttavia questa pagina deve essere visualizzata all'interno di un modulo di Mambo e succede che se il titolo del Topic supera la larghezza della colonna mi sfasa tutto il template del sito. Vi posto il file che usa l'addon...a me interessa visualizzare gli ultimi post ( vi posto la funzione interessata) qualcuno può dirmi cosa devo modificare e come? grazie mille!


// ---------------------------------------------------
// FUNCTION: output_NewestThreads
// DETAIL: Outputs X newest threads ordered by
// start date descending. $a
// specifies amount to show (Default 5)
// and $f can specify certain forums
// to grab from (1,3,4), by default it pulls
// from all forums.
// ---------------------------------------------------

function output_NewestThreads($a = 5,$f = ""){
global $db, $Data;

// Define amount to show
$Amount = ($a)? intval($a) : 5;

// Define Forum(s) To Pull From
$Forums = ($f)? $f: '';
$SQL = '';

if($Forums){
$SQL = " where forumid in({$Forums})";
}

// Load Template
$Template = LoadTemplate("newest_threads.html");

// Collect Data
$NewestThreads = $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount");

while($Thread = $db->fetch_array($NewestThreads)){
$Data .= ParseTemplate($Template,
array(
'threadid' => $Thread['threadid'],
'threadname' => $Thread['title'],
'postuserid' => $Thread['postuserid'],
'postusername' => $Thread['postusername'],
'replies' => vb_number_format($Thread['replycount']),
'views' => vb_number_format($Thread['views']),
'lastposter' => $Thread['lastposter'],
)
);
}

doOutput();
}