GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need a PHP rotating text ad. (https://gfy.com/showthread.php?t=802903)

TheSenator 01-27-2008 11:56 AM

I need a PHP rotating text ad.
 
I need one that is similar to AVN ads or Black Label ads. I just need it for my private network.

PHP is what I want but will settle for a nice javascript.

I prefer a free one or if I have to pay it better be a good one.

Fat Panda 01-27-2008 11:59 AM

a script like this would be very usefull to me too...

TheSenator 01-27-2008 02:35 PM

bump bump

mortenb 01-27-2008 02:39 PM

very simple way of doing it

1. put the ad codes in an array
2. shuffle the array (use the php function shuffle)
3. echo out the first entry in the array

TheSenator 01-27-2008 02:46 PM

Quote:

Originally Posted by mortenb (Post 13704423)
very simple way of doing it

1. put the ad codes in an array
2. shuffle the array (use the php function shuffle)
3. echo out the first entry in the array

I just want a plug play.

just a punk 01-27-2008 02:46 PM

PHP Code:

<?php
$ads 
= array('<a href="http://www.cnn.com/">CNN</a>''<a href="http://www.ibm.com/">IBM</a>''<a href="http://www.microsoft.com/">Microsoft</a>');
shuffle($ads);
echo 
$ads[0];
?>

just 3 lines of code :)

TheSenator 01-27-2008 02:50 PM

Quote:

Originally Posted by cyberxxx (Post 13704443)
PHP Code:

<?php
$ads 
= array('<a href="http://www.cnn.com/">CNN</a>''<a href="http://www.ibm.com/">IBM</a>''<a href="http://www.microsoft.com/">Microsoft</a>');
shuffle($ads);
echo 
$ads[0];
?>

just 3 lines of code :)


How can I make it look like this?
http://pages.etology.com/imp2/35743.php


I want to be able to rotate multiple ads at the same time.

just a punk 01-27-2008 02:57 PM

Quote:

Originally Posted by TheSenator (Post 13704462)
How can I make it look like this?
http://pages.etology.com/imp2/35743.php


I want to be able to rotate multiple ads at the same time.

PHP Code:

<table>
<tr>
<?php
$ads 
= array('<a href="http://www.cnn.com/">CNN</a>''<a href="http://www.ibm.com/">IBM</a>''<a href="http://www.microsoft.com/">Microsoft</a>',  '<a href="http://www.fhgstore.com/">FHG Store</a>',  '<a href="http://www.thesponsorfeeds.com/">The Sponsor Feeds</a>',  '<a href="http://www.real-bucks.com/">Real-Bucks</a>');
shuffle($ads);
for (
$i 0$i 5$i++) { echo '<td>'.$ads[$i].'</td>'; }
?> 
</tr>
</table>


Jace 01-27-2008 03:00 PM

www.openads.org

Mike Semen 01-27-2008 03:01 PM

openads.org?

MarcWomack 01-27-2008 03:21 PM

www.madisonavenue.com - It's free, web-based ad rotation solution. We support Single TextAds (just one-liners) and Cluster TextAds (ad headline in bold, ad descrip below not in bold).

System is very powerful but easy to setup. You can use it to run any types of campaigns you want: affiliate, retail (ones you sell), internal/trade, and OPTIONALLY you can have us sell the traffic for you.

Hit me up and I'll run you through the system.

pip 01-27-2008 04:32 PM

Quote:

Originally Posted by ConsumptionJunction (Post 13704603)
www.madisonavenue.com - It's free, web-based ad rotation solution. We support Single TextAds (just one-liners) and Cluster TextAds (ad headline in bold, ad descrip below not in bold).

System is very powerful but easy to setup. You can use it to run any types of campaigns you want: affiliate, retail (ones you sell), internal/trade, and OPTIONALLY you can have us sell the traffic for you.

Hit me up and I'll run you through the system.

You take a % don't you?

He wants something for his private network, so all the revenue goes to him

just a punk 01-27-2008 04:36 PM

Quote:

Originally Posted by pip (Post 13704865)
You take a % don't you?

He wants something for his private network, so all the revenue goes to him

So the code I gave him above does :)

Jace 01-27-2008 04:37 PM

Quote:

Originally Posted by Mike Semen (Post 13704510)
openads.org?

yes, previously phpadsnew, the best ad system available, for free or paid

it does everything from displaying simple text ads to search engine targeted page results

Fat Panda 01-27-2008 10:18 PM

i am going to try openads...bye

stickyfingerz 01-27-2008 10:38 PM

Quote:

Originally Posted by ConsumptionJunction (Post 13704603)
www.madisonavenue.com - It's free, web-based ad rotation solution. We support Single TextAds (just one-liners) and Cluster TextAds (ad headline in bold, ad descrip below not in bold).

System is very powerful but easy to setup. You can use it to run any types of campaigns you want: affiliate, retail (ones you sell), internal/trade, and OPTIONALLY you can have us sell the traffic for you.

Hit me up and I'll run you through the system.

I got signed up and never got an email back with confirmation etc... :Oh crap

MarcWomack 01-28-2008 06:34 AM

Hmm, when did you sign up? It's Monday here (in Manila) so if you signed up over the weekend my guys might not have gotten to it yet.

MarcWomack 01-28-2008 06:36 AM

Quote:

Originally Posted by pip (Post 13704865)
You take a % don't you?

He wants something for his private network, so all the revenue goes to him

NO!!!!!!!!!!!! You can use the system as an ad rotation solution for FREE! It's even better than free as www.MadisonAvenue.com is a hosted solution so you don't have to devote any server hardware OR any bandwidth to serve your ads!

IF you choose to have us sell any of your ads for you we take a cut. But that's IF. You don't have to. We'll be happy having another Publisher using the system and giving us feedback on how to improve it.

MarcWomack 01-28-2008 06:59 AM

Quote:

Originally Posted by stickyfingerz (Post 13706140)
I got signed up and never got an email back with confirmation etc... :Oh crap

Just approved your account, user/pass is in your inbox!

stickyfingerz 01-28-2008 10:42 AM

Quote:

Originally Posted by ConsumptionJunction (Post 13707123)
Just approved your account, user/pass is in your inbox!

All good nice talkin to you Marc. Thanks :thumbsup

comeplay 02-05-2008 10:40 PM

This works great for what I need I have a quick question though, How would you format it in a way to have two next to each other and 5 different rows?

I was thinking for ($i = 0; $i < 5; $i++) { echo ''.$ads[$i].'&nbsp;'.$ads[$i].'<br>'; }

and that formats it how I want BUT the two are the same besides each other. How could I make that same layout but all 10 different links from the array?

Quote:

Originally Posted by cyberxxx (Post 13704493)
PHP Code:

<table>
<tr>
<?php
$ads 
= array('<a href="http://www.cnn.com/">CNN</a>''<a href="http://www.ibm.com/">IBM</a>''<a href="http://www.microsoft.com/">Microsoft</a>',  '<a href="http://www.fhgstore.com/">FHG Store</a>',  '<a href="http://www.thesponsorfeeds.com/">The Sponsor Feeds</a>',  '<a href="http://www.real-bucks.com/">Real-Bucks</a>');
shuffle($ads);
for (
$i 0$i 5$i++) { echo '<td>'.$ads[$i].'</td>'; }
?> 
</tr>
</table>



Turboface 02-06-2008 12:33 AM

http://www.addistributor.com/images/...twebmaster.png

If you want to talk, hit me up on ICQ:143702021

webboy21 02-06-2008 02:34 AM

the array one would work...but if you want it easily maintained you could use a tool that uses a database.....then all 10 could be different by random selection from the database......

I could make this of course ;)

The Judge 02-06-2008 05:19 AM

some nice ideas in here


All times are GMT -7. The time now is 09:40 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123