News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

PHP Banner Ads

Started by bowhuntingohio, July 27, 2007, 06:49:55 PM

Previous topic - Next topic

bowhuntingohio

Hi I have a php banner ad stand alone script I use on my website but cant get it to show up on the forum? I use a custom template and I dont want to use anyother program but this one so here is what I got

<? include("home/name/public_html/phpads/ad.php") ?>

It shows nothing ????
So has anyone used include in their forum ?? and if so what am I missing ??
Thanks in advance

karlbenson

#1
You can use include.

Are you using it in the Theme/{theme}/ directory
as it won't work in the sources directory.

and chance area, whereever your putting it, you wont need the <?  ?> bits

bowhuntingohio

Quote from: karlbenson on July 27, 2007, 08:13:05 PM
You can use include.

Are you using it in the Theme/{theme}/ directory
as it won't work in the sources directory.

and chance area, whereever your putting it, you wont need the <?  ?> bits

I am using it in the themes index.template.php  right before the table end tag . It shows whatever I want to type as text in the correct spot but no php Also i revoved the <? ?> tags still no luck ??

Advertisement: