I was wondering what program I use to make a random ad generator. I am assuming this is PHP. Anyone know of a good one to use that is easy to use. Thanks, Justin.
I was wondering what program I use to make a random ad generator. I am assuming this is PHP. Anyone know of a good one to use that is easy to use. Thanks, Justin.
Hey Justin,
I can't help you with this one, 'cus I'm a tech dummy, but I *do* know what you're looking for, so I edited the title of your thread, so you should get some answers in here quicker.![]()
- Cindy
slycin56@videopokerjunkie.com
I am using http://www.banner4all.dk , and i am very happy with it !
That is really easy to use:Originally Posted by jackpotcasinoguide
No database Ad Rotator
http://markdonline.com/code/code.php3
I use http://www.phpadsnew.com
The install is easy (requires PHP & MySQL) but might take a bit to get used to it because it's very powerfull.
Hi Croup - Is PhpAdNews compatible with every server & editor? For example, GamblingGirl is built/uploaded using Frontpage and its extensions, and sits on a Unix server.
- Cindy
slycin56@videopokerjunkie.com
phpadsnew is only "compatible" if your server is PHP-enabled. If this is the case, you can make it work with anything no matter what it is - Unix, NT, etc.
Spearmaster
Spearmaster's Gambling Blog and Soap Box
PHP and mysql are required. Install of both is a real breeze on Linux. Most website hosts run Linux cin, so I'd guess you're running it as well (not Unix). But then again, what do I know.
www.bettingmonster.com - PM me to exchange links.
:LOL: No, it's what do I know.Originally Posted by donl
![]()
![]()
:LOL: I'm admittedly technologically challenged and damn proud of it! :rof: :rof: Hey, I'm a marketer - I'll keep that skill any day.
:LOL:
Even tho this board runs on PhP and MySQL, it was installed by Croupier, who also installed PhPAdnews for the banner ads here. I know NOTHING about the backend of these - only how to work the front ends. :LOL:And you couldn't pay me enough to try to install any of it, anywhere. :eeek: I would probably take down the whole internet, single-handedly. :LOL: :rof: :LOL: :rof:
- Cindy
slycin56@videopokerjunkie.com
try that very simple to use:
just place the script where you want the banners to appearCode:<SCRIPT language="JavaScript"> // <!-- Main function banners() { this[1]="http://YOURLINKGOESHERE.COM"; this[2]="YOURBANNER.gif"; this[3]="http://YOURLINKGOESHERE.COM"; this[4]="YOURBANNER.gif"; this[5]="http://YOURLINKGOESHERE.COM"; this[6]="YOURBANNER.gif"; if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) < 3)) { return(' '); } var j=(new Date()).getSeconds() % 3; document.write('<a href=' + this[2*j+1] + ' target=blank><img src=' + this[2*j+2] + ' border=0 width=468 height=60></a>'); return(' '); } // --> </SCRIPT> <SCRIPT language="JavaScript"> // <!-- Main banners(); // --> </SCRIPT>
you can add more fields with the same format (this[7]= this[8]= etc.)
Wow - that looks like an easy script! Even for FrontPage!! Thanks!k:
- Cindy
slycin56@videopokerjunkie.com
That's exactly what I've been looking for!I used it at http://www.rtgcasinos.org and I have only one problem, it'll only show three of the 6 banners I put in, is there anything in the code I need to change so it shows all 6?
Can you use this script twice on the same page? I run two banners at a time on my home page, and I would love to be able to rotate them.
Yes I just tested it out on the above page and it works great! One is a 468x60 set and the other I changed to a 125x125Love this script!
Cool. I'm going to give it a try. Did you get it to work for six banners yet?
No buy I'm still working on itIf I get it to work I'll let you know what you have to change to make it work.
I think I have it working...
I set it up for 6 banners and 5 of the 6 work but one gives an undefined error...
stand by
Ok folks...here it is...
Please note in the above example I set the first < 3 to a <1 I'm guessing this has to do with the time...and I wanted it lower to accelerate the testing....and 3 may be optimall....(TEST THAT using different variables)Code:<SCRIPT language="JavaScript"> // <!-- Main function banners() { this[1]="http://www.yoururlhere.com"; this[2]="image.gif"; this[3]="http://yoururlhere.com"; this[4]="image.gif"; this[5]="http://yoururlhere.com"; this[6]="image.gif"; this[7]="http://yoururlhere.com"; this[8]="image.gif"; this[9]="http://www.yoururlhere.com this[10]="image.gif"; if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) < 1)) { return(' '); } var j=(new Date()).getSeconds() % 6; document.write('<a href=' + this[2*j+1] + ' target=blank><img src=' + this[2*j+2] + ' border=0></a>'); return(' '); } // --> </SCRIPT> <SCRIPT language="JavaScript"> // <!-- Main banners(); // --> </SCRIPT>
the other portion is the % 6 (this would be the number of images....)
(I'm not sure what the limit is here...but it does appear to support changes well.)
Anybody know where this came from...I have not seen it before but may use it on a few pages for testing and see how it does....
I did change the size statement as it APPEARS that if your image is slightly off in size, (even by 1 pixel) you may get an error about undefined. You can easily set size in a table....or be sure to use images EXACTLY the size defined...
Next is to try this in a shared border for the front page lovers.....
I'll let you know...if anyone has a urgent hankering for this pm me and I'll try it right away....pretty easy test I would assume just try it with some 125x125's....
Rick
Universal4
I've got it in shared borders on this site I use FP 2002 and it works well, I'll go try the adjustments to use the six banners thanksI'll let you know what happens!