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)
-   -   Simple banner rotate script? (https://gfy.com/showthread.php?t=1000221)

DWB 12-02-2010 02:05 PM

Simple banner rotate script?
 
Looking for something simple to run a banner inside a members area. Ditching OpenX.


What cha got up your sleeves?

Value 12-02-2010 02:13 PM

Smokey posted "ghetto openx" here - do a search.

GlazedMedia 12-02-2010 03:42 PM

Quote:

Originally Posted by DirtyWhiteBoy (Post 17744191)
Looking for something simple to run a banner inside a members area. Ditching OpenX.

What cha got up your sleeves?

Probably too simple for your needs but this does a rotation - glazedmedia.com/rotator.txt

myneid 12-02-2010 03:46 PM

you just want to rotate banners and nothing more?

http://www.htmlbasix.com/banner.shtml
^^google search led to tht

DWB 12-02-2010 03:54 PM

Quote:

Originally Posted by myneid (Post 17744508)
you just want to rotate banners and nothing more?

http://www.htmlbasix.com/banner.shtml
^^google search led to tht

Yea, but randomly rotate them.

If I load up say 10 banners, it would just pull them at random and load them up. I'm putting this in an include and will put on a few different pages.

DWB 12-02-2010 03:55 PM

Quote:

Originally Posted by GlazedMedia (Post 17744502)
Probably too simple for your needs but this does a rotation - glazedmedia.com/rotator.txt

Thanks.

Quote:

Originally Posted by Value (Post 17744209)
Smokey posted "ghetto openx" here - do a search.

God bless Smokey, I'll check it out. Thanks.

fris 12-02-2010 03:58 PM

you could just add them in a .txt file 1 per line with linkcode, and rotate them that way.

Code:

<?
$file = "ads.txt";
$fp = file($file);
srand((double)microtime()*1000000);
$urls = $fp[array_rand($fp)];
echo $urls;
?>


ruff 12-02-2010 06:56 PM

Try this one. You will like it. I use it a lot and it works great.

http://www.spyka.net/docs/simple-banner-rotator

HomerSimpson 12-02-2010 07:15 PM

javascript or php

simple array with random selection and output...
5 minutes of coding job...


All times are GMT -7. The time now is 12:39 AM.

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