OK finally after a bit of confusion I have this up and running on my server :)
but it does not seem to work.. I have used the admin interface toadd a client and have inputted the banner url and specified 30 days...
It also tells me I must include the following files in each page I want the banners to be displayed..
At the moment as I have a launch notifiaction page up and all my site is in a folder called test there is not much point in setting the whole thing up.. But I wanna test it on one page :)
So I have included the folowwing where my banner should go..
Is this right ? Well, the banner is not being displayed and I can see the includes on my html on a view source..
As my folder is test, I have done the ../ to get it back to the root folder and then the path is correct..
Any ideas on why this does not work ? ?
for those of you that have noticed the comma serror in the second include I have fixed this and no luck :(
I have also tried
Have you tried <!--#include virtual=""--> instead?
What about changing the pages to be php and try uing PHPs include?
I did get phpAds to work on my site. Think I had to have the index.html page as index.php though.
thanks for the suggestions Keith but no luck...:(
I tried virtual....
I also tried chaning the extension of my page to php that I am testing..
If you do view source the includes still show.. surely they shouldn't huh ?
[Edited by Cloughie on 11-01-2000 at 05:56 AM]
Cloughie, the reason the includes are still showing is because you didn't name the file as a .shtml instead of .html
I forgot to do that once and couldn't understand why :EL:
tried that too !!!!
Kevin managed to help me ... I am going to change all of my pages in my site to .php, then use php includes :)
ANOTHER PROB.. :(
OK the includes are now working I think
Any used php ads ? I have made up 2 customers... One with a html adresss, and the other as a sql...
I can't seem to get it to work...
I have included the files before any html in the .php page like so..
What do I put where the banner should go ? ?
I have tried view(1); for example... It says the view function is undefiined ? ? Surely the view thing should be in the include files..., which leads me to suspect the includes aren;t working.. but when you view source the page I can;t see the includes just a blank space so then I think they are !!
Any ideas. ?
[Edited by Cloughie on 11-01-2000 at 08:31 AM]
I can't remember how i got it to work. I don't use it anymore.
I'd suggest going to the phpAds support forum at http://www.phpwizard.net/phorum/list.php?f=2 and asking for help there.
been al over the iste and other people have asked the same question with no usefull answers..
I still get fatal error - call to unsupported or undefined function view ()
I am doing
Which is supposed to view a randonm error...
The view include file sets the function for this so I think I am doing things right ?
anyone else ?
I just joined CJ.com but haven't setup by banners yet. I'm pretty sure I still have phpAds setup somewhere on my site.
I'll play around with it and see if i can remember how I did it :)
Well Cloughie, I got my phpAds to work :)
This is the code i used to call on the banner <a href="/phpAds/click.php3"><img src="/phpAds/phpads.php3?what=468x60&n=ban1" border="0"></a> and it seems to work ok.
Because vBulletin uses a table called session I had to put phpads before all phpads tables and go through every file editing the call to the tables :(
But it's working now :D
A working example is at http://www.webmasterswork.com
Now that only calls the same banner over and over because it mentions ban1 in the image tag but as far as I remember you can just leave the what=468x60 to show random banners.
I'll add a few more banners and see if I can get it to chose random ones and if so i'll post how I did it here.
Yes, just having <a href="/phpAds/click.php3"><img src="/phpAds/phpads.php3?what=468x60" border="0"></a> works fine.
Did you get it sorted yet?
What does 468x60 mean ? Obviously the size of the banner. I have two clients in my phpads...
How do I rotate the,.randomaise them, etc.... I.,e change the display options... ?
Hey I added you on icq... Can you turn it on ? :)
ok 468x60 in random yeah ?
However when I keep refreshing the same banner shows... The sql one....
I also have a html banner with a url etc.. This one dosen;t come up..
Is it best to generally keep them in sql ?
Also when you delete a client does it delete the graphic from the db ?
Sorry for all the q's :)
got it all sorted now....
No problem Cloughie, glad I could help :D