View Single Post
  #3  
Old 03-20-2008, 04:27 PM
Tigratrus's Avatar
Tigratrus Tigratrus is offline
Senior Member
 
Join Date: Nov 2006
Posts: 206
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Thanks Morgan! That started me down the right path...

For anyone else trying to do the same thing here's how I fixed it:

1. Open vba_cmps_include_top.php which should be located in your forums/includes directory.
2. Find the lines
Code:
// ##### Function to Print The Page Out #######################################
function print_portal_output(&$home, $nonindex = false, $from_print_output = false)
{
and add a new line under them

Code:
	global $GAB_ads;

This fix works for CMPS 3.0 RC2 (though the concept/requirement is probably common to more CMPS versions), and is specifically needed if you are using CMPS Template modules and you want to have GAB banners show up in the module.

One more problem down...

::Snoopy's happy dance::

James and Susan
Reply With Quote