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 10-10-2009, 11:01 PM   #1
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
rotate affiliate ads....... PLZ HELP!!!

rotate affiliate ads.... how do i do that any script and etc????? someone plz help cant find any thing .... i want my affiliate html codes to change like every 5 secs
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2009, 11:03 PM   #2
brassmonkey
Pay It Forward
 
brassmonkey's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 77,156
openx but i want something lighter
__________________
TRUMP 2025 KEKAW!!! - The Laken Riley Act Is Law!
DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com
brassmonkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2009, 11:03 PM   #3
BJ
Confirmed User
 
BJ's Avatar
 
Join Date: Mar 2002
Location: asia
Posts: 5,590
BJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2009, 11:05 PM   #4
Killswitch - BANNED FOR LIFE
Guest
 
Posts: n/a
Code:
<?php
$html[0] = '<a href="link here"><img src="banner here" /></a>';
$html[1] = '<a href="link here"><img src="banner here" /></a>';
$html[2] = '<a href="link here"><img src="banner here" /></a>';
$html[3] = '<a href="link here"><img src="banner here" /></a>';
$html[4] = '<a href="link here"><img src="banner here" /></a>';
$r = rand(0, count($html));
echo $html[$r];
?>
Quick and dirty way.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2009, 11:23 PM   #5
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
is it a wordpress blog?
http://wordpress.org/extend/plugins/random-ads/
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 07:42 AM   #6
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
Quote:
Originally Posted by Killswitch View Post
Code:
<?php
$html[0] = '<a href="link here"><img src="banner here" /></a>';
$html[1] = '<a href="link here"><img src="banner here" /></a>';
$html[2] = '<a href="link here"><img src="banner here" /></a>';
$html[3] = '<a href="link here"><img src="banner here" /></a>';
$html[4] = '<a href="link here"><img src="banner here" /></a>';
$r = rand(0, count($html));
echo $html[$r];
?>
Quick and dirty way.
can i set a time interval withe code?
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 08:02 AM   #7
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
someone ICQ me at 439815420 to help plz :D
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 08:52 AM   #8
Killswitch - BANNED FOR LIFE
Guest
 
Posts: n/a
Quote:
Originally Posted by milkhead View Post
can i set a time interval withe code?
No, you'll need a more extensive script. I can do that, but it won't be free.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 09:07 AM   #9
JJdotAM
Registered User
 
Join Date: Apr 2009
Posts: 25
Quote:
Originally Posted by Killswitch View Post
Code:
<?php
$html[0] = '<a href="link here"><img src="banner here" /></a>';
$html[1] = '<a href="link here"><img src="banner here" /></a>';
$html[2] = '<a href="link here"><img src="banner here" /></a>';
$html[3] = '<a href="link here"><img src="banner here" /></a>';
$html[4] = '<a href="link here"><img src="banner here" /></a>';
$r = rand(0, count($html));
echo $html[$r];
?>
Quick and dirty way.
This will change the ad with every page load? Where is the code placed? thx
JJdotAM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 09:10 AM   #10
Killswitch - BANNED FOR LIFE
Guest
 
Posts: n/a
Quote:
Originally Posted by JJdotAM View Post
This will change the ad with every page load? Where is the code placed? thx
Yes, it will choose a random one every pageview. You can put it in it's own file, then just include it anywhere you want the ad to show up.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 04:42 PM   #11
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
Quote:
Originally Posted by JJdotAM View Post
This will change the ad with every page load? Where is the code placed? thx
this is the test pg i made if someone can help that would be cool..... (had to put spaces in my url cuz i cant post urls as of yet.... i need to make 30 plus post on gfy first)

prettypinklips .com /pracz . html
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 04:44 PM   #12
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
this is the test pg i made if someone can help that would be cool..... (had to put spaces in my url cuz i cant post urls as of yet.... i need to make 30 plus post on gfy first) ;)

prettypinklips .com /pracz . html
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 04:55 PM   #13
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Holy fucking shit. Who let the noobs in?
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 04:57 PM   #14
Deej
I make pixels work
 
Deej's Avatar
 
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
Quote:
Originally Posted by Babaganoosh View Post
Holy fucking shit. Who let the noobs in?
I just found out that you are eggplant spread....
__________________

Deej's Designs n' What Not
Hit me up for Design, CSS & Photo Retouching


Icq#30096880
Deej is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 04:58 PM   #15
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Quote:
Originally Posted by Deej View Post
I just found out that you are eggplant spread....
That's Baba Ghannouj. My name has absolutely nothing to do with that.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2009, 05:01 PM   #16
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by JJdotAM View Post
This will change the ad with every page load? Where is the code placed? thx
hit me up when you have a sec, i might have something for ya 704-299
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris 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.