Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Mini Mods - Rotating Banners in your Navbar
Reply
Page 2 of 4 < 1 2 34 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported (Beta Mode)
[vB 3.6.0 RC 2] Mini Mods - Rotating Banners in your Navbar (299)
Released: 07-30-2006, 12:30 AM
Modification Information: Version: 1.0.1
Redline's Avatar Author: Redline
Last Online: 12-25-2009
Demo: View Online Demo!
Installer Included: 0 Additional queries added to database: 0 Template Edits: 1
File Edits: New Files: New Phrases:

Plugin
A quick and easy mod that will add an area for rotating your advertisers banners. This mod works for vBulletin version 3.6.0 Gold and I will support it as much as I can. Also open to suggestions.





Old 08-26-2006, 03:13 PM   #11
marinefiend
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss11
marinefiend is on a distinguished road
Status: Offline Default
This works great, and actuall better when you place it under the navbar.

Look for <!-- / nav buttons bar --> and place the <!-- Banner Rotator by Redline --> under this it will add it underneath your last navbar.

But one thing I would like is to get it to center. Any idea on that?
Reply With Quote Installed
Old 08-26-2006, 03:37 PM   #12
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
use:
PHP Code:
<!-- Banner Rotator by Redline -->
<
td class="alt2">
<
SCRIPT LANGUAGE="Javascript"><!-- 
function 
banner() { 
}; 
banner = new banner(); 
number = 0; 
 
// bannerArray 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>" 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
 
increment = Math.floor(Math.random() * number); 
document.write(banner[increment]); 
//--></SCRIPT>
</td>    
<!-- 
End Banner Rotator by Redline -->] 
There is one problem with it though, if a user has js disabled then your kind of doomed, especially when you can do this using php...
Reply With Quote
Old 08-26-2006, 09:03 PM   #13
marinefiend
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss11
marinefiend is on a distinguished road
Status: Offline Default
If I knew PHP I would love to but I know nothing about PHP

And now all I am getting is ] where the banner should be
Reply With Quote Installed
Old 08-26-2006, 09:04 PM   #14
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
hmm, maybe i should post my php version... Can you pm me with the number of banners you want and the code for the indiviual banner.
Reply With Quote
Old 08-26-2006, 09:07 PM   #15
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
PHP Code:
<!-- Banner Rotator by Redline -->
<
td class="alt2">
<
SCRIPT LANGUAGE="Javascript"><!-- 
function 
banner() { 
}; 
banner = new banner(); 
number = 0; 
 
// bannerArray 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>" 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
 
increment = Math.floor(Math.random() * number); 
document.write(banner[increment]); 
//--></SCRIPT>
</td>    
<!-- 
End Banner Rotator by Redline -->] 
take out that ] at the very end

Make it:

PHP Code:
<!-- Banner Rotator by Redline -->
<
td class="alt2">
<
SCRIPT LANGUAGE="Javascript"><!-- 
function 
banner() { 
}; 
banner = new banner(); 
number = 0; 
 
// bannerArray 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>" 
banner[number++] = "<div align="center"><a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a></div>"
 
increment = Math.floor(Math.random() * number); 
document.write(banner[increment]); 
//--></SCRIPT>
</td>    
<!-- 
End Banner Rotator by Redline --> 
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers

Last edited by Michael Biddle; 08-26-2006 at 09:10 PM.
Reply With Quote
Old 08-26-2006, 09:09 PM   #16
marinefiend
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss11
marinefiend is on a distinguished road
Status: Offline Default
I wonder if this will work as a block on CMPS?
Reply With Quote Installed
Old 08-26-2006, 09:15 PM   #17
marinefiend
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss11
marinefiend is on a distinguished road
Status: Offline Default
Not that I am blind or anything but I never even saw the <!-- End Banner Rotator by Redline -->]

Testing
Reply With Quote Installed
Old 08-26-2006, 09:17 PM   #18
marinefiend
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss11
marinefiend is on a distinguished road
Status: Offline Default
And no - now a no show
Reply With Quote Installed
Old 08-26-2006, 09:20 PM   #19
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
ok, i sent you the php script for it , it works already on a tested site, pm me for the link.
Reply With Quote
Old 08-26-2006, 09:21 PM   #20
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
i know i was just getting rid of the ] for ya roger has ur fix
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote

Reply
Page 2 of 4 < 1 2 34 >

« Tic Tac Toe Game | Not Your Normal Marquee System »

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules



All times are GMT. The time now is 05:44 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!