Thanks for you great help with this, after quite a bit of trial and error I think it's working:
Attachment 137125
The only thing that doesn't work, is that on my modified arcade's main page I call the vBulletin bbcode parser (to parse smilies in the Latest Comments section).
This gives a php error on the favourites page so I had to comment it out:
PHP Fatal error: Call to a member function query_read_slave() on a non-object in /var/www/vhosts/bowlandcentral.com/httpdocs/testvb/includes/class_bbcode.php on line 258
Not really a major problem, but I'm intrigued as to why it doesn't work.