SMF Ads Support Forum

Support => General Support => Topic started by: alexsbrown on July 21, 2006, 11:07:40 pm

Title: SSI Integration Fixes Needed
Post by: alexsbrown on July 21, 2006, 11:07:40 pm
Thanks for the great mod, but I have an improvement to offer. All the changes made to the index.php should also be made to SSI.php. I use SSI to make some of my non-forum pages look just like my forum. I pick up the header area, and it originally broke when I installed the mod.

All that is needed is to make the following changes to the SSI.php, the same way they were made to index.php:
Add
Code: [Select]
require_once($sourcedir . '/LoadAds.php'); right below
Code: [Select]
require_once($sourcedir . '/Security.php');
Add
Code: [Select]
// Load all the ads up
loadAds();
right after
Code: [Select]
loadPermissions();
That fixed up the problems I was seeing.
Title: Re: SSI Integration Fixes Needed
Post by: bigguy on July 22, 2006, 01:05:21 pm
Thanks for sharing