Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-27-2008, 11:56 AM   #1
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
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.
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 11:59 AM   #2
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
a script like this would be very usefull to me too...
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:35 PM   #3
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
bump bump
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:39 PM   #4
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
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
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:46 PM   #5
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
Quote:
Originally Posted by mortenb View Post
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.
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:46 PM   #6
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
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
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:50 PM   #7
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
Quote:
Originally Posted by cyberxxx View Post
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.
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 02:57 PM   #8
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
Quote:
Originally Posted by TheSenator View Post
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>
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 03:00 PM   #9
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
www.openads.org
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 03:01 PM   #10
Mike Semen
Confirmed User
 
Mike Semen's Avatar
 
Join Date: Dec 2001
Location: London Town
Posts: 2,924
openads.org?
__________________
ICQ 1454 81 522 |
Mike Semen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 03:21 PM   #11
MarcWomack
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Manila, Philippines
Posts: 529
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.
__________________
Regards,
MarcWomack.com
Internet Advertising & Outsourcing Consultant
MarcWomack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 04:32 PM   #12
pip
So Fucking Banned
 
Join Date: Nov 2005
Location: Netherlands
Posts: 468
Quote:
Originally Posted by ConsumptionJunction View Post
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
pip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 04:36 PM   #13
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
Quote:
Originally Posted by pip View Post
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
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 04:37 PM   #14
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by Mike Semen View Post
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
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 10:18 PM   #15
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
i am going to try openads...bye
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 10:38 PM   #16
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by ConsumptionJunction View Post
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...
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-28-2008, 06:34 AM   #17
MarcWomack
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Manila, Philippines
Posts: 529
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.
__________________
Regards,
MarcWomack.com
Internet Advertising & Outsourcing Consultant
MarcWomack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-28-2008, 06:36 AM   #18
MarcWomack
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Manila, Philippines
Posts: 529
Quote:
Originally Posted by pip View Post
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.
__________________
Regards,
MarcWomack.com
Internet Advertising & Outsourcing Consultant
MarcWomack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-28-2008, 06:59 AM   #19
MarcWomack
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Manila, Philippines
Posts: 529
Quote:
Originally Posted by stickyfingerz View Post
I got signed up and never got an email back with confirmation etc...
Just approved your account, user/pass is in your inbox!
__________________
Regards,
MarcWomack.com
Internet Advertising & Outsourcing Consultant
MarcWomack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-28-2008, 10:42 AM   #20
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by ConsumptionJunction View Post
Just approved your account, user/pass is in your inbox!
All good nice talkin to you Marc. Thanks
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2008, 10:40 PM   #21
comeplay
Confirmed User
 
comeplay's Avatar
 
Join Date: Nov 2004
Location: Greater Washington DC
Posts: 1,435
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 View Post
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>
__________________
Top virtual hosts for under 10$? www.hostmylife.com | icq 50663030
comeplay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2008, 12:33 AM   #22
Turboface
Back in Black
 
Turboface's Avatar
 
Industry Role:
Join Date: Mar 2002
Posts: 9,976


If you want to talk, hit me up on ICQ:143702021
Turboface is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2008, 02:34 AM   #23
webboy21
Confirmed User
 
Industry Role:
Join Date: Nov 2004
Location: The Netherlands
Posts: 573
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 ;)
__________________
Available for: CSS | XHTML | PHP | MySQL | Webdesign

webboy21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2008, 05:19 AM   #24
The Judge
Confirmed User
 
Join Date: Jan 2006
Location: Mobile, AL
Posts: 1,647
some nice ideas in here
__________________
The Judge is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.