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 > >
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 01-12-2011, 12:42 PM   #1
DeanCapture
Haters & Trolls SUCK!
 
DeanCapture's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles, CA
Posts: 9,275
Banner Script for vBulletin :::

I'm looking for a rotating banner script for vBulletin.

Any suggestions?
__________________
Twitter: @DeanCapture
Instagram: @TheDeanCapture
DeanCapture "at" Gmail.com
DeanCapture is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2011, 12:44 PM   #2
Deej
I make pixels work
 
Deej's Avatar
 
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
yea, php...

is it a simple rotator, or do you need stats n such?
__________________

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 01-12-2011, 12:47 PM   #3
DeanCapture
Haters & Trolls SUCK!
 
DeanCapture's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles, CA
Posts: 9,275
Quote:
Originally Posted by Deej View Post
yea, php...

is it a simple rotator, or do you need stats n such?
Don't need stats. Just need it to rotate the banners and when someone clicks on a banner, they're taken to that site. Can you email me the info? Contact is in my sig.

Thanks Deej!!!
__________________
Twitter: @DeanCapture
Instagram: @TheDeanCapture
DeanCapture "at" Gmail.com
DeanCapture is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2011, 12:48 PM   #4
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 DeanCapture View Post
Don't need stats. Just need it to rotate the banners and when someone clicks on a banner, they're taken to that site. Can you email me the info? Contact is in my sig.

Thanks Deej!!!
will do...

its rather easy to implement.
__________________

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 01-12-2011, 12:50 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,248
text file and 1 php file would do ;)
__________________
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 01-12-2011, 12:52 PM   #6
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 fris View Post
text file and 1 php file would do ;)
right, if you want to rotate on numerous pages then add the text file so its easily changeable across the sites...
__________________

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 01-12-2011, 01:21 PM   #7
Adraco
Confirmed User
 
Adraco's Avatar
 
Industry Role:
Join Date: May 2009
Location: Onboard an airplane around the globe
Posts: 3,733
^^ What they have already mentioned is absolutely easiest.

If you need stats and stuff, and will edit often, do look into Smart Spots, from Smart-scripts.com (smart thumbs and smart tube and so on). Easy to add and remove and allows for easy handling accross multiple domains and stuff. But that might be a bit more than you're asking for. But for $50, for an easy, out of the box ready solution, I think it's very fair.
__________________
----------------------------------------------------------------------------------
The truth is not affected by the beliefs, or doubts, of the majority.
Adraco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2011, 02:47 PM   #8
onedree
So Fucking Banned
 
Industry Role:
Join Date: Nov 2005
Location: Excercist image strickly for Halloween :=)
Posts: 633
Extremely simple :

Code:
<script type="text/javascript">
<!-- Begin
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
	var result = Math.ceil(rnd()*number);
	if (!result)result++;
        return result
};
var ad_cnt1 = 2;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="URL HERE";
adBanner1="Banner image here";
width1="500";
height1="149";
alt1="Alt info here";
}
if (ad1==2) {
link2="URL HERE";
adBanner1="Banner image here";
width1="500";
height1="149";
alt1="Alt info here";
}
document.write('<center><a href="' + link1 + '" target="_blank">');
document.write('<img src="' + adBanner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</SCRIPT>

Simply rewrite the (ad1==1) to (ad1==2) / (ad1==3)
and change the 'var ad_cnt1 = 2; ' to however many banners you decide to rotate.

Styles and Templets
Styles Manager
Common Templates / Header

Sincerely
Deidre

Last edited by onedree; 01-12-2011 at 02:53 PM..
onedree 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
Thread Tools



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.