View Full Version : Little Help Please
eddie43302
11-08-2006, 01:49 PM
ive been having a problem and im wondering of any of you know whats going on. its not really related to the forum program but since derek has been so much help and very knowledgeable i thought id ask.. on my main page located at http://www.freeforumcenter.com im using adman banner rotating script for the bottom ads but for some reason when you click on an ad its doesnt open a new page it basically opens a new page within the iframe at the bottom which is really bugging me...the adman program i even have set to open ad in new window but its not working... i guess it would be better to use the php call for the ad program but i cant get it to work everytime i try to add a call to adman you php my first page alwasy has errors and disappears. im not really very good at this kind of stuff i mean i tryed adding calls to the adman in the index.php and the footer.php but to no avail.. your help would be very appreciated..
Derek
11-08-2006, 07:04 PM
So your saying the ad program you are using uses iframes?
eddie43302
11-08-2006, 09:38 PM
you can either use iframes or do a call to php but im not having any luck putting a php call on there its not working for me maybe im not formating the call right or something im not very experienced with php here is a little snippet of the directions that come with the ad program..
To display ads on your site you simply add a call to the adman.php file on your page, where you want the add to appear. For .php pages use:
include("pathto/adman.php");
Where pathto is the full path to the adman.php file.
For non PHP pages you will need to use an <iframe> tag to display advertisements, like this:
<iframe align="middle" frameborder="0" height="80" hspace="0" src="pathto/adman.php" vspace="0" width="460"></iframe>
If you use this option make sure your ads are all the same height and width as you will need to preset the height and width attributes , if the iframe tag, accordingly. Note: iframe is not supported by all browsers and versions thereof.
like do i put the call in the footer.php or index.php i tried both but its not coming out right as stated before maybe im not calling right,i dont know the full code to putting a call on a php page if you visit my site and wait for one of the ads to come up to the bottom that are linked you will see what i mean the url opens where my ad is displayed at the bottom of my page..
Derek
11-08-2006, 11:25 PM
Your going to have to leave it like it is for now (with the links opening in the iframe). I will try and add a feature to let you use PHP ads in the multi-forums script to beta 8.
Derek
eddie43302
11-09-2006, 03:28 AM
hmm it stopped doing it now its working right my ads are now opening up in a new page without me even doing anything...
Derek
11-09-2006, 06:46 AM
Ok, atleast it's working now for you lol.
Derek
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.