klawncare1239
Dec 9th 2004, 6:34 am
Anyone trying to use the ad co-op with Invision Power board forum?
I'm no php expert, but I can fiddle around and make just about any script work.
Invision Board is based upon templates and macros and such for creation of each page and is done in php.
I've tried inserting the code into the templates both with the php start/end tags and without.
If I put the tags in, nothing shows up and the code shows in the view source. If I take the tags out, the code shows up in my view source AND on the page, but no ads.
The txt file is chmod 777 as is the directory it's in.
I'm using the following code with the directory path inserted:
ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
include ('/home/klawncar/public_html/motor-oil/forums/ad_network.php');
echo $ad_network[0];
Both files are in that "forums" directory.
What am I missing?
I'm no php expert, but I can fiddle around and make just about any script work.
Invision Board is based upon templates and macros and such for creation of each page and is done in php.
I've tried inserting the code into the templates both with the php start/end tags and without.
If I put the tags in, nothing shows up and the code shows in the view source. If I take the tags out, the code shows up in my view source AND on the page, but no ads.
The txt file is chmod 777 as is the directory it's in.
I'm using the following code with the directory path inserted:
ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
include ('/home/klawncar/public_html/motor-oil/forums/ad_network.php');
echo $ad_network[0];
Both files are in that "forums" directory.
What am I missing?