Thanks for your quick reply! Your help is much appreciated. I am using phpBB3, and it shows up on my portal page and the forum page. I am more interested in getting it to work on the portal page which is where this code is from.