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 Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 11-04-2017, 05:50 PM   #1
P_RABID
Confirmed User
 
Industry Role:
Join Date: Apr 2017
Posts: 122
Ad Rotating Script I've been using

Hey guys,

I was doing some work on my tube website and thought I'd share a great Banner Ad Rotating Script which I have been using.

Its free to use, you just place the link to your banner image, and your affiliate link you want to link too, set the ad dimensions and hit Generate.

It's a very basic script but great for self hosted JPG and GIF banner ads that you want to appear in a rotating order.

Script is here Random Banner Generator

Enjoy
P_RABID is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2017, 06:37 PM   #2
faperoni
Registered User
 
faperoni's Avatar
 
Industry Role:
Join Date: Feb 2015
Location: Amsterdam
Posts: 32
Thanks! i was looking for something like this for a client.
__________________
Faperoni and Cheese! Massage that sausage!
faperoni is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2017, 11:40 PM   #3
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 17,908
This worked nicely for me
rand_img.php

PHP Code:
function RandImg($dir) {
         
$images glob($dir '*.{jpg,jpeg,png,gif}'GLOB_BRACE);
            
$randomImage $images[array_rand($images)];

            return 
$randomImage;
                }

$ads1_image RandImg('../dir/path/toimages/'); 
use

echo "$ads1_image";
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2017, 03:44 AM   #4
bns666
Confirmed Fetishist
 
bns666's Avatar
 
Industry Role:
Join Date: Mar 2005
Location: Puta Madre Qu'est-ce que c'est?
Posts: 9,988
nice
__________________
➔ ➔ Awesome Domains for Sale ★★★★★
MAKE EA$Y MONEY WITH: STRIP CASH 🔥 CAM SODA 🔥 MY DIRTY HOBBY 🔥 CHATURBATE 🔥 WEBCAM WIZ
CRAK REVENUE 🔥 STREAMATE 🔥 X LOVE CASH 🔥 BONGA CASH 🔥 CAMS POWER 🔥 DATING FACTORY 🔥 DATING GOLD
CHEAPEST .COM/.NET DOMAINS: NAME SILO
bns666 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2017, 03:20 PM   #5
TitanWM
Confirmed User
 
TitanWM's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 111
If you want to try different Images/Banners with tracking code:

Code:
<?php

$rand = rand(1, 8); //example for 8 different images/banners
 
$ads = "<a href=\"AFFLINK?WM-ID&CAMPAIGN=CampaignName$rand\" title=\"title-text\" rel=\"nofollow\"><img src=\"/path-to-image/Image-$rand.gif\" alt=\"alt-text\" /></a>";

echo $ads;

?>
You should name the images/banners like:
Image-1
Image-2
Image-3
...
Image-8
__________________
CamSoda invite link - promote an unsatisfied cam site!
TitanWM 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

Tags
script, banner, link, rotating, hosted, jpg, basic, dimensions, hit, generate, gif, ads, enjoy, thumbsup, set, free, tube, website, share, hey, image, affiliate, guys
Thread Tools




©2000-, AVN Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.