Does Azoogle have a banner rotator?

Status
Not open for further replies.

Mike

New member
Jun 27, 2006
6,777
116
0
51
On the firing line
I'm trying to figure out if Azoogle has some kind of banner rotator. Been staring at my Azoogle account for some time now and can't figure out where they hide it.

And for some reason, AIM can't find my rep (I keep getting a message that his email and AIM name returns too many results). Weird.
 


Okay, so I gave up trying to find a banner rotator on Azoogle's site, and used a PHP rotator that I had. Here it is:

Code:
    <?php
    $fcontents = join ('', file ('adverts.txt')); //change 'adverts.txt' to the name of your file
    $s_con = split("~",$fcontents);
    $banner_no = rand(0,(count($s_con)-1));
    echo $s_con[$banner_no];
    ?>

In addition to the php code, you'll need a .txt doc with the HTML code for your ads, each ad needs to be separated from the next with a '~' tilde (minus quotes).

So, your .txt would look similar to this:

Code:
<a href="http://www.YourSponsor.com/"><img src="http://www.YourAdImage.com/"></a>
~
<a href="http://www.YourSponsor.com/"><img src="http://www.YourAdImage.com/"></a>
~
<a href="http://www.YourSponsor.com/"><img src="http://www.YourAdImage.com/"></a>
~
<a href="http://www.YourSponsor.com/"><img src="http://www.YourAdImage.com/"></a>

Ad the PHP to your site, wherever you want ads to show up. Then whenever that page is refreshed it will grab an ad at random from your .txt file. If you are using a forum software that will allow you to put inline ads using HTML, but not PHP, just make the PHP code it's own file, and use an iFrame to call it.

You can see an example of this on my forum: Wii Point - The #1 Nintendo Wii Discussion Forum!

I've got it set up for the inline ads. So just choose any topic and you will see one of the ads after the first post and each 10th post.
 
Status
Not open for further replies.