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)
-   -   rotate affiliate ads....... PLZ HELP!!! (https://gfy.com/showthread.php?t=932647)

milkhead 10-10-2009 11:01 PM

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

brassmonkey 10-10-2009 11:03 PM

openx but i want something lighter

BJ 10-10-2009 11:03 PM

http://www.jonathangiles.net/blog/wp...4bdb08a481.jpg

Killswitch - BANNED FOR LIFE 10-10-2009 11:05 PM

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.

JD 10-10-2009 11:23 PM

is it a wordpress blog?
http://wordpress.org/extend/plugins/random-ads/

milkhead 10-11-2009 07:42 AM

Quote:

Originally Posted by Killswitch (Post 16417875)
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 10-11-2009 08:02 AM

someone ICQ me at 439815420 to help plz :D

Killswitch - BANNED FOR LIFE 10-11-2009 08:52 AM

Quote:

Originally Posted by milkhead (Post 16418384)
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.

JJdotAM 10-11-2009 09:07 AM

Quote:

Originally Posted by Killswitch (Post 16417875)
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 :)

Killswitch - BANNED FOR LIFE 10-11-2009 09:10 AM

Quote:

Originally Posted by JJdotAM (Post 16418520)
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.

milkhead 10-11-2009 04:42 PM

Quote:

Originally Posted by JJdotAM (Post 16418520)
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 10-11-2009 04:44 PM

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

Babaganoosh 10-11-2009 04:55 PM

Holy fucking shit. Who let the noobs in?

Deej 10-11-2009 04:57 PM

Quote:

Originally Posted by Babaganoosh (Post 16419692)
Holy fucking shit. Who let the noobs in?

I just found out that you are eggplant spread....

Babaganoosh 10-11-2009 04:58 PM

Quote:

Originally Posted by Deej (Post 16419697)
I just found out that you are eggplant spread....

That's Baba Ghannouj. My name has absolutely nothing to do with that.

fris 10-11-2009 05:01 PM

Quote:

Originally Posted by JJdotAM (Post 16418520)
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


All times are GMT -7. The time now is 02:41 AM.

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