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 03-06-2011, 01:14 PM   #1
Horny Joe
Confirmed User
 
Horny Joe's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: Online
Posts: 2,661
Banner rotator

I have been googeling for a banner rotator, and I find many, many. Too many, so I ask here: what to use on my TGPs? Any advice?
Horny Joe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 02:05 PM   #2
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,488
I use photoshop.

Open your banner and goto 'Image' in the top menu. From the drop down menu, select 'image rotation' and choose 180 degrees.

Your banner will now be rotated.



See?
__________________


👁️ 👍️ 💩

Last edited by CurrentlySober; 03-06-2011 at 02:06 PM..
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 02:15 PM   #3
Godsmack
Confirmed User
 
Industry Role:
Join Date: Apr 2004
Location: The Netherlands
Posts: 4,525
http://smart-scripts.com/?action=smartspots
__________________
Download the much improved Free Tube Script adult/mainstream tube solution for FREE!
Godsmack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 05:06 PM   #4
ruff
I have a plan B
 
ruff's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
I've posted this before. You might find it useful. It's very easy to set up and works just fine. Best of all it's free.

http://www.spyka.net/scripts/javascr...banner-rotator
__________________
CryptoFeeds
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 05:23 PM   #5
Barefootsies
Choice is an Illusion
 
Barefootsies's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Land of Obama
Posts: 42,635
:2cents

Quote:
Originally Posted by Godsmack View Post
While very simplistic, it loads fast and works like a champ.
__________________
Should You Email Your Members?

Link1 | Link2 | Link3

Enough Said.

"Would you rather live like a king for a year or like a prince forever?"
Barefootsies is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 06:23 PM   #6
Dappz
Confirmed User
 
Dappz's Avatar
 
Join Date: Dec 2009
Posts: 997
use smart script........
__________________


Hentai Artist * Draw My Anime *
HentaiLovers * hentaiG4H * ICQ : 657458
Dappz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2011, 06:26 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,214
paid smart spots
free openx
__________________
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
Old 03-06-2011, 07:34 PM   #8
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
i use this

PHP Code:
<?

$textfile ="randomfooterads.txt";



$items = file("$textfile");

$item = rand(0, sizeof($items)-1);

echo $items[$item];

?>
rotates almost anything randomly .
now click thanks button.
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 12:24 AM   #9
taken300
Confirmed User
 
taken300's Avatar
 
Industry Role:
Join Date: Oct 2009
Posts: 989
:stoned

Quote:
Originally Posted by Horny Joe View Post
I have been googeling for a banner rotator, and I find many, many. Too many, so I ask here: what to use on my TGPs? Any advice?
Photoshop work well dear..

Quote:
Originally Posted by cooldude7 View Post
i use this

PHP Code:
<?

$textfile ="randomfooterads.txt";



$items = file("$textfile");

$item = rand(0, sizeof($items)-1);

echo $items[$item];

?>
rotates almost anything randomly .
now click thanks button.

Thanks for sharing man.. Lol!! no sharing button here.. :D
taken300 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 12:51 AM   #10
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
OpenX FTW
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 02:08 AM   #11
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Taking into consideration that ad blockers are blocking scripts and even normal banner sizes (as well as openx), you need to get creative on this one if you want your banners to show.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 06:46 AM   #12
Horny Joe
Confirmed User
 
Horny Joe's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: Online
Posts: 2,661
Thank you all! I will check out bot smart scripts and the free ones. For the pages that runs on my TGPX server edt. banner rotation is included and working fine, but all other sites need something fast and trackable.
Horny Joe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 06:48 AM   #13
Horny Joe
Confirmed User
 
Horny Joe's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: Online
Posts: 2,661
Quote:
Originally Posted by CurrentlySober View Post
I use photoshop.

Open your banner and goto 'Image' in the top menu. From the drop down menu, select 'image rotation' and choose 180 degrees.

Your banner will now be rotated.



See?
Oh man,... I keep getting it wrong.... I always click CCW and THEN I am screwed...
Horny Joe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 06:55 AM   #14
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,488
Quote:
Originally Posted by Horny Joe View Post
Oh man,... I keep getting it wrong.... I always click CCW and THEN I am screwed...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 06:57 AM   #15
cherrylula
lol
 
cherrylula's Avatar
 
Industry Role:
Join Date: Jan 2002
Posts: 15,969
Quote:
Originally Posted by CurrentlySober View Post
I use photoshop.

Open your banner and goto 'Image' in the top menu. From the drop down menu, select 'image rotation' and choose 180 degrees.

Your banner will now be rotated.



See?
FUCKING AWESOME!!!

thanks for the tip. lol
cherrylula is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 07:40 AM   #16
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
I wrote one years ago, it tallies impressions in a .txt file, so when the credit runs out it only displays the current paid up advertisers. Just start the counter high for your own banners.

Not as reliable updating as SQL so just backup the rotator.txt file now and then.



This is my rotator.txt file, this goes in directory rotator with the banners.

Quote:
CREDITS BANNER URL
999999995 b1.gif www.milliondollarsurfer.com
999999994 b2.gif www.gamesandstuff.com
994 b3.gif www.belengonzalezauto.com

If you try it out let me know how it goes.


Quote:
-------------------------- ROTATOR.PHP ----------------------------


<?php


// BANNER ROTATOR V1.0
// Displays multiple advertisers banners on your site by how many credits they have
// License : Freeware
// Banners are randomly displayed from directory ROTATOR
// Credits count down and banners stop displaying when their credits are used up
// Requires your server to run PHP and your web page must have extension .php


// INSTALL
// Upload this file as rotator.php
// Create directory rotator under the directory where this script is used
// Create a text file rotator/rotator.txt
// Make the 1st line CREDITS BANNER URL
// Insert the following line where you want the banner displayed on your page
// <?php include("rotator.php"); ? >
// (no space between ? >)


//----------------------------------------------------------------------


// Example of rotator.txt


// CREDITS BANNER URL
// 90 mbannr.gif www.milliondollarhosting.com
// 95 games1.gif www.gamesandstuff.com
// 0 sharkfins.gif www.sharks.com


// If all credits are 0 then 1st banner is displayed
// For free advertising you can set default banner(s) with 999999999 credits


$strFile1 = "rotator/rotator.txt";


//-------------------------------------------------------------------------


// open for read
$objFH = fopen( $strFile1, "r" );
$strBuffer1 = fread( $objFH, filesize( $strFile1 ) );
fclose( $objFH );


// tally number of banners with credits, by counting rows in rotator.txt
$myeof = true;
$tosay = $strBuffer1;
$numbanners = -1;
while ($myeof) {


$nextret = strpos($tosay, "\n");
$say = substr($tosay, 0, $nextret);
$tosay = substr($tosay, $nextret+1);
if ($say[0] != '0') $numbanners++;
if (strpos($tosay, "\n") == 0) $myeof=false;



}


//-------------------------------------------------------------------------

// select banner and subtract 1 credit from rotator.txt
$myeof = true;
$tosay = $strBuffer1;
$checked = 0;
$selectedban = "";
$freeban = "";
$strBuffer2 = "";
while ($myeof) {


$nextret = strpos($tosay, "\n");
$say = substr($tosay, 0, $nextret);
$tosay = substr($tosay, $nextret+1);
$pcred = strpos($say, " ");
$pban = strpos($say, " ", $pcred+1);
$creds = substr($say, 0, $pcred);
$bans = substr($say, $pcred+1, $pban-$pcred-1);
$urls = substr($say, $pban+1);


// 1 chance in number-of-remaining-banners to be selected
if (($selectedban=="") && is_numeric($creds) && (rand($checked, $numbanners-1) == $checked)) {


if ($creds > 0) {
$tax = 0 - 1 + $creds;
$selectedban = $bans;
$selectedurl = $urls;
}
else {
$tax = 0;
}
$strBuffer2.= $tax . " " . $bans . " " . $urls . "\n";
if ($freeban == "" ) {
$freeban = $bans;
$freeurl = $urls;
}
}
else {
$strBuffer2.= $say . "\n";
}


if (is_numeric($creds) && ($creds>0)) $checked++;
if (strpos($tosay, "\n") == 0) $myeof=false;



}


if ($selectedban == "") {
$selectedban = $freeban;
$selectedurl = $freeurl;


}


//------------------------------------------------------------------------

// open for write
$objFH = fopen( $strFile1, "w" );
fwrite( $objFH, $strBuffer2 );
fclose( $objFH );


?>

SAMPLE USE
Quote:
<a href="http://<? echo $selectedurl; ?>"><img src="rotator/<? echo $selectedban; ?>" height=60 width=468
border=0></a>

Last edited by cam_girls; 03-07-2011 at 07:48 AM..
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 07:44 AM   #17
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by DirtyWhiteBoy View Post
Taking into consideration that ad blockers are blocking scripts and even normal banner sizes (as well as openx), you need to get creative on this one if you want your banners to show.
Just rename the folder and don't use javascript to load the ads.... I have all the blockers loaded, and all ads on my sites load perfectly fine, other than google or something like that, but all my openx ones.

Anyway.... I use openx.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 09:07 AM   #18
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by TheDoc View Post
Just rename the folder and don't use javascript to load the ads.... I have all the blockers loaded, and all ads on my sites load perfectly fine, other than google or something like that, but all my openx ones.

Anyway.... I use openx.
How are you loading OpenX without javascript?

My ad blocker is also blocking just standard banner sizes, but if I offset them by a pixel, they will show.

Have you installed the blocker database that comes with it? It's huge, blocks lots of words and sizes. Just the mention of "openx" will block an ad when I turn it on.

Please shoot me a email if you don't want to divulge in public.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 12:28 PM   #19
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by DirtyWhiteBoy View Post
How are you loading OpenX without javascript?

My ad blocker is also blocking just standard banner sizes, but if I offset them by a pixel, they will show.

Have you installed the blocker database that comes with it? It's huge, blocks lots of words and sizes. Just the mention of "openx" will block an ad when I turn it on.

Please shoot me a email if you don't want to divulge in public.
When you go to invocation codes, change the drop down from Javascript Tag to Local Mode Tag, if openx is installed on the same box you can use Local Mode which is PHP code to display your ads. No JS is a big thing to keeping the ads going...

Outside of that I rename the openx folder, to whatever.. and if I want to get picky, in the admin settings area is a place to change script names, you can change the click tracking script name to something else... that's if someone put in a custom filter though.

That should take care of any openx filters that normally hit. I haven't changed db's that I'm aware of, I'll have to check them out. But I have tried just about every plugin/extension that the various browsers offer, just to make sure the ads come up... and other then google type ads/js and flash, everything so far has worked with the above setup.
__________________
~TheDoc - ICQ7765825
It's all disambiguation

Last edited by TheDoc; 03-07-2011 at 12:29 PM..
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2011, 07:37 PM   #20
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by TheDoc View Post
When you go to invocation codes, change the drop down from Javascript Tag to Local Mode Tag, if openx is installed on the same box you can use Local Mode which is PHP code to display your ads. No JS is a big thing to keeping the ads going...

Outside of that I rename the openx folder, to whatever.. and if I want to get picky, in the admin settings area is a place to change script names, you can change the click tracking script name to something else... that's if someone put in a custom filter though.

That should take care of any openx filters that normally hit. I haven't changed db's that I'm aware of, I'll have to check them out. But I have tried just about every plugin/extension that the various browsers offer, just to make sure the ads come up... and other then google type ads/js and flash, everything so far has worked with the above setup.
This is why you're called The Doc.

I'll try this out. Thanks a million. Sounds like it just may work.
DWB 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.