Is the magpie rss_fetch.inc file needed on each vBulletin page? You are currently loading it unconditionally in the "global_start" hook. This might lead to more overhead then needed.
PHP Code:
if ($post['field5']){
$num_items = 1;
$rss = fetch_rss($post['field5']);
if($rss) {
$items = array_slice($rss->items, 0, $num_items);
foreach ( $items as $item ) {
$blogTitle = $item['title'];
$blogLink = $item['link'];
}
}
}
As you overwrite $blogTitle and $blogLink each time you go thru the loop, only the last value will ever be displayed (assuming you can have more then 1 entry, otherwise the loop does also not make sense).