Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
UKBL ~ Timed Rotating Ad Banners Details »
UKBL ~ Timed Rotating Ad Banners
Mod Version: 1.00, by UKBusinessLive (Designer) UKBusinessLive is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.5 Rating: (1 vote - 5.00 average) Installs: 5
Released: 16 Jan 2009 Last Update: Never Downloads: 27
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Timed Rotating Ad Banners

Live Demo http://www.ukbusinesslive.co.uk/forum

I've been wanting to display some banners on my site but i didn't just want the same banner just showing until you go to another page or hit the refresh button, Some people may stay on the forum home for quite some time, This is not the ideal way to display banners, as they'll only see the one ad in all that time.

Well thats about to change with UKBL ~ Timed Rotating Ad Banners

Now as Admin you'll be able to make some serious money by showing a wider variety of banners which change after so many seconds, as opposed to changing on refreshes.

You can sign up to a number of affiliate sites and download banners to your forums, a list of affiliate sites to help you is at the end of this post.



To install this to your forums is so easy

First you need to edit the code to suit your requirements
Copy the following code to a text editor like notepad or word


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The look for the following....


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Basically what you see is what you get, the top line is the url of your image, you can save it to forums/images/misc or even photobucket, like my example above, The second line is the url to the site, Thats its just repeat this for all the ad banners you have and write up the code. Easy. You can use 2 banners or 200 the choice is yours






Then once you've edited your banners and their URL's you need to scroll down to..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now you need to change the time delay, its in milliseconds, don't forget that, so if you want your ads to change every 10 seconds like the code above, you leave it on 10000, if you want 8 seconds, you need to change the code to 8000 in both lines, likewise 5 seconds = 5000

Then just save the file

To install to your Site.

For ease of application i've installed it in the header, right at the end, so heres what to do...

ACP> Style Manager > Your site's style > header

Just copy and paste the entire code that you've just edited and paste it at the very end of the header template, Click save. Thats its

if you experiment you can add these banners to the footer, in the posts and in different forums, Try and see what works for you the most

If you want to try the code first i've included a few banner gif's in the zipped file so you can try.

Affiliate Schemes that Pay YOU!! Some are UK based but have US section too

Commision Junction = http://www.cj.com/
Buy.at = http://buy.at/ (UK) http://www.advertising.com/buyat/ (US)

Plus loads more and details on the zip file

Give it a go and see if it works for you, remember to leave a comment and if i can help at all, i will.

If you only want to show banners to un registered members or guests then you could add a condition at the begining like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With X the id of the usergoup that you want to show the banners to, don forget the add the </if> tag at the end of the script

Please Remember to click installed

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ads.png
Views:	21
Size:	84.8 KB
ID:	92831   Click image for larger version

Name:	1.gif
Views:	11
Size:	22.1 KB
ID:	92832   Click image for larger version

Name:	4.gif
Views:	9
Size:	16.0 KB
ID:	92833   Click image for larger version

Name:	5.gif
Views:	6
Size:	11.1 KB
ID:	92834  

Click image for larger version

Name:	6.gif
Views:	5
Size:	24.8 KB
ID:	92835  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners UKBusinessLive vBulletin 3.8 Template Modifications 20 17 Apr 2010 16:19

Comments
  #2  
Old 16 Jan 2009, 16:45
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Reserved
Reply With Quote
  #3  
Old 17 Jan 2009, 15:11
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
An interesting first step. But to make it fly you really need to make it into a vb 'product'. Remember - most vb admins are not coders, so all the copy and paste stuff has to go.

Additionally, a product will reinstall itself after an update, and check for updates to itself. Nobody wants to have to re-edit templates manually every time they upgrade.

There are plenty of hooks in vb now, so where to place the ads should be as easy as a list of check boxes.
Reply With Quote
  #4  
Old 17 Jan 2009, 15:54
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by Videx View Post
An interesting first step. But to make it fly you really need to make it into a vb 'product'. Remember - most vb admins are not coders, so all the copy and paste stuff has to go.

Additionally, a product will reinstall itself after an update, and check for updates to itself. Nobody wants to have to re-edit templates manually every time they upgrade.

There are plenty of hooks in vb now, so where to place the ads should be as easy as a list of check boxes.
Thanks for the tips, I'll look into that, I'm still learning, so please bear with me, But since its a really simple add on as oppose to edit, i can't really see a problem. I saw many rotating banner ads here that are quite complexed, mine is just a simple copy and paste, easy to add, easy to take off.

Reply With Quote
  #5  
Old 10 Dec 2009, 02:14
Jeff G Jeff G is offline
 
Join Date: Mar 2008
Works great & just what I was looking for, thanks, all the others seem to be for the top header & not for placing anywhere you wanted.
Only question I have is, how do I put in a "target=_blank" statement so it opens up in a new window.

Thanks again, nice banner mod.

never mind figured it out, in your source code:

+'<A href="'+ads[ad_num].href+'"><IMG SRC="'+ads[ad_num].src+'" '

I added this & it worked fine

+'<A href="'+ads[ad_num].href+'" + target= _blank><IMG SRC="'+ads[ad_num].src+'" '

Last edited by Jeff G; 10 Dec 2009 at 02:37.
Reply With Quote
  #6  
Old 14 Jan 2011, 20:55
lfreem2 lfreem2 is offline
 
Join Date: Jul 2010
This works well.

Instead of putting this in the header, how would one put it just below the header, but right above the forums?
Reply With Quote
  #7  
Old 20 Jan 2011, 18:55
Mellumen Mellumen is offline
 
Join Date: Jan 2011
You can put it in template called "navbar"
Reply With Quote
  #8  
Old 05 Oct 2012, 02:16
lfreem2 lfreem2 is offline
 
Join Date: Jul 2010
How can I code this to have two banners appear side by side instead of just a single one?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:51.

Layout Options | Width: Wide Color: